ModifyLegalDocumentsAcceptedVersion
AndroidiOSWindows
If you were looking for the method for use with Unreal Engine, see ModifyLegalDocumentsAcceptedVersion for Unreal Engine SDK.
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
Name | Type | Description |
---|---|---|
version | string | Legal 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 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. |