Show Leave Dialog

How to show the leave dialog with v5.11.3.7251?

With the previous SDK version, showLeaveDialog() this method was working for: MeetingActivity(), but now getting error

Also getting an error with the following method as well protected override fun onMeetingConnected() with the latest version of SDK