Condividi tramite


MediaCodec.SetAudioPresentation(AudioPresentation) Method

Definition

Sets the audio presentation.

[Android.Runtime.Register("setAudioPresentation", "(Landroid/media/AudioPresentation;)V", "", ApiSince=29)]
public void SetAudioPresentation (Android.Media.AudioPresentation presentation);
[<Android.Runtime.Register("setAudioPresentation", "(Landroid/media/AudioPresentation;)V", "", ApiSince=29)>]
member this.SetAudioPresentation : Android.Media.AudioPresentation -> unit

Parameters

presentation
AudioPresentation

see AudioPresentation. In particular, id should be set.

Attributes

Remarks

Sets the audio presentation.

Java documentation for android.media.MediaCodec.setAudioPresentation(android.media.AudioPresentation).

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