시작하기
설치 단계와 이 플러그인의 전체 마크다운 가이드를 포함하는 설정 프롬프트를 복사하세요.
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.
설치
설치플러그인을 설치하는 데 사용할 수 있는 AI-Assisted Setup을 사용할 수 있습니다. AI 도구에 Capgo 기능을 추가하려면 다음 명령어를 사용하세요:
npx skills add https://github.com/Cap-go/capgo-skills --skill capacitor-plugins페이지/영역: Capgo 마케팅 웹사이트. 역할: UI 레이블. 표시되는 곳: 페이지 agent/[slug].astro. 메시지 키 `agents_page_copy_label` (Agent Page Copy Label).
Use the `capacitor-plugins` skill from `Cap-go/capgo-skills` to install the `@capgo/capacitor-mute` plugin in my project.그런 다음 다음 프롬프트를 사용하세요:
bun add @capgo/capacitor-mutebunx cap syncImport
Importimport { Mute } from '@capgo/capacitor-mute';API 개요
Section titled “API 개요”isMuted
음소거 상태장치 음소거 switch가 활성화되어 있는지 확인합니다.
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. upstream의 공공 API이 변경되었을 때 다시 싱크를 실행하세요.
Getting Started에서 계속
Getting Started에서 계속 섹션이 플러그인을 사용하여 시작하기 계획 대시보드 및 API 운영을 위해 이 플러그인을 @capgo/capacitor-mute와 연결하세요. Using @capgo/capacitor-mute Using @API/__CAPGO_KEEP_1__-mute의 API 개요 Capgo API 개요에 대한 구현 세부 정보를 참조하십시오. 소개 Capgo __CAPGO_KEEP_0__에 대한 구현 세부 정보를 참조하십시오. API 키 Capgo API 키에 대한 구현 세부 정보를 참조하십시오. 장치 장치에 대한 구현 세부 정보를 참조하십시오.