DyteAudioButtonControlBar
Overview
Subclass of DyteControlBarButton This button is use to implement the action for mute/unmute microphone for the ongoing meeting.
Topics:
Creating a Audio control button which you mostly add inside Control Bar
init(meeting: DyteMobileClient, onClick:((DyteAudioButtonControlBar)->Void)? = nil, appearance: DyteControlBarButtonAppearance = AppTheme.shared.controlBarButtonAppearance)
Creates a DyteAudioButtonControlBar
with multiple parameters.
Parameters:
Required
meeting: Current ongoing meeting object.
Optional
onClick: Closure that you passed to get callback when user click this button.
appearance: Any type which conforms to protocol DyteControlBarButtonAppearance
Override the onClick action.
open func onClick(button: DyteAudioButtonControlBar)
You can override this method inside the subclass of DyteAudioButtonControlBar
to customize the functionality when user presses this button.