StoreSubscriptionInfoStatus¶
Inherits: RefCounted < Object
Describes the status of a subscription in a subscription group.
Description¶
This class wraps StoreKit’s subscription status information, including renewal state, verified renewal info, and the latest verified transaction.
Properties¶
|
||
int |
|
|
|
Enumerations¶
enum RenewalState: 🔗
RenewalState UNKNOWN = 0
The renewal state is unknown or not available.
RenewalState EXPIRED = 1
The subscription has expired.
RenewalState SUBSCRIBED = 2
The subscription is currently active.
RenewalState IN_BILLING_RETRY_PERIOD = 3
The subscription is in the billing retry period after a failed renewal.
RenewalState IN_GRACE_PERIOD = 4
The subscription is in the grace period after a failed renewal.
RenewalState REVOKED = 5
The subscription was revoked by Apple.
Property Descriptions¶
StoreSubscriptionInfoRenewalInfo renewal_info = null 🔗
StoreSubscriptionInfoRenewalInfo get_renewal_info()
Verified renewal info for the subscription, or null if it is missing or unverified.
int state = 0 🔗
int get_state()
The current renewal state. Use the RenewalState constants.
StoreTransaction transaction = null 🔗
StoreTransaction get_transaction()
The latest verified transaction for the subscription, or null if it is missing or unverified.