public final class EventMessage extends Object implements Metadata.Entry
Parcelable.ClassLoaderCreator<T>, Parcelable.Creator<T>| Modifier and Type | Field and Description |
|---|---|
static Parcelable.Creator<EventMessage> |
CREATOR |
long |
durationMs
The duration of the event in milliseconds.
|
long |
id
The instance identifier.
|
byte[] |
messageData
The body of the message.
|
String |
schemeIdUri
The message scheme.
|
String |
value
The value for the event.
|
CONTENTS_FILE_DESCRIPTOR, PARCELABLE_WRITE_RETURN_VALUE| Constructor and Description |
|---|
EventMessage(String schemeIdUri,
String value,
long durationMs,
long id,
byte[] messageData) |
| Modifier and Type | Method and Description |
|---|---|
int |
describeContents() |
boolean |
equals(Object obj) |
int |
hashCode() |
void |
writeToParcel(Parcel dest,
int flags) |
public final String schemeIdUri
public final String value
public final long durationMs
public final long id
public final byte[] messageData
public static final Parcelable.Creator<EventMessage> CREATOR
public EventMessage(String schemeIdUri, String value, long durationMs, long id, byte[] messageData)
schemeIdUri - The message scheme.value - The value for the event.durationMs - The duration of the event in milliseconds.id - The instance identifier.messageData - The body of the message.public int describeContents()
describeContents in interface Parcelablepublic void writeToParcel(Parcel dest, int flags)
writeToParcel in interface Parcelable