If you are looking to programmatically share a specific window or display, you will need to manually retrieve the ID as the SDK does not provide any methods for this.
Alternatively, if you would like to just use the default share UI, that can be done by calling showMeetingComponent with a component param of MeetingComponent_ShareSelectWindow.
Hi @jon.zoom Thank you for your reply, I see the MeetingComponent_ShareSelectWindow but I am not able to figure out where do I have to add this in the demo application.
This would display the same share UI as the client, so you could call this when the share button is clicked in the meeting UI.
I am not able to figure out where do I have to add this in the demo application.
Are you using the custom UI implementation in the SDK sample app? If so, the share button should trigger the onShareButtonClicked method found in ZMSDKMeetingMainWindowController.m. The implementation in the sample app currently shows a custom share selection UI, but you could update that method to display the default share UI.
We have identified an issue when passing in NSZeroRect to the showMeetingComponent method. We will have a fix out for this in the next release. If you weren’t already aware, the most up-to-date release information can be found either in our release notes or the #new-releases category.