Skip to content

Latest commit

 

History

History
51 lines (38 loc) · 1.43 KB

File metadata and controls

51 lines (38 loc) · 1.43 KB
pcx_content_type navigation
title RtkSetupScreen
description API reference for RtkSetupScreen component (Flutter Library)
products
realtime

A pre-built setup screen shown before joining a meeting. Allows users to edit their display name and configure media settings.

:::note RtkProvider must be an ancestor of this widget in the widget tree. :::

Properties

Property Type Required Default Description
selectedAudioDevice AudioDevice? - Currently selected audio device (positional parameter)
selectedVideoDevice VideoDevice? - Currently selected video device (positional parameter)

:::note Both parameters are positional. Pass them without named arguments. :::

Usage Examples

Basic Usage

import 'package:realtimekit_ui/realtimekit_ui.dart';

RtkSetupScreen(
  selectedAudioDevice,
  selectedVideoDevice,
)

With Properties

import 'package:realtimekit_ui/realtimekit_ui.dart';

final selectedAudioDevice = meeting.getSelectedAudioDevice();
final selectedVideoDevice = meeting.getSelectedVideoDevice();

RtkSetupScreen(
  selectedAudioDevice,
  selectedVideoDevice,
)