A video device selector component which can be used to select video devices.
| Property | Type | Required | Default | Description |
|---|---|---|---|---|
rtk_ds_label |
string |
❌ | Video |
Custom label text |
| Method | Parameters | Description |
|---|---|---|
activate |
meeting: RealtimeKitClient |
Bind the selector to the meeting state |
disableLabel |
- | Disable the label text above the dropdown |
applyDesignTokens |
designTokens: RtkDesignTokens |
Apply custom design tokens for theming |
<com.cloudflare.realtimekit.ui.view.RtkVideoDeviceSelector
android:id="@+id/videoSelector"
app:rtk_ds_label="Camera"
android:layout_width="0dp"
android:layout_height="wrap_content" />val videoSelector = findViewById<RtkVideoDeviceSelector>(R.id.videoSelector)
videoSelector.activate(meeting)