Help Center/ Meeting/ Client SDK Reference/ macOS SDK/ Notification Reference/ Notification of Incoming Meeting Call Status Changes
Updated on 2023-03-23 GMT+08:00

Notification of Incoming Meeting Call Status Changes

Notification Description

A notification is sent when a meeting call is received.

Method Definition

- (void)onConfIncoming:(HWMConfIncomingInfo *)confIncomingInfo

Sample Code

- (void)onConfIncoming:(HWMConfIncomingInfo *)confIncomingInfo {
     NSLog(@"%@", [confIncomingInfo yy_modelDescription]);
}

Precautions

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

Parameter Description

Table 1 HWMConfIncomingInfo parameters

Parameter

Type

Description

state

HWMConfIncomingState

Incoming call status.

mediaType

HWMSDKConfMediaType

Meeting media type.

confId

NSString

Meeting ID.

Table 2 Enumerated values of HWMConfIncomingState

Enumerated Value

Description

HWMConfIncomingStateStart

Initial state. The phone of the called party is ringing.

HWMConfIncomingStateAccept

The call is answered.

HWMConfIncomingStateReject

The call is rejected.

HWMConfIncomingStateTimeout

The called party does not respond, the call times out, or the calling party has hung up.

Table 3 Enumerated values of HWMSDKConfMediaType

Enumerated Value

Description

HWMSDKConfMediaTypeAudio

Audio.

HWMSDKConfMediaTypeVideo

Video.