@captureid/capacitor-cidsmb
v0.0.1
Published
SMB Plugin to read and write files to and from SMB shares
Downloads
5
Readme
@captureid/capacitor-cidcamera
Camera Plugin to take photos and capture videos
Install
npm install @captureid/capacitor-cidcamera
npx cap syncAPI
addListener(string, ...)
addListener(eventName: string, listenerFunc: (data: CIDSMBEvent) => void) => PluginListenerHandle| Param | Type |
| ------------------ | ---------------------------------------------------------------------- |
| eventName | string |
| listenerFunc | (data: CIDSMBEvent) => void |
Returns: PluginListenerHandle
removeAllListeners()
removeAllListeners() => voidInterfaces
PluginListenerHandle
| Prop | Type |
| ------------ | ----------------------------------------- |
| remove | () => Promise<void> |
CIDSMBEvent
| Prop | Type |
| ------------- | ------------------------------------------------------------- |
| type | CIDSMBEventType |
| status | CIDSMBStatusType |
| message | string |
| error | number |
| source | string |
| action | CIDSMBActionType |
Enums
CIDSMBEventType
| Members | Value |
| ------------- | -------------- |
| SUCCESS | 0 |
| NOTIFY | 1 |
| FAILED | 2 |
CIDSMBStatusType
| Members | Value |
| ------------- | -------------- |
| OK | 0 |
| UNKNOWN | 1 |
CIDSMBActionType
| Members | Value |
| ------------------------- | -------------- |
| NONE | 0 |
| LICENSE_ACTIVATION | 1 |
| DECODED | 2 |
| DECODED_MULTIPLE | 3 |
| DECODED_COORDINATES | 4 |
| SCANNER_INITIALIZED | 5 |
| SCANNER_STARTED | 6 |
| SETTINGS_CHANGED | 7 |
| SCAN_BUTTON_CLICKED | 8 |
