Screen Recorder __CAPGO_KEEP_0__ リポジトリ
このプラグインの全マークダウンガイドとインストールステップを含むセットアッププロンプトをコピーしてください。
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の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-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
「start」セクションデバイス画面の録画を開始します。オプションでオーディオ録音も可能です。ユーザーは画面録画の許可を求められます。iOS の場合、システムの録画 UI が表示されます。Android の場合、許可が与えられた後すぐに録画が開始されます。
Start
import { ScreenRecorder } from '@capgo/capacitor-screen-recorder';
// Start recording without audioawait ScreenRecorder.start();
// Start recording with audioawait ScreenRecorder.start({ recordAudio: true });stop
「停止」というセクション現在のスクリーン録画を停止します。
iOSでは、システムが録画のプレビューを表示し、Androidでは直接ギャラリーに保存されます。
import { ScreenRecorder } from '@capgo/capacitor-screen-recorder';
await ScreenRecorder.stop();console.log('Recording saved to gallery');真実の源
「真実の源」というセクションこのページはプラグインの src/definitions.tspublic APIがアップストリームで変更されたときに再度syncを実行してください。
Getting Startedから続けてください
「Getting Startedから続けてください」というセクションあなたが バープメイト テストエントウィゲートにバープメイトを参室してきる @capgo/capacitor-サイタルトウィゲート for the native capability in Using @capgo/capacitor-screen-recorder, @capgo/capacitor-サイタルトウィゲート for the native capability in Using @capgo/capacitor-live-activities, @capgo/capacitor-サイタルトウィゲート for the implementation detail in @capgo/capacitor-live-activities, @capgo/capacitor-サイタルトウィゲート for the native capability in Using @capgo/capacitor-video-player, and @capgo/capacitor-サイタルトウィゲート for the implementation detail in @capgo/capacitor-video-player.