Getting Started
__CAPGO_KEEP_4__
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.
__CAPGO_KEEP_11__
설치란 제목Capgo AI 도구에 다음 명령어를 사용하여 플러그인을 설치할 수 있습니다.
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.만약 Manual Setup을 선호한다면, 플러그인을 설치하기 위해 다음 명령어를 실행하고 아래에 플랫폼에 따라 설명된 지침을 따르세요.
bun add @capgo/capacitor-screen-recorderbunx cap syncImport
Import란 제목import { ScreenRecorder } from '@capgo/capacitor-screen-recorder';API 개요
API 개요 제목start
시작기기 화면 녹화 시작.
__CAPGO_KEEP_1__을 사용하여 화면 녹화를 시작합니다. 사용자는 이미 허용된 경우 화면 녹화 권한을 부여하도록 요청됩니다. 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
__CAPGO_KEEP_1__기기 화면 녹음 중지.
__CAPGO_KEEP_1__을 중지하고 기기의 카메라 롤 또는 갤러리에 비디오를 저장합니다. iOS에서는 시스템이 녹화의 미리보기 화면을 표시합니다. Android에서는 비디오가 직접 갤러리에 저장됩니다.
import { ScreenRecorder } from '@capgo/capacitor-screen-recorder';
await ScreenRecorder.stop();console.log('Recording saved to gallery');진실의 근원
__CAPGO_KEEP_1__This page is generated from the plugin’s src/definitions.ts업스트림에서 API이 변경되면 다시 싱크를 실행하세요.
Getting Started에서 계속
Getting Started에서 계속하기Capacitor를 사용 중이라면 Getting Started Capacitor를 사용하여 네이티브 미디어 및 인터페이스 동작을 계획하려면 Capacitor를 사용하여 네이티브 기능인 @capgo/capacitor-screen-recorder를 연결하세요. Capacitor를 사용하여 네이티브 기능인 @capgo/capacitor-live-activities를 연결하세요. @capgo/capacitor-live-activities Capacitor를 사용하여 네이티브 기능인 @capgo/capacitor-live-activities를 연결하세요. Capacitor를 사용하여 네이티브 기능인 @capgo/capacitor-live-activities를 연결하세요. @capgo/capacitor-live-활동의 구현 세부 사항에 대해 @capgo/capacitor-비디오 플레이어를 사용하여 @capgo/capacitor-비디오 플레이어의 원시 기능을 사용하여 @capgo/capacitor-비디오 플레이어 @capgo/capacitor-비디오 플레이어의 구현 세부 사항에 대해