@capgo/capacitor-mute 사용
Capacitor mute 플러그인: 장치 음소거 상태 감지
설치
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 capacitor-mute를 사용하세요. API __CAPGO_KEEP_1__-mute를 사용하여 대시보드와 API 작업을 계획하고 싶다면, API __CAPGO_KEEP_1__-mute와 연결하세요. capgo capacitor-mute의 구현 세부 사항은 capgo capacitor-mute에서 확인할 수 있습니다. for the implementation detail in @capgo/capacitor-mute, __CAPGO_KEEP_0__ __CAPGO_KEEP_1__-mute의 구현 세부 사항은 시작하기에서 확인할 수 있습니다. __CAPGO_KEEP_0__ 개요 API __CAPGO_KEEP_1__-mute의 구현 세부 사항은 API 개요에서 확인할 수 있습니다. for the implementation detail in API Overview, __CAPGO_KEEP_0__ __CAPGO_KEEP_1__-mute를 사용하여 대시보드와 __CAPGO_KEEP_0__ 작업을 계획하고 싶다면, __CAPGO_KEEP_0__ __CAPGO_KEEP_1__-mute와 연결하세요. Capgo의 구현 세부 정보에 대해 소개에서 API 키 Capgo의 구현 세부 정보에 대해 API 키.