SetProvision
AndroidiOSWindows
If you were looking for the method for use with Unreal Engine, see SetProvision for Unreal Engine SDK.
If you were looking for the method for use with Unreal Engine, see SetProvision for Unreal Engine SDK.
Save version of the terms a player agrees to. After logging in to generate OpenID, check the terms and call this API.
Function definition
public static void SetProvision(string user_agreed_game_tos,
string user_agreed_game_pp,
string user_agreed_li_pp,
string user_agreed_li_dt,
string user_agreed_li_tos,
int is_recv_email)
Input parameters
Parameter | Type | Description |
---|---|---|
user_agreed_game_tos | string | Version of the Terms of Service the player agreed to, pass null if player does not agree |
user_agreed_game_pp | string | Version of the Privacy Policy the player agreed to, pass null if player does not agree |
user_agreed_li_pp | string | Version of the LEVEL INFINITE PASS Privacy Policy the player agreed to, pass null if player does not agree |
user_agreed_li_dt | string | Version of the Data Transfer agreement the player agreed to, pass null if player does not agree |
user_agreed_li_tos | string | Version of the LEVEL INFINITE PASS Terms of Service the player agreed to, pass null if player does not agree |
is_recv_email | int | Whether to receive marketing emails |
Observers
The callback processing interface is AuthAccountResultObserver. The callback data structure is AccountResult.
The callback methodID is INTL_AUTH_SET_PROVISION
.
Code sample
LevelInfinite.GetLIUidAndTokenForAdultCert();