Skip to main content

ModifyLegalDocumentsAcceptedVersion

AndroidiOSWindows
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

NameTypeDescription
acceptedVersionsFStringLegal 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 codeDescription
1004Invalid format, legal file data size exceeds the maximum.
Default maximum is 1000 bytes, which can be configured on the backend.
1810Legal file does not exist.
1811Current game does not support legal files.