개요
개요Capacitor 플래시 플러그인
핵심 기능
핵심 기능isAvailable- __CAPGO_KEEP_0__이 장치에 있는지 확인합니다.switchOn- 장치의 플래시ライト를 켭니다.switchOff- 장치의 플래시라이트를 끕니다.isSwitchedOn- 플래시라이트가 현재 켜져 있는지 끄여져 있는지 확인합니다.
Public API
API라는 제목의 공개 섹션| Method | Description |
|---|---|
isAvailable | __CAPGO_KEEP_0__이 장치에 있는지 확인합니다. |
switchOn | 장치의 플래시라이트를 켭니다. |
switchOff | 장치의 플래시라이트를 끕니다. |
isSwitchedOn | 플래시라이트가 현재 켜져 있는지 끄여져 있는지 확인합니다. |
toggle | 촛불을 켜거나 끕니다. |
getPluginVersion | Capacitor 원본 플러그인 버전을 가져옵니다. |
진실의 근원
‘진실의 근원’이라는 섹션이 참조는 src/definitions.ts 에서同步됩니다. capacitor-flash.
capgo에서 계속하기 (@capacitor/capgo-flash)
‘capgo에서 계속하기 (@capacitor/capgo-flash)’이라는 섹션__CAPGO_KEEP_0__을 사용 중이라면 @capgo/capacitor-flash API 운영을 계획하고 대시보드를 구성하는 데 사용하는 경우 @API/__CAPGO_KEEP_1__-flash와 연결하세요. Using @capgo/capacitor-flash for the native capability in Using @capgo/capacitor-flash, API 개요 for the implementation detail in API 개요, 소개 for the implementation detail in 소개, API 키 for the implementation detail in API 키, 그리고 기기 for the implementation detail in 기기.