Skip to main content

RtkSwitchCameraButtonControlBar

Overview

This button is use to implement the action for toggling the Camera from front to back and vice-versa.

Topics:

Creating a Camera toggles button.

 init(meeting: RealtimeKitClient)

Parameters:

meeting: Current ongoing meeting object.

Override the onClick action.

func onClick(button: RtkControlBarButton)

You can override this method inside the subclass of RtkSwitchCameraButtonControlBar to customize the functionality when user presses this button.