Please Select Your Location

Thailand
Australia
Österreich
België
Canada
Canada - Français
中国
Česká republika
Denmark
Deutschland
France
HongKong
Iceland
India
Ireland
Italia
日本
Korea
Latvija
Lietuva
Lëtzebuerg
Malaysia
Malta
Mexico
Nederland
New Zealand
Norge
Polska
Portugal
Russia
Saudi Arabia
Singapore
Southeast Asia
España
Suisse
Suomi
Sverige
台灣
Ukraine
United Kingdom
United States
Việt Nam
المملكة العربية السعودية (Arabic)

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