The ArchiveConstants class defines APIs related to archives, for example, APIs for submitting and deleting archives.
类型 | 常量 | 说明 |
String | Constant returned when a player views a saved game on the saved game list screen of HUAWEI AppAssistant. | |
String | Constant returned when a player adds a saved game on the saved game list screen of HUAWEI AppAssistant. | |
int | Constant for setting the conflict resolution policy as no conflict resolution. | |
int | Constant for setting the conflict resolution policy as automatic resolution by Huawei game server based on the played time. | |
int | Constant for setting the conflict resolution policy as automatic resolution by Huawei game server based on the progress. | |
int | Constant for setting the conflict resolution policy as automatic resolution by Huawei game server based on the last modified time. |
Constant returned when a player views a saved game on the saved game list screen of HUAWEI AppAssistant.
You can use the getParcelableExtra(ArchiveConstants.ARCHIVE_SELECT) method of the Intent object to obtain the bundle object corresponding to the saved game selected by a player.
Constant returned when a player adds a saved game on the saved game list screen of HUAWEI AppAssistant.
Constant for setting the conflict resolution policy as no conflict resolution.
Constant value: -1
Constant for setting the conflict resolution policy as automatic resolution by Huawei game server based on the played time.
Constant value: 1
Constant for setting the conflict resolution policy as automatic resolution by Huawei game server based on the progress.
Constant value: 2
Constant for setting the conflict resolution policy as automatic resolution by Huawei game server based on the last modified time.
Constant value: 3