RtkLeaveDialog
Overview
This class is use to show UIAlertView with various option present to user before ending the meeting.
Topics:
Creating a Leave Dialog shown to user.
init(meeting: RealtimeKitClient, onClick:((RtkLeaveDialogAlertButtonType)->Void)? = nil)
Creates a RtkLeaveDialog
to end meeting with options to be selected by user of type RtkLeaveDialogAlertButtonType
.
Parameters:
Required
meeting: Default meeting object
Optional
onClick: Callback is used to tell the action taken by user. Action is of type RtkLeaveDialogAlertButtonType
Show alert to user.
func show(on viewController: UIViewController)
Call this method to present an alert on viewController passed.
Parameters:
Required
viewController: ViewController on which you want to present this alert.