Description
when I use zoomsdk program my app in windows and osx . I don’t want invite other guys. its a private a meeting, so I want to hide this button and close invite, but I had no idea.
Hi 700985,
Thanks for using Zoom SDK. We have an interface in our Electron addon:
MeetingConfig_EnableInviteButtonOnMeetingUI
You can refer to the method MeetingConfig_EnableInviteButtonOnMeetingUI: function (opts) in the zoom_meeting_configuration.js file to hide/show this invite button.
Hi daimoon,
Thanks for the detail. There are 2 issues here:
Regarding the parameter shown in the red rectangle, the {show:'not'} should be {show:false}.
Please change the position where you call this method, do not call this method right after the authentication. The best practice is to call this method in the meetingstatus_callback, when the meeting status is MEETING_STATUS_INMEETING, call this method.
I had use ‘console.log’ print it In the MeetingConfig_EnableInviteButtonOnMeetingUI then ’_addon.MeetingConfig_EnableInviteButtonOnMeetingUI’ echo like this
For mac electron sdk, ‘MeetingConfig_EnableInviteButtonOnMeetingUI’ function havn’t been implement, we have implement this function in objective-c .
You can set ‘disableToolbarInviteButtonClickOriginAction’ property to ‘true’ in ZoomSDKMeetingConfiguration.h to disable the action of invite button, and call ‘- (ZoomSDKError)hideSDKButtons:(BOOL)hide ButtonType:(SDKButton)button’ with param ‘button’ with ‘ToolBarInviteButton’ to hide the invite button. Please wrapper the code to js by yourself.
Thanks, but I am’t IOS developer. I try to do , it not work.
I ask IOS developer ,He said .h files can’t change property.
How to change ‘property’ in .h file?
Cloud you share ‘ZoomSDK.framework’ to me?
Thanks, Derain_Yuan.
meetingConfigObj(‘setDisableToolbarInviteButtonClickOriginAction’, true);
this func is work for me! but ‘hideSDKButtons’ is wrong! I dont know , how to change this.
meetingConfigObj(“hideSDKButtons”,true,‘ToolBarInviteButton’);
Thanks for the reply. What is the SDK version you are using? If you are using the Electron SDK:https://github.com/zoom/zoom-sdk-electron and like to hide the invite button, you could use the interface MeetingConfig_EnableInviteButtonOnMeetingUI as Bella mentioned above.