Skip to content

非公式 / UnofficialCloudflare, Inc. 非提携。アカウント情報は入力しないでください。Not affiliated with Cloudflare, Inc. Do not enter Cloudflare credentials here.Official docsこのサイトについてプライバシー

RtkSettings

最終更新 Markdown で表示Agent セットアップ

音声デバイスの選択、映像デバイスの選択、ネットワーク接続状態を含む設定ダイアログです。

プロパティ

プロパティ 型 必須 デフォルト 説明
meeting RealtimeKitClient ✅ - RealtimeKit のミーティングインスタンス
size 'lg' | 'md' | 'sm' | 'xl' ❌ 'sm' サイズのバリアント
states States ❌ - UI の状態オブジェクト
iconPack IconPack ❌ defaultIconPack カスタムアイコンパック
t RtkI18n ❌ - i18n 翻訳関数
onClose any ❌ - 設定ダイアログを閉じるコールバック

使用例

基本的な使い方

import { RtkSettings } from "@cloudflare/realtimekit-react-native-ui";

function MyComponent() {
	return <RtkSettings meeting={meeting} />;
}

プロパティを指定する場合

import { RtkSettings } from "@cloudflare/realtimekit-react-native-ui";

function MyComponent() {
	return (
		<RtkSettings
			meeting={meeting}
			size="md"
			onClose={() => setSettingsOpen(false)}
		/>
	);
}

役に立ちましたか?