Data object representing the data for a event. This is immutable, and therefore safe to cache or store. Note, however, that the data it represents may grow stale.
| public static final Creator<EventEntity> | CREATOR |
|
EventEntity(Event
event)
|
| boolean | |
| Event |
freeze()
|
| String |
getDescription()
Retrieves the description for this event.
|
| void | |
| String |
getEventId()
Retrieves the ID of this event.
|
| void |
getFormattedValue(CharArrayBuffer
dataOut)
Retrieves the sum of increments have been made to this event (formatted for the
user's locale).
|
| String |
getFormattedValue()
Retrieves the sum of increments have been made to this event (formatted for the
user's locale).
|
| Uri |
getIconImageUri()
Retrieves a URI that can be used to load the event's image icon.
|
| String | |
| void | |
| String |
getName()
Retrieves the name of this event.
|
| Player |
getPlayer()
Retrieves the player information associated with this event.
|
| long |
getValue()
Retrieves the number of increments this user has made to this event.
|
| int |
hashCode()
|
| boolean | |
| boolean |
isVisible()
Retrieves whether the event should be displayed to the user in any event
related UIs.
|
| String |
toString()
|
| void |
writeToParcel(Parcel out, int
flags)
|
Retrieves the description for this event.
Loads the event description into the given CharArrayBuffer.
| dataOut | The buffer to load the data into. |
|---|
Retrieves the ID of this event.
Retrieves the sum of increments have been made to this event (formatted for the user's locale).
| dataOut | The buffer to load the data into. |
|---|
Retrieves the sum of increments have been made to this event (formatted for the user's locale).
Retrieves a URI that can be used to load the event's image icon. Returns null if the event has no image.
To retrieve the Image from the Uri, use
ImageManager.
Loads the event name into the given CharArrayBuffer.
| dataOut | The buffer to load the data into. |
|---|
Retrieves the name of this event.
Retrieves the player information associated with this event.
Note that this object is a volatile representation, so it is not safe to cache the
output of this directly. Instead, cache the result of Freezable.freeze().
Retrieves the number of increments this user has made to this event.
Retrieves whether the event should be displayed to the user in any event related UIs.