# RtkLivestreamToggleButton

A toggle button for starting or stopping a livestream.

## Methods

| Method     | Parameters                   | Description                          |
| ---------- | ---------------------------- | ------------------------------------ |
| `activate` | `meeting: RealtimeKitClient` | Bind the button to the meeting state |

## Usage Examples

### Basic Usage

```xml
<com.cloudflare.realtimekit.ui.view.RtkLivestreamToggleButton
    android:id="@+id/rtk_livestream_toggle"
    android:layout_width="wrap_content"
    android:layout_height="wrap_content" />
```

### With Methods

```kotlin
val livestreamToggle = findViewById<RtkLivestreamToggleButton>(R.id.rtk_livestream_toggle)
livestreamToggle.activate(meeting)
```