InAppMessageResult

public final class InAppMessageResult
extends Object

java.lang.Object
   ↳ com.android.billingclient.api.InAppMessageResult


Results related to in-app messaging.

Summary

Nested classes

@interface InAppMessageResult.InAppMessageResponseCode

Possible response codes. 

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