yagnik-flashlight
v0.0.1
Published
this is flash light plugin
Downloads
2
Readme
yagnik-flashlight
this is flash light plugin
Install
npm install yagnik-flashlight
npx cap sync
API
echo(...)
echo(options: { value: string; }) => Promise<{ value: string; }>
| Param | Type |
| ------------- | ------------------------------- |
| options
| { value: string; } |
Returns: Promise<{ value: string; }>
isAvailable()
isAvailable() => Promise<{ value: boolean; }>
Returns: Promise<{ value: boolean; }>
switchOn(...)
switchOn(options: { intensity?: number; }) => Promise<void>
| Param | Type |
| ------------- | ------------------------------------ |
| options
| { intensity?: number; } |
switchOff()
switchOff() => Promise<void>
isSwitchedOn()
isSwitchedOn() => Promise<{ value: boolean; }>
Returns: Promise<{ value: boolean; }>