Subscribing to Incoming Call Notifications
Function
A notification is sent when you received an incoming meeting call.
Function Prototype
setOnConfIncomingNotifyCB(onConfIncomingNotify: (confIncomingInfo: ConfIncomingInfo) => void): voidsetOnConfIncomingNotifyCB(onConfIncomingNotify: (confIncomingInfo: ConfIncomingInfo) => void): void
Request Parameters
Parameter | Mandatory | Type | Description |
---|---|---|---|
onConfIncomingNotify | Yes | (confIncomingInfo: ConfIncomingInfo) => void | Notifies you of an incoming meeting call. |
Return Values
void
Notification Method Parameters
(confIncomingInfo: ConfIncomingInfo) => void
Parameter | Type | Description |
---|---|---|
confIncomingInfo | ConfIncomingInfo | Incoming call information. |
Parameter | Type | Description |
---|---|---|
state | ConfComingState | Incoming call status. |
mediaType | MediaType | Meeting media type. |
isP2PConf | boolean | Whether the meeting is an instant meeting. |
confId | string | Meeting ID. |
vmrConfId | string | ID of meetings held in a cloud meeting room. |
Enumeration Name | Enumerated Value | Description |
---|---|---|
HWM_CONF_COMING_STATE_START | 1 | Initial state. The phone of the called participant is ringing. |
HWM_CONF_COMING_STATE_ACCEPT | 2 | The call was answered. |
HWM_CONF_COMING_STATE_REJECT | 3 | The call was rejected. |
HWM_CONF_COMING_STATE_TIMEOUT | 4 | The called party did not respond, the call timed out, or the caller hung up the call. |
Enumeration Name | Enumerated Value | Description |
---|---|---|
HWM_MEDIA_TYPE_AUDIO | 0 | Audio. |
HWM_MEDIA_TYPE_VIDEO | 1 | Video. |
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot