Obtaining Your Role in a Meeting
Function
This API is used to obtain your role in a meeting (valid only for the macOS platform).
Function Prototype
getSelfRole(onGetSelfRoleResult?: (ret: SDKERR, reason: string, selfRole: ConfRole) => void): voidgetSelfRole(onGetSelfRoleResult?: (ret: SDKERR, reason: string, selfRole: ConfRole) => void): void
Request Parameters
Parameter | Mandatory | Type | Description |
---|---|---|---|
onGetSelfRoleResult | Yes | (ret: SDKERR, reason: string, selfRole: ConfRole) => void | Callback for obtaining the role in the meeting. |
Return Values
void
Callback Method Parameters
(ret: SDKERR, reason: string, selfRole: ConfRole) => void
Parameter | Type | Description |
---|---|---|
ret | For details about SDKERR, see Error Code Reference. | Error code. |
reason | string | Error description. |
selfRole | 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