MediaExtractor.GetAudioPresentations(Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.