Skip to main content

DyteWebinarAlertView

Overview

A confirmation dialog screen which is shown

  • When the user's request to Join Stage is approved by the meeting host.
  • When host invites the localUser to join stage.

Topics:

Creating a Audio control button which you mostly add inside Control Bar

init(meeting: DyteMobileClient, participant: DyteJoinedMeetingParticipant) {

Creates a DyteAudioButtonControlBar with multiple parameters.

Parameters:

Required
meeting: Current ongoing meeting object.
participant: Participant to join stage.

For example below code to join stage.

let alert = WebinarAlertView(meetingClient: meeting, participant: meeting.localUser)
alert.layer.zPosition = 1.0
baseController.view.addSubview(alert)
alert.confirmAndJoinButton
.addTarget(self,
action: #selector(alertConfirmAndJoinClick(button:)),
for: .touchUpInside)
alert.cancelButton
.addTarget(self,
action: #selector(alertCancelButton(button:)),
for: .touchUpInside)