目录

The Event class returns the notification information about an event. 

Public Method Summary

return typedescription

String

getDescription()

Obtains the description of an event.

String

getEventId()

Obtains the ID of an event.

String

getLocaleValue()

Obtains the event value formatted based on the user's locale. For example, the number in Arabic is returned for Arabic countries.

Uri

getThumbnailUri()

Obtains the URI of an event icon.

String

getName()

Obtains the name of an event.

 Player

getGamePlayer()

Obtains the information about the current player who triggers an event.

long

getValue()

Obtains the current event value of the current player.

boolean

isVisible()

Displays or hides an event.

Public Methods

public String getDescription()

Obtains the description of the current event. 

Return Values

The description of the current event is returned.

public String getEventId()

Obtains the ID of the current event.

Return Values

The event ID is returned.

public String getLocaleValue()

Obtains the event value formatted based on the user's locale. For example, the number in Arabic is returned for Arabic countries.

Return Values

The event value formatted based on the user's locale is returned.

public Uri getThumbnailUri()

Obtains the URI of an event icon.

Return Values

The URI of the event icon is returned.

public String getName()

Obtains the name of the current event.

Return Values

The name of the current event is returned.

public Player getGamePlayer()

Obtains the information about the current player.

Return Values

The player information is returned in the Player object.

public long getValue()

Obtains the current event value of the current player.

Return Values

The value of the current player is returned.

public boolean isVisible()

Displays or hides an event.

Return Values