Share via


MediaExtractor.GetAudioPresentations(Int32) Method

Definition

Get the list of available audio presentations for the track.

[Android.Runtime.Register("getAudioPresentations", "(I)Ljava/util/List;", "", ApiSince=28)]
public System.Collections.Generic.IList<Android.Media.AudioPresentation> GetAudioPresentations (int trackIndex);
[<Android.Runtime.Register("getAudioPresentations", "(I)Ljava/util/List;", "", ApiSince=28)>]
member this.GetAudioPresentations : int -> System.Collections.Generic.IList<Android.Media.AudioPresentation>

Parameters

trackIndex
Int32

index of the track.

Returns

a list of available audio presentations for a given valid audio track index. The list will be empty if the source does not contain any audio presentations.

Attributes

Remarks

Get the list of available audio presentations for the track.

Java documentation for android.media.MediaExtractor.getAudioPresentations(int).

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