Control bar for group calls that extends RtkControlBar with microphone and video toggle buttons.
Parameter Type Required Default Description meetingRealtimeKitClient✅ - The RealtimeKit client instance delegateRtkTabBarDelegate?✅ - Delegate for handling tab bar interactions presentingViewControllerUIViewController✅ - View controller used for presenting modal screens appearanceRtkControlBarAppearance❌ RtkControlBarAppearanceModel()Appearance configuration for the control bar settingViewControllerCompletion(() -> Void)?❌ nilClosure called when the settings view controller dismisses onLeaveMeetingCompletion(() -> Void)?❌ nilClosure called when the participant leaves the meeting
Property Type Required Default Description dataSourceRtkMeetingControlBarDataSource?❌ nilData source for customizing control bar buttons
let controlBar = RtkMeetingControlBar (
presentingViewController : self
view. addSubview ( controlBar )
With leave meeting handler
let controlBar = RtkMeetingControlBar (
presentingViewController : self ,
onLeaveMeetingCompletion : {
self . navigationController ? .popViewController ( animated : true )
view. addSubview ( controlBar )