Functions for Unity
GetUserStatus()
SubscriptionStatus GetUserStatus();
Returns:
SubscriptionUserStatus
Retrieves subscription status and subscription type.
Typedef
SubscriptionUserStatus
Name | Type | Description |
platforms | enum | End user’s platform |
Type | enum | End user’s payment status |
Used by
GetUserStatus()
to retrieve end user subscription status in Unity for the Subscription API.
Enums
Platforms
Value | Name | Description |
0 | Windows | End user is a Windows user |
1 | Android | End user is an Android user |
Type
Value | Name | Description |
0 | UNKNOWN | End user is not a paid subscriber |
1 | PAID | User is a paid subscriber |
2 | REDEEM | User’s subscription from redeemed code |
3 | FREE_TRIAL | User has a subscription via a free trial |