Enabling or Disabling Functions
Function
This API is used to enable or disable meeting functions. Functions in the enumeration have default values. Call this API when you need to change the function status.
Function Prototype
enableCapability(capabilityInfo: CapabilityInfo, onEnableCapabilityResult?: (ret: SDKERR, reason: string) => void): voidenableCapability(capabilityInfo: CapabilityInfo, onEnableCapabilityResult?: (ret: SDKERR, reason: string) => void): void
Request Parameters
Parameter | Mandatory | Type | Description |
---|---|---|---|
capabilityInfo | Yes | CapabilityInfo | Function configuration. |
onEnableCapabilityResult | Yes | (ret: SDKERR, reason: string) => void | Callback of configuring function statuses. |
Parameter | Mandatory | Type | Description |
---|---|---|---|
type | Yes | CapabilityType | Function type. |
isEnable | Yes | boolean | Function status. |
Enumeration Name | Enumerated Value | Description |
---|---|---|
HWM_CAPABILITY_TYPE_SHOW_HANGUP_ATTENDEE | 0 | Displaying offline participants (valid only for the Windows platform). |
HWM_CAPABILITY_TYPE_HIDE_EXTERNAL_LABEL | 1 | Hiding the External label. |
HWM_CAPABILITY_TYPE_RESOLUTION_1080P | 2 | 1080p (valid only for the Windows platform) |
HWM_CAPABILITY_TYPE_RESOLUTION_720P | 3 | 720p (valid only for the macOS platform). |
HWM_CAPABILITY_TYPE_MULTI_MONITOR | 4 | Multi-monitor mode (valid only for the Windows platform). |
HWM_CAPABILITY_TYPE_HOWLING_DETECTION | 5 | Feedback detection (valid only for the Windows platform). |
HWM_CAPABILITY_AUTO_MIC_VOLUME | 6 | Automatic microphone volume adjustment (valid only for the Windows platform). |
HWM_CAPABILITY_SHARE_AUDIO | 7 | Audio sharing. |
HWM_CAPABILITY_HIDE_NO_CAMERA_VIEW | 8 | Hiding non-video participants (valid only for the macOS platform). |
HWM_CAPABILITY_BREAKOUT_CONF | 9 | Enabling or disabling the breakout room function. |
HWM_CAPABILITY_CONFIRM_RECORD | 10 | Recording confirmation. |
HWM_CAPABILITY_SUPPORT_DISCONNECT_AUDIO | 12 | Audio disconnection (valid only for the Windows platform). |
HWM_CAPABILITY_DISCONNECT_AUDIO_TO_JOIN_CONF | 13 | Joining the meeting without audio (valid only for the Windows platform). |
HWM_CAPABILITY_CPU_REDUCTION_DETECT | 14 | Detecting CPU frequency reduction (valid only for the Windows platform). |
HWM_CAPABILITY_SUPPORT_GUEST_INVITE | 16 | Participant invitation. |
Return Values
void
Callback Method Parameters
(ret: SDKERR, reason: string) => void
Parameter | Type | Description |
---|---|---|
ret | For details about SDKERR, see Error Code Reference. | Error code. |
reason | string | Error description. |
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot