ModifyDataProtectionAcceptance [Player Network SDK Only]
[Player Network SDK Only] Modifies Player Network SDK user data protection information.
note
Please reach out to the Player Network representative before using the API.
Supported Platform
- Unity
- Unreal Engine
Supports
Android, iOS, Windows
platform.Supports
Android, iOS, Windows
platform.Function Definition
- Unity
- Unreal Engine
void ModifyDataProtectionAcceptance(string tos_ver, string pp_ver);
static void ModifyDataProtectionAcceptance(const std::string &tos_version, const std::string &pp_version);
Input Parameters
- Unity
- Unreal Engine
Parameter | Type | Description |
---|---|---|
tos_ver | string | Terms of Service version |
pp_ver | string | Privacy Policy version |
Parameter | Type | Description |
---|---|---|
tos_version | std::string | Terms of Service version |
pp_version | std::string | Privacy Policy version |
Callback Processing
The callback processing API is GUAAccountResultObservers. The callback data structure is GUAAccountResult.
- Unity
- Unreal Engine
The callback event is AccountEvents
.
The callback methodID is GUA_ACCOUNT_MODIFY_DATA_PROTECTION_ACCEPTANCE
.
The callback event is OnAccountResultNotify
.
The callback methodID is kMethodIDAccountModifyDataProtectionAcceptance
.
Code Sample
- Unity
- Unreal Engine
UnionAdapterAPI.GetAccountService().ModifyDataProtectionAcceptance("0.1", "0.1");
GUA_NAMESPACE::GUAAccountService::ModifyDataProtectionAcceptance("0.1","0.1");