Save the date! Android Dev Summit is coming to Sunnyvale, CA on Oct 23-24, 2019.

TimedMetaData2

open class TimedMetaData2
kotlin.Any
   ↳ androidx.media2.TimedMetaData2

Class that embodies one timed metadata access unit, including

  • a time stamp, and
  • raw uninterpreted byte-array extracted directly from the container.

Summary

Public methods
open ByteArray!

open Long

Public methods

getMetaData

open fun getMetaData(): ByteArray!
Return
ByteArray!: raw, uninterpreted content of this metadata access unit; for ID3 tags this includes everything starting from the 3 byte signature "ID3".

getTimestamp

open fun getTimestamp(): Long
Return
Long: the timestamp associated with this metadata access unit in microseconds; 0 denotes playback start.