Class EventMessage
java.lang.Object
com.castlabs.android.player.models.EventMessage
- All Implemented Interfaces:
Parcelable
An Event Message (emsg) as defined in ISO 23009-1.
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from interface android.os.Parcelable
Parcelable.ClassLoaderCreator<T>, Parcelable.Creator<T>
-
Field Summary
FieldsFields inherited from interface android.os.Parcelable
CONTENTS_FILE_DESCRIPTOR, PARCELABLE_WRITE_RETURN_VALUE
-
Constructor Summary
ConstructorsConstructorDescriptionEventMessage
(String schemeIdUri, String value, long durationMs, long id, byte[] messageData) -
Method Summary
-
Field Details
-
CREATOR
-
-
Constructor Details
-
EventMessage
- Parameters:
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.
-
-
Method Details
-
getSchemeIdUri
The message scheme. -
getValue
The value for the event. -
getDurationMs
public long getDurationMs()The duration of the event in milliseconds. -
getId
public long getId()The instance identifier. -
getMessageData
public byte[] getMessageData()The body of the message. -
hashCode
public int hashCode() -
equals
-
toString
-
describeContents
public int describeContents()- Specified by:
describeContents
in interfaceParcelable
-
writeToParcel
- Specified by:
writeToParcel
in interfaceParcelable
-