com.gs.phone.api.audio

AudioRouteApi

All APIs for audio route.

Supported Products:

All


Detail

Method

method description
public static void switchVoiceAfterHookEvent(); Swith voice by hook status changed.

Supported Products:

GXV3350, GXV3370, GXV3380

public static void switchVoiceToSpeaker(); Switch voice to the phone speaker.

Supported Products:

All

public static void switchVoiceToHandset(); Switch voice to the phone handset. On WP820,the handset means headphone.

Supported Products:

All

public static void switchVoiceToUsbHeadset(); Switch voice to the usb headset.

Supported Products:

GXV3350, GXV3370, GXV3380

public static void switchVoiceToRJ9Headset(); Switch voice to the RJ9 headset.

Supported Products:

GXV3350, GXV3370, GXV3380

public static void switchVoiceToEarphone(); Switch voice to the 3.5mm earphone.

Supported Products:

All

public static void switchVoiceToBlueToothHeadset(); Switch voice to the bluetooth headset.

Supported Products:

All

public static void switchVoiceToHdmi(); Switch voice to HDMI external device.

Supported Products:

GXV3350, GXV3370, GXV3380

public static void switchCurrentVoiceWithSpeaker(); Switch voice to current channel with speaker.

Supported Products:

All

public static void switchCurrentVoiceWithoutSpeaker(); Switch voice to current channel without speaker.

Supported Products:

All

public static boolean isVoiceOnSpeaker(); Check whether the phone speaker is on.

Return:

boolean true: The phone speaker is on. false: The phone speaker is off.

Supported Products:

All

public static boolean isVoiceOnHandset(); Check whether the phone handset is on. On WP820,the handset means headphone.

Return:

boolean true: The phone handset is on. false: The phone handset is off.

Supported Products:

All

public static boolean isVoiceOnUsbHeadset(); Check whether the usb headset is on.

Return:

boolean true: The usb headset is on. false: The usb headset is off.

Supported Products:

GXV3350, GXV3370, GXV3380

public static boolean isVoiceOnRJ9Headset(); Check whether the RJ9 headset is on.

Return:

boolean true: The RJ9 headset is on. false: The RJ9 headset is off.

Supported Products:

GXV3350, GXV3370, GXV3380

public static boolean isVoiceOnEarphone(); Check whether the 3.5mm earphone is on.

Return:

boolean true: The 3.5mm earphone is on. false: The 3.5mm earphone is off.

Supported Products:

All

public static boolean isVoiceOnBlueToothHeadset(); Check whether the bluetooth headset is on.

Return:

boolean true: The bluetooth headset is on. false: The bluetooth headset is off.

Supported Products:

All

public static boolean isVoiceOnHdmi(); Check whether the HDMI external audio device is on.

Return:

boolean true: The HDMI external audio device is on. false: The HDMI external audio device is off.

Supported Products:

GXV3350, GXV3370, GXV3380

public static boolean isVoiceUnknown(); Check whether all audio device is off.

Return:

boolean true: All audio device is off. false: Someone is on. device is off.

Supported Products:

All

public static void setEhsHookStatus(boolean offHook); set EHS headset status

Params:

offHook
true:Off hook, false:hook

Supported Products:

GXV3350, GXV3370, GXV3380

public static boolean isEhsOffHook(); is EHS headset off hook

Return:

true:off hook, false:hook

Supported Products:

GXV3350, GXV3370, GXV3380

public static boolean isEhsHeadsetConnected(); is EHS headset connected

Return:

true:connected, false:disconnected

Supported Products:

GXV3350, GXV3370, GXV3380

public static void enableAutoSwitchVoiceByHandsetHook(boolean enable); set whether enable switch voice by handset hook automatically. Default value is enable.

Params:

enable
true:enable, false:not enable

Supported Products:

GXV3350, GXV3370, GXV3380


Member & Constant

Member description
public static final String API The tag name of AudioRouteApi, which is used in
{@link com.gs.common.client.ApiClient.Builder#addApi(String)}

Supported Products:

All