Obtaining the Participant List
GetAttendeeList
API Description
This API is used to obtain the participant list in a meeting.
Precautions
- This API can be called only during a meeting.
Method Definition
1
|
HWM_SDK_AGENT_API hwmsdk::HwmErrCode GetAttendeeList(); |
Callback Function
1
|
virtual void OnGetAttendeeListResult(const HwmAttendeeInfo* attendeeList, unsigned int length) override{}; |
Parameter Description
HWMAttendeeInfo parameters
Parameter |
Description |
---|---|
CONF_ATTENDEE_STATE_IN_CONF |
The participant is in the meeting. |
CONF_ATTENDEE_STATE_CALLING |
The participant is being called. |
CONF_ATTENDEE_STATE_LEAVED |
The participant has left the meeting. |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 |
/** * Obtaining the Participant List */ void demoSettingDlg::OnBnClickedButtonGetAttendeelist() { hwmsdkagent::GetAttendeeList(); } /** * Callback for obtaining the participant list. */ void demoCallbackProc::OnGetAttendeeListResult(const HwmAttendeeInfo* attendeeList, unsigned int length) { std::vector< HwmAttendeeInfo> attendeeListInfo(attendeeList, attendeeList + length); } |
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