powerguan
(Power)
#1
Description
I found a new invite menu item is added in ParticipantButton. I want to remove it, but I don’t know how to implement it.
Which version?
v5.2.41735.0929
To Reproduce(If applicable)
Steps to reproduce the behavior:
- Go to ‘…’
- Click on ‘…’
- Scroll down to ‘…’
- See error
Screenshots
If applicable, add screenshots to help explain your problem.
Smartphone (please complete the following information):
- Device: [e.g. iPhone6]
- OS: [e.g. iOS8.1]
- Version [e.g. 22]
Additional context
Add any other context about the problem here.
alexmayo
(Alex Mayo)
#2
Hi,
Please see the following documentation: https://zoom.github.io/zoom-sdk-windows/class_i_meeting_u_i_elem_configuration.html#a77ec810cbf772b1744b032d158057c12
To hide the Invite UI, use EnableInviteButtonOnMeetingUI(FALSE)
Thanks,
Alex
powerguan
(Power)
#3
this function can hide invite button in toolbar. but can’t hide invite menu item and invite buttion under Participant list dialog.
Hi @powerguan,
Thanks for the post. Please have a try with the following(You may refer to:https://github.com/zoom/zoom-sdk-electron/blob/e523162188efcd8bdf2e33ef0c70c2554bd07839/lib/node_add_on/mac/meeting_config_service.mm#L40):
ZoomSDKMeetingService *service = [[ZoomSDK sharedSDK] getMeetingService];
if (!service){
return ZNSDKERR_SERVICE_FAILED;
}
ZoomSDKMeetingConfiguration *config = [service getMeetingConfiguration];
if (service && config) {
config.hideInvitButtonOnHCWindow = (bEnable == YES) ? NO : YES;
}
Hope this helps. Thanks!
powerguan
(Power)
#5
Hi @Carson_Chen
Thank your help, follow your suggestion, I hide this button.
Glad to be helpful. I will go ahead and close this thread. Please feel free to create another post if any other questions. 