0.0.1 • Published 2 years ago
yagnik-flashlight v0.0.1
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; }>
0.0.1
2 years ago