Skip to content

RtkWebinarStageToggleButton

Component that lets you add provision for the local user to join the webinar stage.

Methods

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

Usage Examples

Basic Usage

<com.cloudflare.realtimekit.ui.view.controlbarbuttons.webinarstagetogglebutton.RtkWebinarStageToggleButton
android:id="@+id/rtk_webinar_stage_toggle"
android:layout_width="wrap_content"
android:layout_height="wrap_content" />

With Methods

Kotlin
val stageToggleButton = findViewById<RtkWebinarStageToggleButton>(R.id.rtk_webinar_stage_toggle)
stageToggleButton.activate(meeting)