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 |
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2023-05-10 UTC.