Skip to content

RtkWebinarStageToggleButton

Last updated View as MarkdownAgent setup

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

Methods

Method Parameters Description
activate meeting: RealtimeKitClient Bind 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

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

Was this helpful?