An audio device selector component which can be used to select audio devices.
| Property | Type | Required | Default | Description |
|---|---|---|---|---|
rtk_ds_label |
string |
❌ | Audio |
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.RtkAudioDeviceSelector
android:id="@+id/audioSelector"
app:rtk_ds_label="Audio"
android:layout_width="0dp"
android:layout_height="wrap_content" />val audioSelector = findViewById<RtkAudioDeviceSelector>(R.id.audioSelector)
audioSelector.activate(meeting)