Modify Data Protection Acceptance [Player Network SDK Only]
Modify Player Network SDK user data protection information [Player Network SDK Only].
note
Contact the Player Network assistant before integration.
Supported Platforms
- 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
| Parameters | Type | Description |
|---|---|---|
| tos_ver | string | Terms of Service version number |
| pp_ver | string | Privacy Policy version number |
| Parameters | Type | Description |
|---|---|---|
| tos_version | std::string | Terms of Service version number |
| pp_version | std::string | Privacy Policy version number |
Callback Handling
The callback handling interface is GUAAccountResultObservers.The callback data structure is GUAAccountResult.
- Unity
- Unreal Engine
Callback event is AccountEvents. Callback ID is GUA_ACCOUNT_MODIFY_DATA_PROTECTENTION_ACCEPTANCE.
Callback event is OnAccountResultNotify. Callback ID is kMethodIDAccountModifyDataProtectionAcceptance.
Code Example
- Unity
- Unreal Engine
UnionAdapterAPI.GetAccountService().ModifyDataProtectionAcceptance("0.1", "0.1");
GUA_NAMESPACE::GUAAccountService::ModifyDataProtectionAcceptance("0.1","0.1");