AudioRecord.Builder.SetAudioSource(AudioSource) 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.
[Android.Runtime.Register("setAudioSource", "(I)Landroid/media/AudioRecord$Builder;", "GetSetAudioSource_IHandler", ApiSince=23)]
public virtual Android.Media.AudioRecord.Builder? SetAudioSource(Android.Media.AudioSource source);
[<Android.Runtime.Register("setAudioSource", "(I)Landroid/media/AudioRecord$Builder;", "GetSetAudioSource_IHandler", ApiSince=23)>]
abstract member SetAudioSource : Android.Media.AudioSource -> Android.Media.AudioRecord.Builder
override this.SetAudioSource : Android.Media.AudioSource -> Android.Media.AudioRecord.Builder
Parameters
- source
- AudioSource
the audio source. See MediaRecorder.AudioSource for the supported audio source definitions. Value is one of the following: MediaRecorder.AudioSource.DEFAULT; MediaRecorder.AudioSource.MIC; MediaRecorder.AudioSource.VOICE_UPLINK; MediaRecorder.AudioSource.VOICE_DOWNLINK; MediaRecorder.AudioSource.VOICE_CALL; MediaRecorder.AudioSource.CAMCORDER; MediaRecorder.AudioSource.VOICE_RECOGNITION; MediaRecorder.AudioSource.VOICE_COMMUNICATION; MediaRecorder.AudioSource.UNPROCESSED; MediaRecorder.AudioSource.VOICE_PERFORMANCE
Returns
the same Builder instance.
- Attributes
Remarks
Android reference for android.media.AudioRecord.Builder.setAudioSource.
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.