EventMessage
@UnstableApi
class EventMessage : Metadata.Entry
An Event Message (emsg) as defined in ISO 23009-1.
Summary
Constants |
|
|---|---|
const String! |
@VisibleForTestingemsg scheme_id_uri from the CMAF spec. |
const String! |
@VisibleForTestingscheme_id_uri from section 7.3.2 of SCTE 214-3 2015. |
Public constructors |
|---|
Public functions |
|
|---|---|
Boolean |
|
ByteArray<Byte>? |
Returns the bytes of the wrapped metadata in this Entry, or null if it doesn't contain wrapped metadata. |
Format? |
Returns the |
Int |
hashCode() |
String! |
toString() |
Public properties |
|
|---|---|
Long |
The duration of the event in milliseconds. |
Long |
The instance identifier. |
ByteArray<Byte>! |
The body of the message. |
String! |
The message scheme. |
String! |
The value for the event. |
Inherited functions |
||
|---|---|---|
|
Constants
ID3_SCHEME_ID_AOM
@VisibleForTesting
const val ID3_SCHEME_ID_AOM = "https://aomedia.org/emsg/ID3": String!
emsg scheme_id_uri from the CMAF spec.
SCTE35_SCHEME_ID
@VisibleForTesting
const val SCTE35_SCHEME_ID = "urn:scte:scte35:2014:bin": String!
scheme_id_uri from section 7.3.2 of SCTE 214-3 2015.
Public constructors
Public functions
getWrappedMetadataBytes
fun getWrappedMetadataBytes(): ByteArray<Byte>?
Returns the bytes of the wrapped metadata in this Entry, or null if it doesn't contain wrapped metadata.
getWrappedMetadataFormat
fun getWrappedMetadataFormat(): Format?
Returns the Format that can be used to decode the wrapped metadata in getWrappedMetadataBytes, or null if this Entry doesn't contain wrapped metadata.