Help Center/
Meeting/
Client SDK Reference/
macOS SDK/
Notification Reference/
Service Message Notification/
Role Change Notification
Updated on 2024-07-30 GMT+08:00
Role Change Notification
Notification Description
A notification is sent when a role changes.
Method Definition
1
|
- (void)onSelfRoleChanged:(HWMConfRoleType)confRole; |
Sample Code
- (void)onSelfRoleChanged:(HWMConfRoleType)confRole { switch (confRole) { case HWMConfRoleTypeAttendee: NSLog(@"Participant"); break; case HWMConfRoleTypeAudience: NSLog(@"Attendee"); break; case HWMConfRoleTypeChairman: NSLog(@"Host"); break; default: break; } }
Precautions
- Subscribe to the HWMBizNotificationHandler delegate during SDK initialization or set the delegate on the target page.
Parameter Description
Parameter |
Type |
Description |
---|---|---|
confRole |
Role. |
Parent topic: Service Message Notification
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.
The system is busy. Please try again later.
For any further questions, feel free to contact us through the chatbot.
Chatbot