Subscribing to Role Change Notifications
Function
A notification is sent when your role changed (valid only for the macOS platform).
Function Prototype
setOnSelfRoleChangedCB(onSelfRoleChanged: (role: ConfRole) => void): voidsetOnSelfRoleChangedCB(onSelfRoleChanged: (role: ConfRole) => void): void
Request Parameters
Parameter | Mandatory | Type | Description |
---|---|---|---|
onSelfRoleChanged | Yes | (role: ConfRole) => void | Notifies you when your role changed (valid only for the macOS platform). |
Return Values
void
Notification Method Parameters
(role: ConfRole) => void
Parameter | Type | Description |
---|---|---|
role | ConfRole | Role in the meeting. |
Enumeration Name | Enumerated Value | Description |
---|---|---|
HWM_CONF_ROLE_ATTENDEE | 0 | Common participant. |
HWM_CONF_ROLE_HOST | 1 | Host. |
HWM_CONF_ROLE_AUDIENCE | 2 | Attendee. |
HWM_CONF_ROLE_COHOST | 3 | Co-host. |
HWM_CONF_ROLE_WAITING | 4 | Waiting room member. |
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