Android Guides | Samples

Android.Media.MediaPlayer.TrackInfo Class

Class for MediaPlayer to return each audio/video/subtitle track's metadata.

See Also: MediaPlayer+TrackInfo

Syntax

[Android.Runtime.Register("android/media/MediaPlayer$TrackInfo", DoNotGenerateAcw=true)]
public class MediaPlayer.TrackInfo : Object, IParcelable, IDisposable

Remarks

Class for MediaPlayer to return each audio/video/subtitle track's metadata.

See Also

[Android Documentation]

Requirements

Namespace: Android.Media
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 16

The members of Android.Media.MediaPlayer.TrackInfo are listed below.

See Also: Object

Protected Constructors

A constructor used when creating managed representations of JNI objects; called by the runtime.

Public Fields

Public Properties

[read-only]
FormatMediaFormat.
[read-only]
LanguageString. Gets the language code of the track.
[read-only]
TrackTypeMediaTrackType. Gets the track type.

Protected Properties

[read-only]
override
ThresholdClassIntPtr. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.
[read-only]
override
ThresholdTypeType. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.

Public Methods

DescribeContents() : Int32
Describe the kinds of special objects contained in this Parcelable's marshalled representation.
WriteToParcel(Parcel, ParcelableWriteFlags)
Flatten this object in to a Parcel.