RtkLivestreamToggleButton
A toggle button for starting or stopping a livestream.
| Method | Parameters | Description |
|---|---|---|
activate | meeting: RealtimeKitClient | Bind the button to the meeting state |
<com.cloudflare.realtimekit.ui.view.RtkLivestreamToggleButton android:id="@+id/rtk_livestream_toggle" android:layout_width="wrap_content" android:layout_height="wrap_content" />val livestreamToggle = findViewById<RtkLivestreamToggleButton>(R.id.rtk_livestream_toggle)livestreamToggle.activate(meeting)