scan-plugin-ionic-cjp
TypeScript icon, indicating that this package has built-in type declarations

0.0.71 • Public • Published

scan-plugin

scanning items

Install

npm install scan-plugin
npx cap sync

API

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>

/scan-plugin-ionic-cjp/

    Package Sidebar

    Install

    npm i scan-plugin-ionic-cjp

    Weekly Downloads

    8

    Version

    0.0.71

    License

    MIT

    Unpacked Size

    103 kB

    Total Files

    28

    Last publish

    Collaborators

    • chrisjaypedra