Modify legal document version information (ModifyLegalDocumentsAcceptedVersion)
AndroidiOSPC
If you are using the Unity engine, please refer to ModifyLegalDocumentsAcceptedVersion for the Unity SDK.
Modifies the current user's legal document acceptance version
note
Before access, please first contact Player Network Assistant.
Function definition
UFUNCTION(BlueprintCallable, Category = "INTLSDKAPI")
public static bool ModifyDataProtectionAcceptance(const FString& acceptedVersions);
Input Parameters
| Name | Type | Explanation |
|---|---|---|
| acceptedVersions | FString | Legal document version information |
Observers
The callback handler interface is AuthBaseResultObserver.The callback data structure is BaseResult.
Callback ID is kMethodIDAuthModifyLegalDocuments.
Code sample
UINTLSDKAPI::ModifyLegalDocumentsAcceptedVersion("0.1");
Error Codes
| Error Code List | Explanation |
|---|---|
| 1004 | Format error, the size of legal document data exceeds the allowed maximum. Default maximum is 1000 bytes, configurable by the backend. |
| 1810 | Legal document does not exist. |
| 1811 | The current business does not support legal documents. |