API reference

InAppMessageResult Class

Modifiers: final
Results related to in-app messaging.
The equivalent Google Play Billing Library class can be found at the Android developer documentation for InAppMessageResult.

Signature

data class InAppMessageResult(val purchaseToken: String, val responseCode: Int)

Constructors

InAppMessageResult ( purchaseToken , responseCode )
Signature
constructor(purchaseToken: String, responseCode: Int)
Parameters
purchaseToken: String
  The token that identifies the purchase to be acknowledged, if any.
responseCode: Int
  The response code for the in-app messaging API call.

Properties

purchaseToken : String
[Get]
The token that identifies the purchase to be acknowledged, if any.
Signature
val purchaseToken: String
responseCode : Int
[Get]
The response code for the in-app messaging API call.
Signature
val responseCode: Int

Inner Annotation

InAppMessageResponseCode Annotation

Possible response codes.

Signature

annotation class InAppMessageResponseCode

Constructors

InAppMessageResponseCode ()
Signature
constructor()
Returns
InAppMessageResult.InAppMessageResponseCode

Companion Object

Companion Object Properties
NO_ACTION_NEEDED : Int
[Get]
The flow has finished and there is no action needed from developers.
Signature
const val NO_ACTION_NEEDED: Int = 0
SUBSCRIPTION_STATUS_UPDATED : Int
[Get]
The subscription status changed.
Signature
const val SUBSCRIPTION_STATUS_UPDATED: Int = 1
Did you find this page helpful?