Skip to main content

SetProvision

AndroidiOSWindows
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

ParameterTypeDescription
user_agreed_game_tosstringVersion of the Terms of Service the player agreed to, pass null if player does not agree
user_agreed_game_ppstringVersion of the Privacy Policy the player agreed to, pass null if player does not agree
user_agreed_li_ppstringVersion of the LEVEL INFINITE PASS Privacy Policy the player agreed to, pass null if player does not agree
user_agreed_li_dtstringVersion of the Data Transfer agreement the player agreed to, pass null if player does not agree
user_agreed_li_tosstringVersion of the LEVEL INFINITE PASS Terms of Service the player agreed to, pass null if player does not agree
is_recv_emailintWhether 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();