Known Indirect Subclasses |
Data interface for retrieving game information.
Inherited Constant Summary
Public Method Summary
abstract boolean |
areSnapshotsEnabled()
Indicates whether or not this game supports snapshots.
|
abstract int |
getAchievementTotalCount()
Retrieves the number of achievements registered for this game.
|
abstractString |
getApplicationId()
Retrieves the application ID for this game.
|
abstractString |
getDescription()
Retrieves the description of this game.
|
abstract void | |
abstract void | |
abstractString |
getDeveloperName()
Retrieves the name of the developer of this game.
|
abstract void |
getDisplayName(CharArrayBuffer
dataOut)
Loads the display name string into the given
CharArrayBuffer .
|
abstractString |
getDisplayName()
Retrieves the display name for this game.
|
abstractUri |
getFeaturedImageUri()
Retrieves an image URI that can be used to load the game's featured (banner)
image from Google Play.
|
abstractUri |
getHiResImageUri()
Retrieves an image URI that can be used to load the game's hi-res image.
|
abstractUri |
getIconImageUri()
Retrieves an image URI that can be used to load the game's icon.
|
abstract int |
getLeaderboardCount()
Gets the number of leaderboards registered for this game.
|
abstractString |
getPrimaryCategory()
Retrieves the primary category of the game - this is may be null.
|
abstractString |
getSecondaryCategory()
Retrieves the secondary category of the game - this may be null.
|
abstractString |
getThemeColor()
Retrieves the theme color for this game.
|
abstract boolean |
hasGamepadSupport()
Indicates whether or not this game is marked as supporting gamepads.
|
Inherited Method Summary
Public Methods
public abstract boolean areSnapshotsEnabled()
Indicates whether or not this game supports snapshots.
Returns
- Whether or not this game supports snapshots.
public abstract intgetAchievementTotalCount()
Retrieves the number of achievements registered for this game.
Returns
- The number of achievements registered for this game.
public abstractStringgetApplicationId()
Retrieves the application ID for this game.
Returns
- The application ID for this game.
public abstractStringgetDescription()
Retrieves the description of this game.
Returns
- The description of this game.
public abstract voidgetDescription(CharArrayBuffer dataOut)
Loads the description string into the givenCharArrayBuffer
.
Parameters
dataOut | The buffer to load the data into. |
---|
public abstract voidgetDeveloperName(CharArrayBuffer dataOut)
Loads the developer name into the givenCharArrayBuffer
.
Parameters
dataOut | The buffer to load the data into. |
---|
public abstractStringgetDeveloperName()
Retrieves the name of the developer of this game.
Returns
- The name of the developer of this game.
public abstract voidgetDisplayName(CharArrayBuffer dataOut)
Loads the display name string into the givenCharArrayBuffer
.
Parameters
dataOut | The buffer to load the data into. |
---|
public abstractStringgetDisplayName()
Retrieves the display name for this game.
Returns
- The display name for this game.
public abstractUrigetFeaturedImageUri()
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 theUri
,use
ImageManager
.
Returns
- A URI that can be used to load the game's featured image, or null if the game has no featured image.
public abstractUrigetHiResImageUri()
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 theUri
,use
ImageManager
.
Returns
- A URI that can be used to load the game's hi-res image, or null if the game has no hi-res image.
public abstractUrigetIconImageUri()
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 theUri
,use
ImageManager
.
Returns
- A URI that can be used to load the game's icon, or null if the game has no icon.
public abstract intgetLeaderboardCount()
Gets the number of leaderboards registered for this game.
Returns
- The number of leaderboards registered for this game.
public abstractStringgetPrimaryCategory()
Retrieves the primary category of the game - this is may be null.
Returns
- The primary category of the game.
public abstractStringgetSecondaryCategory()
Retrieves the secondary category of the game - this may be null.
Returns
- The secondary category of the game, or null if not provided.
public abstractStringgetThemeColor()
Retrieves the theme color for this game. The theme color is used to configure the appearance of Play Games UIs.
Returns
- The color to use as an RGB hex triplet, e.g. "E0E0E0"
public abstract boolean hasGamepadSupport()
Indicates whether or not this game is marked as supporting gamepads.
Returns
- Whether or not this game declares gamepad support.