Stay organized with collections Save and categorize content based on your preferences.

InAppMessageResult

public final class InAppMessageResult
extends Object

java.lang.Object
   ↳ com.android.billingclient.api.InAppMessageResult
Included in documentation by the annotations: @Annotations.InAppMessaging

Results related to in-app messaging.

Summary

Nested classes

@interface InAppMessageResult.InAppMessageResponseCode

Possible response codes.  Included in documentation by the annotations: @Annotations.InAppMessaging

Public methods

String getPurchaseToken()

Returns token that identifies the purchase to be acknowledged, if any.

int getResponseCode()

Returns response code for the in-app messaging API call.

Inherited methods

Public methods

getPurchaseToken

public String getPurchaseToken ()

Returns token that identifies the purchase to be acknowledged, if any.

For example, the purchase token will be returned to uniquely identify the subscription that has been recovered through in-app messaging.

Returns
String

getResponseCode

public int getResponseCode ()

Returns response code for the in-app messaging API call.

Returns
int