Capture onBackPress while in meeting

Is there a way to capture the onBackPress key event so that if a meeting is in progress, it will pop up the Zoom alert dialogue that appears when the Leave button is pressed in top right corner? The ideal UX I am looking for is the user should not be allowed to exit the video by constantly tapping on the back button.

Hi

Thanks for the post. To customize the onBackPress event, you may refer to the answer here:java.lang.UnsatisfiedLinkError has been throwed When initialize ZoomSDK

Thanks!