Sdílet prostřednictvím


MediaPlayer.TrackInfo.Format Property

Definition

Gets the MediaFormat of the track.

public virtual Android.Media.MediaFormat? Format { [Android.Runtime.Register("getFormat", "()Landroid/media/MediaFormat;", "GetGetFormatHandler")] get; }
[<get: Android.Runtime.Register("getFormat", "()Landroid/media/MediaFormat;", "GetGetFormatHandler")>]
member this.Format : Android.Media.MediaFormat

Property Value

Attributes

Remarks

Gets the MediaFormat of the track. If the format is unknown or could not be determined, null is returned.

Java documentation for android.media.MediaPlayer.TrackInfo.getFormat().

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to