Zoom Audio Setting
- Description:
- Zoom Audio Setting
- Source:
Parameters:
Name | Type | Description |
---|---|---|
onComputerMicDeviceChanged |
function | Notification of the SDK detects that the computer mic devices have been changed. |
onComputerSpeakerDeviceChanged |
function | Notification of the SDK detects that the computer speaker devices have been changed. |
onDefaultMicDeviceChanged |
function | Notification of the user that a microphone device is selected. |
onDefaultSpeakerDeviceChanged |
function | Notification of the user that a speaker device is selected. |
Returns:
- Type
- ZoomAudioSetting
- Description:
- Zoom Audio Setting
- Source:
Parameters:
Name | Type | Description |
---|---|---|
onComputerMicDeviceChanged |
function | Notification of the SDK detects that the computer mic devices have been changed. |
onComputerSpeakerDeviceChanged |
function | Notification of the SDK detects that the computer speaker devices have been changed. |
onDefaultMicDeviceChanged |
function | Notification of the user that a microphone device is selected. |
onDefaultSpeakerDeviceChanged |
function | Notification of the user that a speaker device is selected. |
Returns:
- Type
- ZoomAudioSetting
Methods
(inner) Checking_IsAutoAdjustMicEnabled() → {Boolean}
- Description:
- Get the flag to enable/disable to auto-adjust the mic volume.
- Source:
Returns:
Enabled or disabled.
- Type
- Boolean
(inner) Checking_IsAutoAdjustMicEnabled() → {Boolean}
- Description:
- Get the flag to enable/disable to auto-adjust the mic volume.
- Source:
Returns:
Enabled or disabled.
- Type
- Boolean
(inner) Checking_IsAutoJoinAudioEnabled() → {Boolean}
- Description:
- Get the flag to enable/disable the audio automatically when join meeting.
- Source:
Returns:
Enabled or disabled.
- Type
- Boolean
(inner) Checking_IsAutoJoinAudioEnabled() → {Boolean}
- Description:
- Get the flag to enable/disable the audio automatically when join meeting.
- Source:
Returns:
Enabled or disabled.
- Type
- Boolean
(inner) Setting_EnableAlwaysMuteMicWhenJoinVoip(bEnable) → {Number}
- Description:
- Enable or disable to mute always the mic when join the meeting by VoiP.
- Source:
Parameters:
Name | Type | Description |
---|---|---|
bEnable |
Boolean | true means to enable to mute always the mic when join the meeting by VoiP. |
Returns:
If the function succeeds, the return value is SDKERR_SUCCESS. Otherwise failed.
- Type
- Number
(inner) Setting_EnableAlwaysMuteMicWhenJoinVoip(bEnable) → {Number}
- Description:
- Enable or disable to mute always the mic when join the meeting by VoiP.
- Source:
Parameters:
Name | Type | Description |
---|---|---|
bEnable |
Boolean | true means to enable to mute always the mic when join the meeting by VoiP. |
Returns:
If the function succeeds, the return value is SDKERR_SUCCESS. Otherwise failed.
- Type
- Number
(inner) Setting_EnableAutoAdjustMic(zn_bEnable) → {Number}
- Description:
- Enable or disable the auto-adjust mic volume.
- Source:
Parameters:
Name | Type | Description |
---|---|---|
zn_bEnable |
Boolean | true means to enable to auto-adjust the mic volume. |
Returns:
If the function succeeds, the return value is SDKERR_SUCCESS. Otherwise failed.
- Type
- Number
(inner) Setting_EnableAutoAdjustMic(zn_bEnable) → {Number}
- Description:
- Enable or disable the auto-adjust mic volume.
- Source:
Parameters:
Name | Type | Description |
---|---|---|
zn_bEnable |
Boolean | true means to enable to auto-adjust the mic volume. |
Returns:
If the function succeeds, the return value is SDKERR_SUCCESS. Otherwise failed.
- Type
- Number
(inner) Setting_EnableAutoJoinAudio(zn_bEnable) → {Number}
- Description:
- Enable or disable the audio automatically when join meeting.
- Source:
Parameters:
Name | Type | Description |
---|---|---|
zn_bEnable |
Boolean | true means to enable the audio automatically when join meeting. |
Returns:
If the function succeeds, the return value is SDKERR_SUCCESS. Otherwise failed.
- Type
- Number
(inner) Setting_EnableAutoJoinAudio(zn_bEnable) → {Number}
- Description:
- Enable or disable the audio automatically when join meeting.
- Source:
Parameters:
Name | Type | Description |
---|---|---|
zn_bEnable |
Boolean | true means to enable the audio automatically when join meeting. |
Returns:
If the function succeeds, the return value is SDKERR_SUCCESS. Otherwise failed.
- Type
- Number
(inner) Setting_EnableEchoCancellation(level) → {Number}
- Description:
- Set the echo cancellation level.
- Source:
Parameters:
Name | Type | Description |
---|---|---|
level |
Number | The new echo cancellation level to be set. ZoomSDKEchoCancelLationLevel |
Returns:
If the function succeeds, the return value is SDKERR_SUCCESS. Otherwise failed.
- Type
- Number
(inner) Setting_EnableEchoCancellation(level) → {Number}
- Description:
- Set the echo cancellation level.
- Source:
Parameters:
Name | Type | Description |
---|---|---|
level |
Number | The new echo cancellation level to be set. ZoomSDKEchoCancelLationLevel |
Returns:
If the function succeeds, the return value is SDKERR_SUCCESS. Otherwise failed.
- Type
- Number
(inner) Setting_EnableHoldSpaceKeyToSpeak(bEnable) → {Number}
- Description:
- Enable or disable to press and hold the Space-bar to speak when muted.
- Source:
Parameters:
Name | Type | Description |
---|---|---|
bEnable |
Boolean | true means to press and hold the Space-bar to speak. |
Returns:
If the function succeeds, the return value is SDKERR_SUCCESS. Otherwise failed.
- Type
- Number
(inner) Setting_EnableHoldSpaceKeyToSpeak(bEnable) → {Number}
- Description:
- Enable or disable to press and hold the Space-bar to speak when muted.
- Source:
Parameters:
Name | Type | Description |
---|---|---|
bEnable |
Boolean | true means to press and hold the Space-bar to speak. |
Returns:
If the function succeeds, the return value is SDKERR_SUCCESS. Otherwise failed.
- Type
- Number
(inner) Setting_EnableMicOriginalInput(bEnable) → {Number}
- Description:
- Enable or disable the original input of mic.
- Source:
Parameters:
Name | Type | Description |
---|---|---|
bEnable |
Boolean | true means to enable the original input of mic. |
Returns:
If the function succeeds, the return value is SDKERR_SUCCESS. Otherwise failed.
- Type
- Number
(inner) Setting_EnableMicOriginalInput(bEnable) → {Number}
- Description:
- Enable or disable the original input of mic.
- Source:
Parameters:
Name | Type | Description |
---|---|---|
bEnable |
Boolean | true means to enable the original input of mic. |
Returns:
If the function succeeds, the return value is SDKERR_SUCCESS. Otherwise failed.
- Type
- Number
(inner) Setting_EnableStereoAudio(bEnable) → {Number}
- Description:
- Enable or disable the stereo audio. This function is valid only if mic original input is enabled, otherwise invalid.
- Source:
Parameters:
Name | Type | Description |
---|---|---|
bEnable |
Boolean | true means to enable the stereo audio. |
Returns:
If the function succeeds, the return value is SDKERR_SUCCESS. Otherwise failed.
- Type
- Number
(inner) Setting_EnableStereoAudio(bEnable) → {Number}
- Description:
- Enable or disable the stereo audio. This function is valid only if mic original input is enabled, otherwise invalid.
- Source:
Parameters:
Name | Type | Description |
---|---|---|
bEnable |
Boolean | true means to enable the stereo audio. |
Returns:
If the function succeeds, the return value is SDKERR_SUCCESS. Otherwise failed.
- Type
- Number
(inner) Setting_EnableSuppressAudioNotify(bEnable) → {Number}
- Description:
- Enable or disable to prompt when the user joins the meeting using the third party audio.
- Source:
Parameters:
Name | Type | Description |
---|---|---|
bEnable |
Boolean | true means to enable to prompt. |
Returns:
If the function succeeds, the return value is SDKERR_SUCCESS. Otherwise failed.
- Type
- Number
(inner) Setting_EnableSuppressAudioNotify(bEnable) → {Number}
- Description:
- Enable or disable to prompt when the user joins the meeting using the third party audio.
- Source:
Parameters:
Name | Type | Description |
---|---|---|
bEnable |
Boolean | true means to enable to prompt. |
Returns:
If the function succeeds, the return value is SDKERR_SUCCESS. Otherwise failed.
- Type
- Number
(inner) Setting_GetMicList() → {Array}
- Description:
- Get the mic device list.
- Source:
Returns:
If the function succeeds, the return value is the mic device list. Otherwise returns null.
- deviceId: The microphone device ID
- deviceName: The microphone device name
- isSelected: Whether the current device is selected to use
- Type
- Array
(inner) Setting_GetMicList() → {Array}
- Description:
- Get the mic device list.
- Source:
Returns:
If the function succeeds, the return value is the mic device list. Otherwise returns null.
- deviceId: The microphone device ID
- deviceName: The microphone device name
- isSelected: Whether the current device is selected to use
- Type
- Array
(inner) Setting_GetMicVol() → {Number}
- Description:
- Get the volume of the selected mic.
- Source:
Returns:
If the function succeeds, the return value is the current volume of the mic.
- Type
- Number
(inner) Setting_GetMicVol() → {Number}
- Description:
- Get the volume of the selected mic.
- Source:
Returns:
If the function succeeds, the return value is the current volume of the mic.
- Type
- Number
(inner) Setting_GetSpeakerList() → {Array}
- Description:
- Get the speaker device list.
- Source:
Returns:
If the function succeeds, the return value is the speaker device list. Otherwise returns null.
- deviceId: The speaker device ID
- deviceName: The speaker device name
- isSelected: Whether the current device is selected to use
- Type
- Array
(inner) Setting_GetSpeakerList() → {Array}
- Description:
- Get the speaker device list.
- Source:
Returns:
If the function succeeds, the return value is the speaker device list. Otherwise returns null.
- deviceId: The speaker device ID
- deviceName: The speaker device name
- isSelected: Whether the current device is selected to use
- Type
- Array
(inner) Setting_GetSpeakerVol() → {Number}
- Description:
- Get the volume of the selected speaker.
- Source:
Returns:
If the function succeeds, the return value is the current volume of the speaker.
- Type
- Number
(inner) Setting_GetSpeakerVol() → {Number}
- Description:
- Get the volume of the selected speaker.
- Source:
Returns:
If the function succeeds, the return value is the current volume of the speaker.
- Type
- Number
(inner) Setting_IsAlwaysMuteMicWhenJoinVoipEnabled() → {Boolean}
- Description:
- Get the flag to enable/disable to mute always the mic when join the meeting by VoiP.
- Source:
Returns:
Enabled or disabled.
- Type
- Boolean
(inner) Setting_IsAlwaysMuteMicWhenJoinVoipEnabled() → {Boolean}
- Description:
- Get the flag to enable/disable to mute always the mic when join the meeting by VoiP.
- Source:
Returns:
Enabled or disabled.
- Type
- Boolean
(inner) Setting_IsEchoCancellationEnabled() → {Number}
- Description:
- Get the echo cancellation level.
- Source:
Returns:
The echo cancellation level ZoomSDKEchoCancelLationLevel
- Type
- Number
(inner) Setting_IsEchoCancellationEnabled() → {Number}
- Description:
- Get the echo cancellation level.
- Source:
Returns:
The echo cancellation level ZoomSDKEchoCancelLationLevel
- Type
- Number
(inner) Setting_IsHoldSpaceKeyToSpeakEnabled() → {Boolean}
- Description:
- Get the flag to enable/disable to press and hold the Space-bar to speak.
- Source:
Returns:
Enabled or disabled.
- Type
- Boolean
(inner) Setting_IsHoldSpaceKeyToSpeakEnabled() → {Boolean}
- Description:
- Get the flag to enable/disable to press and hold the Space-bar to speak.
- Source:
Returns:
Enabled or disabled.
- Type
- Boolean
(inner) Setting_IsMicOriginalInputEnable() → {Boolean}
- Description:
- Get the flag to enable/disable the original input of mic.
- Source:
Returns:
Enabled or disabled.
- Type
- Boolean
(inner) Setting_IsMicOriginalInputEnable() → {Boolean}
- Description:
- Get the flag to enable/disable the original input of mic.
- Source:
Returns:
Enabled or disabled.
- Type
- Boolean
(inner) Setting_IsStereoAudioEnable() → {Boolean}
- Description:
- Get the flag to enable/disable the stereo audio.
- Source:
Returns:
Enabled or disabled.
- Type
- Boolean
(inner) Setting_IsStereoAudioEnable() → {Boolean}
- Description:
- Get the flag to enable/disable the stereo audio.
- Source:
Returns:
Enabled or disabled.
- Type
- Boolean
(inner) Setting_IsSuppressAudioNotifyEnabled() → {Boolean}
- Description:
- Get the flag to enable/disable to prompt when the user joins the meeting using the third party audio.
- Source:
Returns:
Enabled or disabled.
- Type
- Boolean
(inner) Setting_IsSuppressAudioNotifyEnabled() → {Boolean}
- Description:
- Get the flag to enable/disable to prompt when the user joins the meeting using the third party audio.
- Source:
Returns:
Enabled or disabled.
- Type
- Boolean
(inner) Setting_SelectMic(deviceId, deviceName) → {Number}
- Description:
- Select mic device.
- Source:
Parameters:
Name | Type | Description |
---|---|---|
deviceId |
String | Specify the device to be selected. |
deviceName |
String | Specify the device name assigned by deviceId. |
Returns:
If the function succeeds, the return value is SDKERR_SUCCESS. Otherwise failed.
- Type
- Number
(inner) Setting_SelectMic(deviceId, deviceName) → {Number}
- Description:
- Select mic device.
- Source:
Parameters:
Name | Type | Description |
---|---|---|
deviceId |
String | Specify the device to be selected. |
deviceName |
String | Specify the device name assigned by deviceId. |
Returns:
If the function succeeds, the return value is SDKERR_SUCCESS. Otherwise failed.
- Type
- Number
(inner) Setting_SelectSpeaker(deviceId, deviceName) → {Number}
- Description:
- Select speaker device.
- Source:
Parameters:
Name | Type | Description |
---|---|---|
deviceId |
String | Specify the device to be selected. |
deviceName |
String | Specify the device name assigned by deviceId. |
Returns:
If the function succeeds, the return value is SDKERR_SUCCESS. Otherwise failed.
- Type
- Number
(inner) Setting_SelectSpeaker(deviceId, deviceName) → {Number}
- Description:
- Select speaker device.
- Source:
Parameters:
Name | Type | Description |
---|---|---|
deviceId |
String | Specify the device to be selected. |
deviceName |
String | Specify the device name assigned by deviceId. |
Returns:
If the function succeeds, the return value is SDKERR_SUCCESS. Otherwise failed.
- Type
- Number
(inner) Setting_SetComputerMicDeviceChangedCB(onComputerMicDeviceChanged) → {Boolean}
- Description:
- Set onComputerMicDeviceChanged callback.
- Source:
Parameters:
Name | Type | Description |
---|---|---|
onComputerMicDeviceChanged |
function |
Returns:
true or false
- Type
- Boolean
(inner) Setting_SetComputerMicDeviceChangedCB(onComputerMicDeviceChanged) → {Boolean}
- Description:
- Set onComputerMicDeviceChanged callback.
- Source:
Parameters:
Name | Type | Description |
---|---|---|
onComputerMicDeviceChanged |
function |
Returns:
true or false
- Type
- Boolean
(inner) Setting_SetComputerSpeakerDeviceChangedCB(onComputerSpeakerDeviceChanged) → {Boolean}
- Description:
- Set onComputerSpeakerDeviceChanged callback.
- Source:
Parameters:
Name | Type | Description |
---|---|---|
onComputerSpeakerDeviceChanged |
function |
Returns:
true or false
- Type
- Boolean
(inner) Setting_SetComputerSpeakerDeviceChangedCB(onComputerSpeakerDeviceChanged) → {Boolean}
- Description:
- Set onComputerSpeakerDeviceChanged callback.
- Source:
Parameters:
Name | Type | Description |
---|---|---|
onComputerSpeakerDeviceChanged |
function |
Returns:
true or false
- Type
- Boolean
(inner) Setting_SetDefaultMicDeviceChangedCB(onDefaultMicDeviceChanged) → {Boolean}
- Description:
- Set onDefaultMicDeviceChanged callback.
- Source:
Parameters:
Name | Type | Description |
---|---|---|
onDefaultMicDeviceChanged |
function |
Returns:
true or false
- Type
- Boolean
(inner) Setting_SetDefaultMicDeviceChangedCB(onDefaultMicDeviceChanged) → {Boolean}
- Description:
- Set onDefaultMicDeviceChanged callback.
- Source:
Parameters:
Name | Type | Description |
---|---|---|
onDefaultMicDeviceChanged |
function |
Returns:
true or false
- Type
- Boolean
(inner) Setting_SetDefaultSpeakerDeviceChangedCB(onDefaultSpeakerDeviceChanged) → {Boolean}
- Description:
- Set onDefaultSpeakerDeviceChanged callback.
- Source:
Parameters:
Name | Type | Description |
---|---|---|
onDefaultSpeakerDeviceChanged |
function |
Returns:
true or false
- Type
- Boolean
(inner) Setting_SetDefaultSpeakerDeviceChangedCB(onDefaultSpeakerDeviceChanged) → {Boolean}
- Description:
- Set onDefaultSpeakerDeviceChanged callback.
- Source:
Parameters:
Name | Type | Description |
---|---|---|
onDefaultSpeakerDeviceChanged |
function |
Returns:
true or false
- Type
- Boolean
(inner) Setting_SetMicVol(value) → {Number}
- Description:
- Set the volume of the selected mic.
- Source:
Parameters:
Name | Type | Description |
---|---|---|
value |
Number | Specify the volume of the mic that varies between 0 and 255. |
Returns:
If the function succeeds, the return value is SDKERR_SUCCESS. Otherwise failed.
- Type
- Number
(inner) Setting_SetMicVol(value) → {Number}
- Description:
- Set the volume of the selected mic.
- Source:
Parameters:
Name | Type | Description |
---|---|---|
value |
Number | Specify the volume of the mic that varies between 0 and 255. |
Returns:
If the function succeeds, the return value is SDKERR_SUCCESS. Otherwise failed.
- Type
- Number
(inner) Setting_SetSpeakerVol(value) → {Number}
- Description:
- Set the volume of the selected speaker.
- Source:
Parameters:
Name | Type | Description |
---|---|---|
value |
Number | Specify the volume of the speaker that varies between 0 and 255. |
Returns:
If the function succeeds, the return value is SDKERR_SUCCESS. Otherwise failed.
- Type
- Number
(inner) Setting_SetSpeakerVol(value) → {Number}
- Description:
- Set the volume of the selected speaker.
- Source:
Parameters:
Name | Type | Description |
---|---|---|
value |
Number | Specify the volume of the speaker that varies between 0 and 255. |
Returns:
If the function succeeds, the return value is SDKERR_SUCCESS. Otherwise failed.
- Type
- Number
Events
onComputerMicDeviceChanged
- Description:
- Notification of the SDK detects that the computer mic devices have been changed.
- Source:
Parameters:
Name | Type | Description |
---|---|---|
newMicList |
Array | The new list of all mic devices plugged into the computer. - deviceId: The microphone device ID - deviceName: The microphone device name - isSelected: Whether the current device is selected to use |
onComputerMicDeviceChanged
- Description:
- Notification of the SDK detects that the computer mic devices have been changed.
- Source:
Parameters:
Name | Type | Description |
---|---|---|
newMicList |
Array | The new list of all mic devices plugged into the computer. - deviceId: The microphone device ID - deviceName: The microphone device name - isSelected: Whether the current device is selected to use |
onComputerSpeakerDeviceChanged
- Description:
- Notification of the SDK detects that the computer speaker devices have been changed.
- Source:
Parameters:
Name | Type | Description |
---|---|---|
newSpeakerList |
Array | The new list of all speaker devices plugged into the computer. - deviceId: The speaker device ID - deviceName: The speaker device name - isSelected: Whether the current device is selected to use |
onComputerSpeakerDeviceChanged
- Description:
- Notification of the SDK detects that the computer speaker devices have been changed.
- Source:
Parameters:
Name | Type | Description |
---|---|---|
newSpeakerList |
Array | The new list of all speaker devices plugged into the computer. - deviceId: The speaker device ID - deviceName: The speaker device name - isSelected: Whether the current device is selected to use |
onDefaultMicDeviceChanged
- Description:
- Notification of the user that a microphone device is selected.
- Source:
Parameters:
Name | Type | Description |
---|---|---|
deviceId |
String | Specify a device to be selected. |
deviceName |
String | Specify the device name assigned by deviceId. |
onDefaultMicDeviceChanged
- Description:
- Notification of the user that a microphone device is selected.
- Source:
Parameters:
Name | Type | Description |
---|---|---|
deviceId |
String | Specify a device to be selected. |
deviceName |
String | Specify the device name assigned by deviceId. |
onDefaultSpeakerDeviceChanged
- Description:
- Notification of the user that a speaker device is selected.
- Source:
Parameters:
Name | Type | Description |
---|---|---|
deviceId |
String | Specify a device to be selected. |
deviceName |
String | Specify the device name assigned by deviceId. |
onDefaultSpeakerDeviceChanged
- Description:
- Notification of the user that a speaker device is selected.
- Source:
Parameters:
Name | Type | Description |
---|---|---|
deviceId |
String | Specify a device to be selected. |
deviceName |
String | Specify the device name assigned by deviceId. |