IapSignOut

data class IapSignOut

Provides data required for prompting a user for an IAP sign out. Once a user has completed a sign-out prompt, the IAP sign out is completed by calling complete or cancel depending on the result of the sign-out prompt.

Since

200.8.0

See also

Properties

Link copied to clipboard

the IapConfiguration associated with this IAP sign out

Link copied to clipboard

the URL used to launch an IAP sign out page in a browser

Functions

Link copied to clipboard
fun cancel(exception: Exception? = null)

Cancels the IAP sign-out process. This method should be called if the user cancels the sign-out process or if an error occurs.

Link copied to clipboard
fun complete(result: Boolean)

Completes an IAP sign-out with a result obtained from an IAP sign-out prompt. The result must be a boolean indicating whether the sign-out was successful. If the sign-out process fails to obtain a valid result, call cancel instead.