Skip to main content

Set Provision

AndroidiOSWindows
If you are using Unreal Engine, see Unreal Engine SDK's SetProvision.

Save the version of legal terms agreed by the player.Call this interface when the OpenID is generated upon login and the player checks all legal terms.

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)

Parameter Instructions

ParametersTypeExplanation
user_agreed_game_tosStringVersion of the service terms agreed by the player, if not agreed, pass an empty value.
user_agreed_game_ppStringVersion of the privacy policy agreed by the player, if not agreed, pass an empty value.
user_agreed_li_ppStringVersion of the LEVEL INFINITE PASS privacy policy agreed by the player, if not agreed, pass an empty value.
user_agreed_li_dtStringVersion of the data transfer policy agreed by the player, if not agreed, pass an empty value.
user_agreed_li_tosstringVersion of the LEVEL INFINITE PASS service terms agreed by the player, if not agreed, pass an empty value.
is_recv_emailintWhether to receive marketing emails

Observers

The callback interface is AuthAccountResultObserver.The callback data structure is AccountResult.

The callback method ID is INTL_AUTH_SET_PROVISION.

Code example

LevelInfinite.GetLIUidAndTokenForAdultCert();