はじめに
インストール手順とこのプラグインの全マークダウン ガイドを含むセットアップ ポイントをコピーする。
Set up this Capacitor plugin in the project.
Use the package manager already used by the project.
Install these package(s): `@capgo/capacitor-mute`
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/mute/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-mute` plugin in my project.Manualセットアップを使用する場合は、以下のコマンドを実行してプラグインをインストールし、以下のプラットフォーム固有の指示に従ってください。
bun add @capgo/capacitor-mutebunx cap syncimport { Mute } from '@capgo/capacitor-mute';API の概要
Section titled “API の概要”isMuted
「ミュート状態」デバイスのミュートスイッチが有効かどうかを確認します。
import { Mute } from '@capgo/capacitor-mute';
const { value } = await Mute.isMuted();if (value) { console.log('Device is muted');} else { console.log('Device is not muted');}MuteResponse
MuteResponseミュートステータスのチェックから得られたレスポンス
export interface MuteResponse { /** True if device is muted, false otherwise */ value: boolean;}真実の源
「真実の源」というセクションこのページはプラグインの src/definitions.tsパブリック API がアップストリームで変更されたときは、再度同期を実行してください。
「始めから始める」から続けてください
「始めから始める」から続けてくださいあなたが 「始めから始める」を使用してダッシュボードと __CAPGO_KEEP_0__ の作業を計画している場合、 「@API/__CAPGO_KEEP_1__-mute」を使用して 「@capgo/capacitor-mute」を使用して 「@capgo/capacitor-mute」の概要 APIの概要 APIの実装詳細については 概要 __CAPGO_KEEP_0__の実装詳細については APIのキー APIのキーについて、 デバイス デバイスの実装詳細のために。