Dela via


VideoView.SetAudioAttributes(AudioAttributes) Method

Definition

Sets the AudioAttributes to be used during the playback of the video.

[Android.Runtime.Register("setAudioAttributes", "(Landroid/media/AudioAttributes;)V", "GetSetAudioAttributes_Landroid_media_AudioAttributes_Handler", ApiSince=26)]
public virtual void SetAudioAttributes (Android.Media.AudioAttributes attributes);
[<Android.Runtime.Register("setAudioAttributes", "(Landroid/media/AudioAttributes;)V", "GetSetAudioAttributes_Landroid_media_AudioAttributes_Handler", ApiSince=26)>]
abstract member SetAudioAttributes : Android.Media.AudioAttributes -> unit
override this.SetAudioAttributes : Android.Media.AudioAttributes -> unit

Parameters

attributes
AudioAttributes

non-null AudioAttributes.

Attributes

Remarks

Sets the AudioAttributes to be used during the playback of the video.

Java documentation for android.widget.VideoView.setAudioAttributes(android.media.AudioAttributes).

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