Updated on 2023-03-23 GMT+08:00

Enabling a Function

enableFeature:isEnable:

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

1
- (void)enableFeature:(HWMEnableFeatureType)feature isEnable:(BOOL)enable;

Parameter Description

Table 1 Enumerated values of HWMEnableFeatureType

Value

Description

HWMFeatureTypeBreakoutConf

Breakout room function.

HWMFeatureTypeRecoedAlert

Whether to display the recording security prompt. By default, it is not displayed.

Return Values

None

Sample Code

1
2
HWMOpenSDKConfig *config = [[HWMOpenSDKConfig alloc] init];
[config enableFeature:HWMFeatureTypeBreakoutConf isEnable:YES];