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

Enterprise Configuration Information

Notification Description

A notification is sent when the login is successful. The enterprise configuration information is delivered.

Method Definition

1
- (void)onCorpConfigNotify:(HWMCorpConfigInfo *)corpConfig;

Sample Code

- (void)onCorpConfigNotify:(HWMCorpConfigInfo *)corpConfig {
    if (corpConfig.hasSMSPerm) {
        NSLog(@"The SMS notification sending permission is available.");
    }
    if (corpConfig.hasRecordPerm) {
        NSLog(@"The meeting recording permission is available.");
    }
    if (corpConfig.hasPstnPerm) {
        NSLog(@"The PSTN call permission is available.");
    }
}

Precautions

  1. Subscribe to the HWMNotifyHandler proxy during SDK initialization or set the proxy on the target page.

Parameter Description

Table 1 Parameter description

Parameter

Type

Description

corpConfig

HWMCorpConfigInfo *

Configuration information.

Table 2 HWMCorpConfigInfo parameters

Parameter

Type

Description

hasRecordPerm

BOOL

Whether the meeting recording permission is available.

hasPstnPerm

BOOL

Whether the PSTN call permission is available.

hasSMSPerm

BOOL

Whether the SMS notification sending permission is available.