Updated on 2024-07-30 GMT+08:00

Enabling a Function

enableFeature

API Description

This API is used to enable a function.

Precautions

  1. By default, the breakout room function is enabled. You can call this API to disable it.
  2. Create an initialization object HWMOpenSDKConfig before calling this API, and call the initialization API after calling this API.

Method Definition

void enableFeature(HWMEnableFeatureType confCapabilityType, boolean enable)

Parameter Description

Table 1 Enumerated values of HWMEnableFeatureType

Value

Description

HWM_FEATURE_TYPE_BREAKOUT_CONF

Breakout room function.

HWM_FEATURE_TYPE_CONFIRM_RECORD

Displaying the recording security prompt. By default, it is not displayed.

HWM_FEATURE_TYPE_SAVE_NICK_NAME_WHEN_ANONYMOUS_JOIN

Saving the display name when you join a meeting anonymously.

HWM_ENABLE_FEATURE_TYPE_VIRTUAL_BACKGROUND

Virtual backgrounds.

Return Values

None

Sample Code

// Enable or disable a function.
openSDKConfig.enableFeature(HWMEnableFeatureType.HWM_FEATURE_TYPE_CONFIRM_RECORD, true);