scan-plugin-ionic-cjp v0.0.7
scan-plugin
scanning items
Install
npm install scan-plugin
npx cap sync
API
testPluginMethod(...)
startScan()
init()
StopDecoding()
getVersion()
StartDecoding()
getValue()
Decoder()
CommState()
_Decoder()
_CommState()
addListener('decodedDataReceived', ...)
- Interfaces
testPluginMethod(...)
testPluginMethod(options: { msg: string; }) => Promise<{ value: string; }>
Param | Type |
---|---|
options | { msg: string; } |
Returns: Promise<{ value: string; }>
startScan()
startScan() => Promise<{ value: string; }>
Returns: Promise<{ value: string; }>
init()
init() => Promise<{ value: string; }>
Returns: Promise<{ value: string; }>
StopDecoding()
StopDecoding() => Promise<{ value: string; }>
Returns: Promise<{ value: string; }>
getVersion()
getVersion() => Promise<{ value: string; }>
Returns: Promise<{ value: string; }>
StartDecoding()
StartDecoding() => Promise<{ value: string; }>
Returns: Promise<{ value: string; }>
getValue()
getValue() => Promise<{ value: string; type: any; }>
Returns: Promise<{ value: string; type: any; }>
Decoder()
Decoder() => Promise<{ value: string; }>
Returns: Promise<{ value: string; }>
CommState()
CommState() => Promise<{ value: string; }>
Returns: Promise<{ value: string; }>
_Decoder()
_Decoder() => Promise<{ value: string; }>
Returns: Promise<{ value: string; }>
_CommState()
_CommState() => Promise<{ value: string; }>
Returns: Promise<{ value: string; }>
addListener('decodedDataReceived', ...)
addListener(eventName: 'decodedDataReceived', listenerFunc: (data: { codeType: number; data: string; }) => void) => Promise<PluginListenerHandle>
Param | Type |
---|---|
eventName | 'decodedDataReceived' |
listenerFunc | (data: { codeType: number; data: string; }) => void |
Returns: Promise<PluginListenerHandle>
Interfaces
PluginListenerHandle
Prop | Type |
---|---|
remove | () => Promise<void> |
12 months ago
12 months ago
12 months ago
12 months ago
12 months ago
12 months ago
12 months ago
12 months ago
12 months ago
12 months ago
12 months ago
12 months ago
12 months ago
12 months ago
12 months ago
12 months ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago