目录

The ArchiveSummary class returns the metadata of an archive, such as description of an archive.

Public Method Summary

Return

Method

abstract float

getThumbnailRatio()

Obtains the cover image aspect ratio of an archive.

abstract String

getDescInfo()

Obtains the description of an archive.

abstract GameSummary

getGameSummary()

Obtains the basic game information associated with an archive.

abstract long

getRecentUpdateTime()

Obtains the timestamp when an archive was last modified.

abstract Player

getGamePlayer()

Obtains the player information associated with an archive.

abstract long

getActiveTime()

Obtains the played time of an archive.

abstract long

getCurrentProgress()

Obtains the progress value of an archive.

abstract String

getId()

Obtains the ID of an archive.

abstract String

getFileName()

Obtains the unique file name of an archive.

abstract boolean

hasThumbnail()

Checks whether an archive has a cover thumbnail.

Public Methods

public abstract String getThumbnailRatio()

Obtains the cover image aspect ratio of an archive.

Return Values

Type

Description

float

Cover image aspect ratio of an archive.

public abstract String getDescInfo()

Obtains the description of an archive.

Return Values

Type

Description

String

Description of an archive.

public abstract GameSummary getGameSummary()

Obtains the basic game information associated with an archive.

Return Values

Type

Description

GameSummary

GameSummary object that contains the basic game information associated with an archive.

public abstract long getRecentUpdateTime()

Obtains the timestamp when an archive was last modified.

Return Values

Type

Description

long

Timestamp when an archive was last modified.

public abstract Player getGamePlayer()

Obtains the player information associated with an archive.

Return Values

Type

Description

Player

Player object that contains player information, excluding getPlayerSign and getSignTs.

public abstract long getActiveTime()

Obtains the played time of an archive.

Return Values

Type

Description

long

Played time of an archive. Define the time when submitting an archive.

public abstract long getCurrentProgress()

Obtains the progress value of an archive.

Return Values

Type

Description

long

Progress value of an archive. Define the value when submitting an archive.

public abstract String getId()

Obtains the ID of an archive.

Return Values

Type

Description

String

ID of an archive, which is generated by Huawei game server.

public abstract String getFileName()

Obtains the unique file name of an archive.

Return Values

Type

Description

String

Unique file name of an archive, that is, the name of the locally saved file. The name is generated by Huawei game server.

public abstract boolean hasThumbnail()

Checks whether an archive has a cover thumbnail.

Return Values

Type

Description

boolean

Indicates whether an archive has a cover thumbnail.

  • true:Yes.

  • false:No.