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

Meeting Status Change Notification

Notification Description

A notification is sent when the meeting status is changed.

Method Definition

1
- (void)onConfStatusChanged:(HWMConfStatus)status;

Sample Code

- (void)onConfStatusChanged:(HWMConfStatus)status {
    switch (status) {
        case HWMConfStatusIdle:
            NSLog(@"Meeting ended.");
            break;
        case HWMConfStatusIncoming:
            NSLog(@"Incoming call.");
            break;
        case HWMConfStatusCallingOut:
            NSLog(@"Outgoing call.");
            break;
        case HWMConfStatusConnected:
            NSLog(@"Connected.");
            break;

        default:
            break;
    }
}

Precautions

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

Parameter Description

Table 1 Parameter description

Parameter

Type

Description

status

HWMConfStatus

Meeting call status.

Table 2 Enumerated values of HWMSDKConfStatus

Enumerated Value

Description

HWMConfStatusIdle = 0

Idle state. That is, the meeting is ended.

HWMConfStatusIncoming

Incoming call.

HWMConfStatusCallingOut

Outgoing call.

HWMConfStatusConnected

Connected.