After minimizing the meeting I am able to see the afterMeetingMinimized callback invoked. Can you please confirm that you are using the default meeting UI? Also, what device make/model/Android version are you running?
Thanks for the additional information. I am also subscribing the ZoomUIDelegate in the onCreate method of my Activity which extends MeetingActivity. Are you certain that the SDK is using your Activity and not its own instance? You could check this by adding a log statement in the onCreate method before or after your setZoomUIDelegate call.
Thanks for the suggestion. I have added logs before and after the setZoomUIDelegate() method in my ZoomCustomUIActivity’s onCreate() method and logs are showing correctly i.e. My activity onCreate() method is called when zoom call start/join.
2021-03-31 16:17:14.783 16774-16774/com.pulsara.dev.debug E/ZoomCustomUIActivity: ZoomCustomUIActivity oncreate before setZoomUIDelegate()
2021-03-31 16:17:14.783 16774-16774/com.pulsara.dev.debug E/ZoomCustomUIActivity: ZoomCustomUIActivity oncreate after setZoomUIDelegate()
But when I tap on Minimize Meeting option then afterMeetingMinimized() callback not called.
I have tried another approach:
Override the onMeetingConnected() method in My activity and moved setZoomUIDelegate() to onMeetingConnected(). Now when I tap on minimize meeting option from more menu then the afterMeetingMinimized() callback called but zoom call is not minimized and picture-in-picture window is showing on top of Zoom call UI, is this is the expected behavior?
That’s great to hear that the callback is being correctly invoked now! Yes, this is expected behavior. You can navigate through your app after receiving that callback (e.g. starting a new Activity, calling finish() on the MeetingActivity, etc.) and click on the minimized meeting to return to the full-sized meeting.