시작하기
이 플러그인의 설치 단계와 전체 마크다운 가이드를 포함한 설정 프롬프트 복사하기
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그런 다음 다음 프롬프트를 사용하세요:
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 { Mute } from '@capgo/capacitor-mute';API Overview
Section titled “API Overview”isMuted
__CAPGO_KEEP_0____CAPGO_KEEP_0__
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
음소거 응답 섹션음소거 상태 확인에서 응답
export interface MuteResponse { /** True if device is muted, false otherwise */ value: boolean;}진실의 근원
진실의 근원 섹션이 페이지는 플러그인의 src/definitions.ts공개 API이 업스트림에서 변경될 때 다시 싱크를 실행하세요.
시작부터 계속
시작부터 계속 섹션Capgo를 사용 중이라면 시작하기 API 대시보드를 계획하고 API 작업을 연결하는 데 사용됩니다. @capgo/capacitor-mute를 사용하여 @capgo/capacitor-mute를 사용하여 native 기능을 구현하는 데 사용됩니다. API 개요 API 개요에서 구현 세부 정보를 참조하세요. 소개 소개에서 구현 세부 정보를 참조하세요. API 키 API 키에서 구현 세부 정보를 참조하세요. 기기 기기에서 구현 세부 정보를 참조하세요.