InAppMessageResult

public final class InAppMessageResult


Results related to in-app messaging.

Summary

Nested types

@Retention(value = java.lang.annotation.RetentionPolicy.SOURCE)
public annotation InAppMessageResult.InAppMessageResponseCode

Possible response codes.

Public methods

String

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

int

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

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.

getResponseCode

public int getResponseCode()

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