ConfigureWebinerAlertView
Overview
Methods and properties for managing Webinar AlertView. This will create an alert which will tells user about their Audio and Video status before joining the webinar stage.
Topics:
Creating an alertview
init(meeting: RealtimeKitClient, participant: RtkRemoteParticipant) {
Parameters:
Required: meeting: Current ongoing meeting object. participant: Participant to join stage.
Show AlertView to user
func show(on view: UIView)
Parameters:
Required: view: Parent View on which this alertView will be shown
Button with functionality to join stage
var confirmAndJoinButton: RtkButton {get}
Define it as follows
public let confirmAndJoinButton: RtkButton = {
let button = RtkUIUtility.createButton(text: "Confirm & join stage")
return button
}()
Button with functionality to remove the alertview
var cancelButton: RtkButton {get }
Define it as follows
public let cancelButton: RtkButton = {
let button = RtkUIUtility.createButton(text: "Cancel")
button.backgroundColor = rtkSharedTokenColor.background.shade800
return button
}()