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.
설치
설치 제목bun add @capgo/capacitor-realtimekitbunx cap syncimport
import 제목import { CapacitorRealtimekit } from '@capgo/capacitor-realtimekit';API Overview
API 개요initialize
__CAPGO_KEEP_0__ 초기화__CAPGO_KEEP_0__ 초기화를 통해 RealtimeKit 플러그인을 사용하기 전에 초기화합니다.
import { CapacitorRealtimekit } from '@capgo/capacitor-realtimekit';
await CapacitorRealtimekit.initialize();startMeeting
__CAPGO_KEEP_0__ 회의 시작내장 UI를 사용하여 회의를 시작합니다. Android 및 iOS에서만 사용 가능합니다.
import { CapacitorRealtimekit } from '@capgo/capacitor-realtimekit';
await CapacitorRealtimekit.startMeeting({ authToken: 'your-auth-token', enableAudio: true, enableVideo: true,});StartMeetingOptions
__CAPGO_KEEP_0__ 회의 시작 옵션회의 시작 옵션을 구성합니다.
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업스트림에서 공개된 API이 변경되면 다시 싱크를 실행하세요.
Getting Started에서 계속
Getting Started에서 계속이 플러그인을 사용하시는 경우 Getting Started 대시보드와 API 연산을 계획하고 싶으시다면 Using @capgo/capacitor-realtimekit Using @capgo/capacitor-realtimekit API 개요 API 개요에 대한 구현 세부 정보를 위해 소개 __CAPGO_KEEP_0__ 키에 대한 구현 세부 정보를 위해 API 키 API 키 및 기기 __CAPGO_KEEP_0__ 키에 대한 구현 세부 정보를 위해