안내서
음소거 튜토리얼
음소거 기능을 사용하는 @capgo/capacitor-mute
Capacitor 음소거 플러그인: 장치 음소거 상태를 감지합니다.
설치
bun add @capgo/capacitor-mute
bunx cap sync
이 플러그인이 제공하는 내용
isMuted- 장치 음소거 switch가 활성화되어 있는지 확인합니다.
예시 사용
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');
}
전체 참조
- GitHub: https://github.com/Cap-go/capacitor-mute/
- 문서: /docs/plugins/mute/
capgo에서 capacitor-mute를 계속 사용하세요.
__CAPGO_KEEP_0__을 사용하고 계신가요. capgo @capgo/capacitor-mute를 사용하고 계신가요. API의 대시보드와 API 운영을 계획하고 계신가요? API을 @API/__CAPGO_KEEP_1__-mute와 연결하세요. capgo @capgo/capacitor-mute를 사용하여 capgo 구현 세부 정보를 확인하세요. for the implementation detail in @capgo/capacitor-mute, 시작하기 구현 세부 정보를 확인하세요. __CAPGO_KEEP_0__ 개요 API 개요 구현 세부 정보를 확인하세요. for the implementation detail in API Overview, __CAPGO_KEEP_0__ 소개 __CAPGO_KEEP_0__ 소개의 구현 세부 정보에 대해, 그리고 API 키 API 키의 구현 세부 정보에 대해.