시작하기
이 플러그인의 설치 단계와 전체 마크다운 가이드가 포함된 설정 지시를 복사하세요.
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.
설치
설치 제목bun add @capgo/capacitor-mutebunx cap syncimport
import 제목import { Mute } from '@capgo/capacitor-mute';API 개요
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
음소거 상태 확인 결과음소거 상태 확인 결과
export interface MuteResponse { /** True if device is muted, false otherwise */ value: boolean;}진실의 근원
진실의 근원이 페이지는 플러그인의 __CAPGO_KEEP_0__이 업스트림에서 변경될 때마다 다시 동기화합니다. src/definitions.ts. Re-run the sync when the public API changes upstream.