capacitor-dfu-manager
v0.0.2
Published
dfu manager
Maintainers
Readme
capacitor-dfu-manager
dfu manager
Install
npm install capacitor-dfu-manager
npx cap syncAPI
echo(...)
echo(options: { value: string; }) => Promise<{ value: string; }>| Param | Type |
| ------------- | ------------------------------- |
| options | { value: string; } |
Returns: Promise<{ value: string; }>
initialize(...)
initialize(options: { deviceId: string; filePath: string; }) => Promise<void>| Param | Type |
| ------------- | ---------------------------------------------------- |
| options | { deviceId: string; filePath: string; } |
addListener('firmwareLog', ...)
addListener(eventName: 'firmwareLog', listenerFunc: (data: { log: string; }) => void) => Promise<PluginListenerHandle>| Param | Type |
| ------------------ | ------------------------------------------------ |
| eventName | 'firmwareLog' |
| listenerFunc | (data: { log: string; }) => void |
Returns: Promise<PluginListenerHandle>
Interfaces
PluginListenerHandle
| Prop | Type |
| ------------ | ----------------------------------------- |
| remove | () => Promise<void> |
