Skip to content

RtkWebinarControlBarView

A pre-built control bar for webinar meetings. Contains mic toggle, camera toggle, webinar stage toggle, more toggle, and leave button.

Methods

MethodParametersDescription
activatemeeting: RealtimeKitClientBind the control bar to the meeting state
deactivate-Unbind the control bar and remove event listeners
refreshStageToggleButton-Force a refresh of the stage toggle button state

Usage Examples

Basic Usage

<com.cloudflare.realtimekit.ui.view.controlbars.RtkWebinarControlBarView
android:id="@+id/rtk_webinar_control_bar"
android:layout_width="match_parent"
android:layout_height="wrap_content" />

With Methods

Kotlin
val controlBar = findViewById<RtkWebinarControlBarView>(R.id.rtk_webinar_control_bar)
controlBar.activate(meeting)