ModifyLegalDocumentsAcceptedVersion
AndroidiOSWindows
If you were looking for the method for use with Unity, see ModifyLegalDocumentsAcceptedVersion for Unity SDK.
If you were looking for the method for use with Unity, see ModifyLegalDocumentsAcceptedVersion for Unity SDK.
Modifies the current user's legal document acceptance version.
note
Please reach out to the Player Network representative before using the API.
Function definition
UFUNCTION(BlueprintCallable, Category = "INTLSDKAPI")
public static bool ModifyDataProtectionAcceptance(const FString& acceptedVersions);
Input parameters
Name | Type | Description |
---|---|---|
acceptedVersions | FString | Legal document version information |
Observers
The callback processing interface is AuthBaseResultObserver. The callback data structure is BaseResult.
The callback methodID is kMethodIDAuthModifyLegalDocuments
.
Code sample
UINTLSDKAPI::ModifyLegalDocumentsAcceptedVersion("0.1");
Error code
Error code | Description |
---|---|
1004 | Invalid format, legal file data size exceeds the maximum. Default maximum is 1000 bytes, which can be configured on the backend. |
1810 | Legal file does not exist. |
1811 | Current game does not support legal files. |