Skip to main content

Modify legal document version information (ModifyLegalDocumentsAcceptedVersion)

AndroidiOSWindows
If you're using Unreal Engine, see the ModifyLegalDocumentsAcceptedVersion for Unreal Engine SDK.

Modify legal document version information.

note

Before access, please first contact Player Network Assistant.

Function Definition

public static void ModifyLegalDocumentsAcceptedVersion(string version);

Input Parameters

NameTypeExplanation
versionStringLegal document version information

Observers

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

The callback ID is INTL_AUTH_MODIFY_LEGAL_DOCUMENTS.

Code sample

INTLAPI.ModifyLegalDocumentsAcceptedVersion("0.1");

Error Codes

Error Code ListDescription
1004Format error, the size of legal document data exceeds the allowed maximum.
Default maximum is 1000 bytes, configurable by the backend.
1810Legal document does not exist.
1811The current business does not support legal documents.