Notification of Opening the Contact Selection Window
Notification Description
A notification is sent when the SDK opens the contact selection window for a participant to return custom contacts.
Method Definition
1 2 |
- (void)openContactSelectWindow:(nullable NSArray<HWMAttendeeInfo *> *)param scene:(HWMSelectedContactScene *)scene completeHander:(void(^)(NSArray<HWMAttendeeInfo *> *_Nullable result))handler; |
Sample Code
/// Customize contacts. - (void)openContactSelectWindow:(NSArray<HWMAttendeeInfo *> *)param scene:(HWMSelectedContactScene)scene completeHander:(void (^)(NSArray<HWMAttendeeInfo *> * _Nullable))handler { HWMSelectContactViewController *contact = [[HWMSelectContactViewController alloc] init]; [contact setSelectAttendeeInfoHandler:^(NSArray *attendees) { if (handler) { handler(attendees); } }]; self.selectContactVC = contact; [self presentViewControllerAsModalWindow:contact]; }
Precautions
- Set the contactUIHandler proxy during SDK initialization or set the proxy on the target page.
Parameter Description
Parameter |
Type |
Description |
---|---|---|
param |
NSArray<HWMAttendeeInfo *> * |
Existing contacts in the meeting. |
scene |
Contact selection scenario. By default, it is in the meeting. |
|
handler |
void(^)(NSArray<HWMAttendeeInfo *> *_Nullable result) |
Result. A participant needs to encapsulate selected contacts into HWMAttendeeInfo and call the handler to return it to the SDK. |
Parameter |
Description |
---|---|
HWMSelectedContactInConf = 0 |
In the common meeting, modal and non-modal dialog boxes can be used for window display. |
HWMSelectedContactInShare |
In the sharing scenario of the meeting, non-modal dialog boxes are used for window display. Modal dialog boxes are not recommended. |
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