Capturing user "leave meeting" events

@carson.zoom

I apologize, I should have been more clear. I found the onClickEndButton callback, but that is invoked when the user clicks the “Leave” button:

Clicking this button doesn’t leave the meeting, it simply shows the secondary “Leave Meeting” button:

This secondary button is the one I wish to listen to, as clicking this button causes the user to leave the meeting. There exists another callback, onClickLeave, however this appears to duplicate the functionality of the onClickEndButton callback and is not invoked when this secondary button is clicked. How can I listen for clicks of this button?