The Event class returns the notification information about an event.
| return type | description |
String | Obtains the description of an event. |
String | Obtains the ID of an event. |
String | Obtains the event value formatted based on the user's locale. For example, the number in Arabic is returned for Arabic countries. |
Uri | Obtains the URI of an event icon. |
String | getName() Obtains the name of an event. |
Obtains the information about the current player who triggers an event. | |
long | getValue() Obtains the current event value of the current player. |
boolean | Displays or hides an event. |
Obtains the description of the current event.
Return Values
The description of the current event is returned.
Obtains the ID of the current event.
Return Values
The event ID is returned.
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.
Obtains the URI of an event icon.
Return Values
The URI of the event icon is returned.
Obtains the name of the current event.
Return Values
The name of the current event is returned.
Obtains the information about the current player.
Return Values
The player information is returned in the Player object.
Obtains the current event value of the current player.
Return Values
The value of the current player is returned.
Displays or hides an event.
Return Values
true: to display the even
false: not to display the event