Skip to main content

ModifyLegalDocumentsAcceptedVersion

AndroidiOSWindows
If you were looking for the method for use with Unreal Engine, see ModifyLegalDocumentsAcceptedVersion for Unreal Engine 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​

public static void ModifyLegalDocumentsAcceptedVersion(string version);

Input parameters​

NameTypeDescription
versionstringLegal document version information

Observers​

The callback processing interface is AuthBaseResultObserver. The callback data structure is BaseResult.

The callback methodID is INTL_AUTH_MODIFY_LEGAL_DOCUMENTS.

Code sample​

INTLAPI.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 in the backend.
1810Legal file does not exist.
1811Current game does not support legal files.