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_SUBTITLE | ||||||||||
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.
| |||||||||||
Returns a string containing a concise, human-readable description of this
object.
| |||||||||||
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.
Returns a string containing a concise, human-readable description of this object. Subclasses are encouraged to override this method and provide an implementation that takes into account the object's type and data. The default implementation is equivalent to the following expression:
getClass().getName() + '@' + Integer.toHexString(hashCode())
See Writing a useful
toString
method
if you intend implementing your own toString
method.
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 .
|