← Cloudflare Realtime / realtime / realtimekit / ui-kit / api-reference / android
RtkSettingsFragment
A settings dialog that contains audio and video device selectors and a self-preview tile. Used in landscape orientation.
Methods
| Method | Parameters | Description |
|---|---|---|
show |
fragmentManager: FragmentManager, tag: String? |
Display the settings dialog |
setBottomSheetEnabled |
onClick: () -> Unit |
Enable a button to switch to the bottom sheet view |
Usage Examples
Basic Usage
val settingsFragment = RtkSettingsFragment()
settingsFragment.show(fragmentManager, "SETTINGS_TAG")