RtkWebinarStageToggleButton
Component that lets you add provision for the local user to join the webinar stage.
| 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 |
<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" />val stageToggleButton = findViewById<RtkWebinarStageToggleButton>(R.id.rtk_webinar_stage_toggle)stageToggleButton.activate(meeting)