BaseAudioDevice.OutputMode

public static final enum OutputMode

Enclosing class: BaseAudioDevice

Defines values for the setOutputMode(OutputMode mode) method.

Enum constants

Name Description
SpeakerPhone Defines the speakerphone audio output mode setting for the setOutputMode(OutputMode mode) method. When using the default audio driver, the app uses the device loudspeaker instead of the headset speaker. This is preferable for apps that include both video and audio.
Handset Defines the handset audio output mode setting for the setOutputMode(OutputMode mode) method. When using the default audio driver, the app uses the headset speaker (and the loudspeaker is disabled), so that the device can be used as in a regular phone call. This is preferable in voice-only apps. When a Bluetooth device is connected, this mode will send the audio to it instead of the device earpiece.

Methods

Name Description
(static) valueOf(name) → {BaseAudioDevice.OutputMode}
(static) values() → {BaseAudioDevice.OutputMode[]}

(static) valueOf(name) → {BaseAudioDevice.OutputMode}

Parameters:
Name Type Description
name String
Returns:

BaseAudioDevice.OutputMode

(static) values() → {BaseAudioDevice.OutputMode[]}

Returns:

BaseAudioDevice.OutputMode[]