The Android Developer Challenge is back! Submit your idea before December 2.

TimedMetaData

open class TimedMetaData
kotlin.Any
   ↳ androidx.media2.player.TimedMetaData

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.