Getting Started
セットアップのプロンプトをコピーして、インストールの手順とこのプラグインのフルマークダウンガイドを含む。
Set up this Capacitor plugin in the project.
Use the package manager already used by the project.
Install these package(s): `@capgo/capacitor-realtimekit`
Run the required Capacitor sync/update step after installation.
Read this markdown guide for the full setup steps: https://raw.githubusercontent.com/Cap-go/website/refs/heads/main/apps/docs/src/content/docs/docs/plugins/realtimekit/getting-started.mdx
Use that guide for platform-specific steps, native file edits, permissions, config changes, imports, and usage setup.
If that guide references other docs pages, read them too.
インストール
「インストール」のセクションCapgoのAIアシストされたセットアップを使用してプラグインをインストールできます。AIツールにCapgoスキルを追加するには、以下のコマンドを実行してください。
npx skills add https://github.com/Cap-go/capgo-skills --skill capacitor-plugins次に、以下のプロンプトを使用してください:
Use the `capacitor-plugins` skill from `Cap-go/capgo-skills` to install the `@capgo/capacitor-realtimekit` plugin in my project.Manual Setup を使用する場合は、以下のコマンドを実行してプラグインをインストールし、以下のプラットフォーム固有の指示に従ってください。
bun add @capgo/capacitor-realtimekitbunx cap syncImport
「Import」のセクションimport { CapacitorRealtimekit } from '@capgo/capacitor-realtimekit';API の概要
「API の概要」のセクションinitialize
「initialize」のセクションRealtimeKit プラグインを使用する他のメソッドの前に初期化します。
import { CapacitorRealtimekit } from '@capgo/capacitor-realtimekit';
await CapacitorRealtimekit.initialize();startMeeting
「startMeeting」セクションAndroidおよびiOSで使用可能なビルトインUIを使用して会議を開始します。
import { CapacitorRealtimekit } from '@capgo/capacitor-realtimekit';
await CapacitorRealtimekit.startMeeting({ authToken: 'your-auth-token', enableAudio: true, enableVideo: true,});型参照
「型参照」セクションStartMeetingOptions
「StartMeetingOptions」セクション会議を開始するための設定オプションです。
export interface StartMeetingOptions { /** * Authentication token for the participant. * This token is required to join the Cloudflare Calls meeting. * * @since 7.0.0 */ authToken: string;
/** * Whether to join with audio enabled. * Default is true. * * @default true * @since 7.0.0 */ enableAudio?: boolean;
/** * Whether to join with video enabled. * Default is true. * * @default true * @since 7.0.0 */ enableVideo?: boolean;}真実の源
「真実の源」セクションこのページはプラグインのソースから生成されています。 src/definitions.ts. upstream の API が変更されたときに再度 Sync を実行してください。
Getting Started から続けてください。
Getting Started から続けてください。あなたが「Getting Started から続けてください。」を使用している場合 Getting Started から続けてください。 ダッシュボードと API の作業を計画するために、接続してください。 @capgo/capacitor-realtimekit を使用して native capability を使用する @capgo/capacitor-realtimekit の場合 API の概要 API の実装詳細について __CAPGO_KEEP_0__ の概要 実装詳細について API キー API キーと デバイス デバイスの実装詳細