Hi,
We are starting to experiment with the Zoom SDK within our PDF Viewer Xamarin Forms App firstly looking at the android implementation.
I have included the code of how we are joining the meeting after instantiating the Zoom Service at the bottom of this post. This is wired up to a button on our PDF Viewer and it fires up the meeting full screen.
We would like a way to join the meeting but with the option of opening it as a floating window or screen split so that our PDF Viewer can still be viewed at the same time. Either a draggable window with expand and minimise, or a 50% split on the screen between the Zoom meeting and the PDF viewer. Is this at all possible?
Thanks,
public class ZoomService : Java.Lang.Object, IZoomService, IZoomSDKInitializeListener
{
ZoomSDK zoomSDK;
public ZoomService()
{
}public void InitZoomLib(string appKey, string appSecret) { zoomSDK = ZoomSDK.Instance; var zoomInitParams = new ZoomSDKInitParams { AppKey = appKey, AppSecret = appSecret, }; zoomSDK.Initialize(Android.App.Application.Context, this, zoomInitParams); var meetingService = zoomSDK.MeetingService; zoomSDK } public bool IsInitialized() => zoomSDK?.IsInitialized ?? false; public void JoinMeeting(string meetingId, string displayName, string meetingPassword) { if (IsInitialized()) { var meetingService = zoomSDK.MeetingService; meetingService.JoinMeetingWithParams(Android.App.Application.Context, new JoinMeetingParams { MeetingNo = meetingId, DisplayName = displayName, }); } } public void OnZoomAuthIdentityExpired() { } public void OnZoomSDKInitializeResult(int p0, int p1) { }
private void JoinZoom()
{
IZoomService zoomService = new ZoomService();
zoomService.InitZoomLib("blanked out for sharing", "blanked out for sharing");
if (!zoomService.IsInitialized())
{
return;
}
zoomService.JoinMeeting("blanked out for sharing", "ZoomSample", "blanked out for sharing");
}