Getting Started
Install
Section titled “Install”bun add @capgo/capacitor-realtimekitbunx cap syncImport
Section titled “Import”import { CapacitorRealtimekit } from '@capgo/capacitor-realtimekit';API Overview
Section titled “API Overview”initialize
Section titled “initialize”Initializes the RealtimeKit plugin before using other methods.
import { CapacitorRealtimekit } from '@capgo/capacitor-realtimekit';
await CapacitorRealtimekit.initialize();startMeeting
Section titled “startMeeting”Start a meeting using the built-in UI. Only available on Android and iOS.
import { CapacitorRealtimekit } from '@capgo/capacitor-realtimekit';
await CapacitorRealtimekit.startMeeting({ authToken: 'your-auth-token', enableAudio: true, enableVideo: true,});Type Reference
Section titled “Type Reference”StartMeetingOptions
Section titled “StartMeetingOptions”Configuration options for starting a meeting.
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;}Source Of Truth
Section titled “Source Of Truth”This page is generated from the plugin’s src/definitions.ts. Re-run the sync when the public API changes upstream.