Updated on 2024-09-13 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 delegate during SDK initialization or set the delegate on the target page.

Parameter Description

Table 1 HWMConfIncomingInfo description

Parameter

Type

Description

state

HWMConfIncomingState

Incoming call status.

mediaType

HWMSDKConfMediaType

Meeting media type.

confId

NSString

Meeting ID.

vmrConfId

NSString

ID of the meeting held in a cloud meeting room.

isP2PConf

BOOL

Whether the meeting is an instant meeting.

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.