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-screen-recorder`
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/screen-recorder/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.
플러그인을 설치하기 위해 AI-Assisted Setup을 사용할 수 있습니다. 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-screen-recorder` plugin in my project.설치 명령어를 실행하고 아래에 플랫폼별로 설명된 지침을 따르세요.
bun add @capgo/capacitor-screen-recorderbunx cap syncImport
"Import"라는 제목의 섹션import { ScreenRecorder } from '@capgo/capacitor-screen-recorder';API 개요
"API 개요"라는 제목의 섹션start
"start"라는 제목의 섹션기기 화면 녹화 시작.
기기 화면 녹화를 시작하며 optional 오디오 캡처도 가능합니다. 사용자는 화면 녹화 권한을 부여할 수 있습니다. iOS에서는 시스템 녹화 UI가 표시됩니다. Android에서는 권한이 부여된 후 녹화가 시작됩니다.
import { ScreenRecorder } from '@capgo/capacitor-screen-recorder';
// Start recording without audioawait ScreenRecorder.start();
// Start recording with audioawait ScreenRecorder.start({ recordAudio: true });stop
"stop"라는 제목의 섹션__CAPGO_KEEP_0__
현재 화면 녹음을 중지합니다.
import { ScreenRecorder } from '@capgo/capacitor-screen-recorder';
await ScreenRecorder.stop();console.log('Recording saved to gallery');클립보드에 복사
Source Of TruthSource Of Truth src/definitions.ts. Re-run the sync when the public API changes upstream.
. 다시 __CAPGO_KEEP_0__의 공개 변경 사항이 업스트림에서 발생했을 때 sync를 다시 실행하세요.
Getting Started에서 계속하기Getting Started에서 계속하기 __CAPGO_KEEP_0__를 사용하는 경우 Getting Started를 사용하여 네이티브 미디어 및 인터페이스 동작을 계획할 경우 연결하세요. Using @capgo/capacitor-screen-recorder for the native capability in Using @capgo/capacitor-screen-recorder, Using @capgo/capacitor-live-activities for the native capability in Using @capgo/capacitor-live-activities, @capgo/capacitor-live-activities for the implementation detail in @capgo/capacitor-live-activities, Using @capgo/capacitor-video-player for the native capability in Using @capgo/capacitor-video-player, and @capgo/capacitor-video-player for the implementation detail in @capgo/capacitor-video-player.