ArchivesClient class abstract

Provides APIs for archive management, for example, APIs for submitting and deleting archives.

Constructors

ArchivesClient()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

addArchive(ArchiveDetails details, ArchiveSummaryUpdate update, bool isSupportCache) Future<ArchiveSummary>
Submits an archive.
getArchiveSummaryList(bool isRealTime) Future<List<ArchiveSummary>>
Obtains all archive data.
getLimitDetailsSize() Future<int>
Obtains the maximum size of an archive file allowed by Huawei game server.
getLimitThumbnailSize() Future<int>
Obtains the maximum size of an archive cover file allowed by Huawei game server.
getThumbnail(String archiveId) Future<Int8List>
Obtains the cover data of a specified archive.
loadArchiveDetails({ArchiveSummary? summary, String? archiveId, int? diffStrategy}) Future<OperationResult>
Reads archive data.
removeArchive(ArchiveSummary summary) Future<String>
Deletes an archive.
showArchiveListIntent(String title, bool allowAddButton, bool allowDeleteButton, int maxArchive) Future<void>
Launches the Intent for the saved game list page.
updateArchive(Archive archive) Future<OperationResult>
Resolves a data conflict by passing an archive object.
updateArchiveByData(String archiveId, ArchiveSummaryUpdate update, ArchiveDetails archiveDetails) Future<OperationResult>
Resolves a data conflict by passing archive data.