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.

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2024年02月27日 UTC.