| java.lang.Object | |
| ↳ | android.media.MediaPlayer.TrackInfo | 
Class for MediaPlayer to return each audio/video/subtitle track's metadata.
| Constants | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| int | MEDIA_TRACK_TYPE_AUDIO | ||||||||||
| int | MEDIA_TRACK_TYPE_TIMEDTEXT | ||||||||||
| int | MEDIA_TRACK_TYPE_UNKNOWN | ||||||||||
| int | MEDIA_TRACK_TYPE_VIDEO | ||||||||||
| 
         
          [Expand]
         
          
          Inherited Constants
          
         | 
       |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
         
           
         
         From interface
         
          android.os.Parcelable
         
          | 
       |||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| 
          | 
        
          
          Describe the kinds of special objects contained in this Parcelable's
 marshalled representation.
          
         | 
       ||||||||||
| 
          | 
        
          
          Gets the
           
        
           
            MediaFormat
           
          
          of the track.
          | 
       ||||||||||
| 
          | 
        
          
          Gets the language code of the track.
          
         | 
       ||||||||||
| 
          | 
        
          
          Gets the track type.
          
         | 
       ||||||||||
| 
          | 
        
          
          Flatten this object in to a Parcel.
          
         | 
       ||||||||||
| 
         
          [Expand]
         
          
          Inherited Methods
          
         | 
       |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
         
           
         
         From class
         
          java.lang.Object
         
          | 
       |||||||||||
         
           
         
         From interface
         
          android.os.Parcelable
         
          | 
       |||||||||||
Describe the kinds of special objects contained in this Parcelable's marshalled representation.
         Gets the
         
          
           MediaFormat
          
         
         of the track.  If the format is
 unknown or could not be determined, null is returned.
        
Gets the language code of the track.
Gets the track type.
Flatten this object in to a Parcel.
| dest | The Parcel in which the object should be written. | 
|---|---|
| flags | 
           Additional flags about how the object should be written.
 May be 0 or
           
            
             PARCELABLE_WRITE_RETURN_VALUE
            
           
           .
           |