belongs to Maven artifact androidx.media2:media2:1.0.0-alpha01

TimedMetaData2

public class TimedMetaData2
extends Object

java.lang.Object
   ↳ 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

byte[] getMetaData()
long getTimestamp()

Inherited methods

Public methods

getMetaData

public byte[] getMetaData ()

Returns
byte[] raw, uninterpreted content of this metadata access unit; for ID3 tags this includes everything starting from the 3 byte signature "ID3".

getTimestamp

public long getTimestamp ()

Returns
long the timestamp associated with this metadata access unit in microseconds; 0 denotes playback start.