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

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