Freigeben über


MediaRecorder.SetAudioProfile(EncoderProfiles+AudioProfile) Method

Definition

Uses the settings from an AudioProfile for recording.

[Android.Runtime.Register("setAudioProfile", "(Landroid/media/EncoderProfiles$AudioProfile;)V", "GetSetAudioProfile_Landroid_media_EncoderProfiles_AudioProfile_Handler", ApiSince=31)]
public virtual void SetAudioProfile (Android.Media.EncoderProfiles.AudioProfile profile);
[<Android.Runtime.Register("setAudioProfile", "(Landroid/media/EncoderProfiles$AudioProfile;)V", "GetSetAudioProfile_Landroid_media_EncoderProfiles_AudioProfile_Handler", ApiSince=31)>]
abstract member SetAudioProfile : Android.Media.EncoderProfiles.AudioProfile -> unit
override this.SetAudioProfile : Android.Media.EncoderProfiles.AudioProfile -> unit

Parameters

profile
EncoderProfiles.AudioProfile

the AudioProfile to use

Attributes

Remarks

Java documentation for android.media.MediaRecorder.setAudioProfile(android.media.AudioProfile).

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