Added in API level 23
  
  
  
  
  
   
  
  
  
  
TimedMetaData
  public
  
  final
  
  class
  TimedMetaData
  
    extends Object
  
  
  
  
  
  
| java.lang.Object | |
| ↳ | android.media.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 constructors | |
|---|---|
| 
      TimedMetaData(long timestampUs, byte[] metaData)
      Constructor. | |
| Public methods | |
|---|---|
| 
        
        
        
        
        
        byte[] | 
      getMetaData()
       | 
| 
        
        
        
        
        
        long | 
      getTimestamp()
       | 
| Inherited methods | |
|---|---|
Public constructors
TimedMetaData
    Added in API level 29
  
      
  
    
public TimedMetaData (long timestampUs, 
                byte[] metaData)Constructor.
| Parameters | |
|---|---|
| timestampUs | long: the timestamp in microsecond for the timed metadata | 
| metaData | byte: the metadata array for the timed metadata. No data copying is made.
     It should not be null. | 
Public methods
getMetaData
    Added in API level 23
  
      
  
    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
    Added in API level 23
  
      
  
    public long getTimestamp ()
| Returns | |
|---|---|
| long | the timestamp associated with this metadata access unit in microseconds; 0 denotes playback start. | 
