public final class

MediaRecorder.AudioSource

extends Object
java.lang.Object
   ↳ android.media.MediaRecorder.AudioSource

Class Overview

Defines the audio source. These constants are used with setAudioSource(int).

Summary

Constants
int DEFAULT
int MIC Microphone audio source
int VOICE_CALL Voice call uplink + downlink audio source
int VOICE_DOWNLINK Voice call downlink (Rx) audio source
int VOICE_UPLINK Voice call uplink (Tx) audio source
[Expand]
Inherited Methods
From class java.lang.Object

Constants

public static final int DEFAULT

Since: API Level 1

Constant Value: 0 (0x00000000)

public static final int MIC

Since: API Level 1

Microphone audio source

Constant Value: 1 (0x00000001)

public static final int VOICE_CALL

Since: API Level 4

Voice call uplink + downlink audio source

Constant Value: 4 (0x00000004)

public static final int VOICE_DOWNLINK

Since: API Level 4

Voice call downlink (Rx) audio source

Constant Value: 3 (0x00000003)

public static final int VOICE_UPLINK

Since: API Level 4

Voice call uplink (Tx) audio source

Constant Value: 2 (0x00000002)