Description
So, the zoom SDK in my app is working fine.
However, I had a specific condition in my app which I wanted to apply. So, the user joins the meeting from one java activity in my app but after he leaves the meeting, I want it to start another activity. Can you please confirm the use of zoom SDK and the code for it…?
Smartphone (please complete the following information):
When the current user has left the meeting successfully, you should see the onMeetingLeaveComplete callback. Please let me know if you are running into any issues with using this callback and I will be happy to help.
Hey thanks for that, it was mostly what I needed.
But still not sure how to implement the method in the meeting.
Please confirm that…
Like I know I should copy the code as a method, but where should I implement the method when the meeting joins??
The callback I linked to is a method in the InMeetingServiceListener interface which you would need to implement. You would also need to pass your instance of InMeetingServiceListener into the InMeetingService#addListener method.
Ummm… Sorry for the trouble but I am still not sure…
Whatever you are saying is not getting implemented in my code and it doesn’t match…
Can you give me some sort of GitHub implementation link or video link for this…
The code to reproduce what I have till now:-
Now where do I implement the rest here so that when the user leaves the meeting or is kicked out by the host, another activity MainActivity.java will be opened?
It doesn’t look like you’ve implemented the InMeetingServiceListener interface anywhere in the code you’ve provided. You must implement this interface and create a concrete instance of it to pass into the addListener method. For example, if your listener instance was named inMeetingListener, you could call ZoomSDK.getInstance().getInMeetingService().addListener(inMeetingListener);.
Thanks for that reply @jon.zoom !!
I am still finding it complicated to connect…
And as I was searching the net on what you gave me…
I found the following thread from 2020 and I think it should work…
I’m however not able to understand how to use this to run if the person has been kicked by the host? Please confirm…
Can you please let me know what specifically you need further clarification around?
I found the following thread from 2020 and I think it should work…
This thread seems to be referencing how to implement something within a custom meeting UI. If you are using the default Zoom UI provided by the SDK, it will automatically navigate back to the previous Activity on the stack when exiting.