Data object representing a set of Game data. This is immutable, and therefore safe to cache or store. Note, however, that the data it represents may grow stale.
This class exists solely to support parceling these objects and should not be used directly.
| public static final Creator<GameEntity> | CREATOR |
| boolean |
areSnapshotsEnabled()
Indicates whether or not this game supports snapshots.
|
| boolean | |
| Game |
freeze()
|
| int |
getAchievementTotalCount()
Retrieves the number of achievements registered for this game.
|
| String |
getApplicationId()
Retrieves the application ID for this game.
|
| String |
getDescription()
Retrieves the description of this game.
|
| void |
getDescription(CharArrayBuffer
dataOut)
Loads the description string into the given
CharArrayBuffer.
|
| void | |
| String |
getDeveloperName()
Retrieves the name of the developer of this game.
|
| void |
getDisplayName(CharArrayBuffer
dataOut)
Loads the display name string into the given
CharArrayBuffer.
|
| String |
getDisplayName()
Retrieves the display name for this game.
|
| Uri |
getFeaturedImageUri()
Retrieves an image URI that can be used to load the game's featured (banner)
image from Google Play.
|
| Uri |
getHiResImageUri()
Retrieves an image URI that can be used to load the game's hi-res image.
|
| Uri |
getIconImageUri()
Retrieves an image URI that can be used to load the game's icon.
|
| int |
getLeaderboardCount()
Gets the number of leaderboards registered for this game.
|
| String |
getPrimaryCategory()
Retrieves the primary category of the game - this is may be null.
|
| String |
getSecondaryCategory()
Retrieves the secondary category of the game - this may be null.
|
| String |
getThemeColor()
Retrieves the theme color for this game.
|
| boolean |
hasGamepadSupport()
Indicates whether or not this game is marked as supporting gamepads.
|
| int |
hashCode()
|
| boolean | |
| String |
toString()
|
| void |
writeToParcel(Parcel dest, int
flags)
|
Indicates whether or not this game supports snapshots.
Retrieves the number of achievements registered for this game.
Retrieves the application ID for this game.
Retrieves the description of this game.
Loads the description string into the given CharArrayBuffer.
| dataOut | The buffer to load the data into. |
|---|
Loads the developer name into the given CharArrayBuffer.
| dataOut | The buffer to load the data into. |
|---|
Retrieves the name of the developer of this game.
Loads the display name string into the given CharArrayBuffer.
| dataOut | The buffer to load the data into. |
|---|
Retrieves the display name for this game.
Retrieves an image URI that can be used to load the game's featured (banner) image from Google Play. Returns null if game has no featured image.
To retrieve the Image from the Uri, use
ImageManager.
Retrieves an image URI that can be used to load the game's hi-res image. Returns null if game has no hi-res image.
To retrieve the Image from the Uri, use
ImageManager.
Retrieves an image URI that can be used to load the game's icon. Returns null if game has no icon.
To retrieve the Image from the Uri, use
ImageManager.
Gets the number of leaderboards registered for this game.
Retrieves the primary category of the game - this is may be null.
Retrieves the secondary category of the game - this may be null.
Retrieves the theme color for this game. The theme color is used to configure the appearance of Play Games UIs.
Indicates whether or not this game is marked as supporting gamepads.