API reference

IapStatusCode Enum

IapStatusCode represents the set of status codes returned by the iap API.

Signature

enum IapStatusCode : Enum<IapStatusCode> 

Enumeration Constants

MemberDescription
Success
The operation completed successfully. This is a common status code. It can be returned by any Platform SDK method.
InternalError
An internal error occurred. This is a common status code. It can be returned by any Platform SDK method.
NotInitialized
The platform is not initialized. This is a common status code. It can be returned by any Platform SDK method.
EntitlementFailure
Entitlement check failed. This is a common status code. It can be returned by any Platform SDK method.
RateLimitExceeded
Rate limit exceeded. This is a common status code. It can be returned by any Platform SDK method.
Forbidden
Feature is disabled for the current user. This is a common status code. It can be returned by any Platform SDK method.
NetworkUnavailable
No network connection available. This is a common status code. It can be returned by any Platform SDK method.
ProviderUnknownError
Unknown error. This is a common status code. It can be returned by any Platform SDK method.
ProviderFeatureNotEnabled
Feature is disabled for the current user. This is a common status code. It can be returned by any Platform SDK method.
ProviderOperationNotSupported
Operation is not supported. This is a common status code. It can be returned by any Platform SDK method.
ProviderInitializationFailed
Failed to initialize provider. This is a common status code. It can be returned by any Platform SDK method.
ProviderGraphApiError
Graph API error. This is a common status code. It can be returned by any Platform SDK method.
IapCheckoutFailure
Checkout failure error. This error occurs when the IAP checkout process fails.
IapGetViewerPurchasesFailure
Get viewer purchases failure error. This error occurs when retrieving the viewer's purchase history fails.
IapPurchasesUnknownHostException
Unknown host exception error. This error occurs when a network request encounters an unknown host.
IapPurchasesInternalError
Internal error. This error occurs when an internal error happens during IAP operations.
IapPurchasesAuthenticationException
Authentication exception error. This error occurs when there is an authentication failure during IAP operations.
IapPurchasesPackagesNotInLibraryException
Packages not in library exception error. This error occurs when the requested packages are not found in the library.

Properties

value : Int
[Get]
Signature
val value: Int