Class EventMessage

  • All Implemented Interfaces:
    Parcelable, Metadata.Entry

    @Deprecated
    public final class EventMessage
    extends Object
    implements Metadata.Entry
    Deprecated.
    com.google.android.exoplayer2 is deprecated. Please migrate to androidx.media3 (which contains the same ExoPlayer code). See the migration guide for more details, including a script to help with the migration.
    An Event Message (emsg) as defined in ISO 23009-1.
    • Field Detail

      • schemeIdUri

        public final String schemeIdUri
        Deprecated.
        The message scheme.
      • value

        public final String value
        Deprecated.
        The value for the event.
      • durationMs

        public final long durationMs
        Deprecated.
        The duration of the event in milliseconds.
      • id

        public final long id
        Deprecated.
        The instance identifier.
      • messageData

        public final byte[] messageData
        Deprecated.
        The body of the message.
    • Constructor Detail

      • EventMessage

        public EventMessage​(String schemeIdUri,
                            String value,
                            long durationMs,
                            long id,
                            byte[] messageData)
        Deprecated.
        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.