0.0.1 • Published 2 years ago

yagnik-flashlight v0.0.1

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

yagnik-flashlight

this is flash light plugin

Install

npm install yagnik-flashlight
npx cap sync

API

echo(...)

echo(options: { value: string; }) => Promise<{ value: string; }>
ParamType
options{ value: string; }

Returns: Promise<{ value: string; }>


isAvailable()

isAvailable() => Promise<{ value: boolean; }>

Returns: Promise<{ value: boolean; }>


switchOn(...)

switchOn(options: { intensity?: number; }) => Promise<void>
ParamType
options{ intensity?: number; }

switchOff()

switchOff() => Promise<void>

isSwitchedOn()

isSwitchedOn() => Promise<{ value: boolean; }>

Returns: Promise<{ value: boolean; }>


0.0.1

2 years ago