ComplianceInitWithParams
AndroidiOSWindows
If you were looking for the method for use with Unreal Engine, see ComplianceInitWithParams for Unreal Engine SDK.
If you were looking for the method for use with Unreal Engine, see ComplianceInitWithParams for Unreal Engine SDK.
Set user login state and configuration information, supports iTOP/MSDKV5/Player Network SDK accounts.
Function definition
public static bool ComplianceInitWithParams(string gameID, string openID, string token, int channelID, string langType)
Input parameters
Name | Type | Description |
---|---|---|
gameID | string | Game ID configuration of iTOP/MSDKV5/Player Network SDK, obtained from the configuration file |
openID | string | OpenID for iTOP/MSDK/Player Network SDK, obtained from loginresult or authresult |
token | string | Token for iTOP/MSDK/Player Network SDK, obtained from loginresult or authresult |
channelID | int | Channel ID for iTOP/MSDK/Player Network SDK, obtained from loginresult or authresult |
langType | string | Language used when sending emails and SMS messages Follows RFC 4646 format, such as en for English, see Language Type Definition for details |
Return value
- Returns
true
if user profile is valid - Returns
false
if user profile is invalid
Code sample
bool succ = INTLAPI.ComplianceInitWithParams(gameID, openID, token, channelID, langType);