6.0.0 • Published 19 days ago

@rdlabo/capacitor-codescanner v6.0.0

Weekly downloads
-
License
MIT
Repository
github
Last release
19 days ago

@rdlabo/capacitor-codescanner

Capacitor Plugin for Code Scanner

Install

npm install @rdlabo/capacitor-codescanner
npx cap sync

API

present(...)

present(scannerOption: ScannerOption) => Promise<void>
ParamType
scannerOptionScannerOption

addListener(...)

addListener(eventName: 'CodeScannerCatchEvent', listenerFunc: (event: { code: string; }) => void) => Promise<PluginListenerHandle>
ParamType
eventName"CodeScannerCatchEvent"
listenerFunc(event: { code: string; }) => void

Returns: Promise<PluginListenerHandle>


Interfaces

ScannerOption

PropType
detectionXnumber
detectionYnumber
detectionWidthnumber
detectionHeightnumber
metadataObjectTypesRecord<"aztec" | "code128" | "code39" | "code39Mod43" | "code93" | "dataMatrix" | "ean13" | "ean8" | "face" | "interleaved2of5" | "itf14" | "pdf417" | "qr" | "upce" | "catBody" | "dogBody" | "humanBody" | "salientObject", []>

PluginListenerHandle

PropType
remove() => Promise<void>
6.0.0

19 days ago

5.0.0

9 months ago

4.0.0

2 years ago

1.0.0

3 years ago

0.1.2

4 years ago

0.1.1

4 years ago

0.1.0

4 years ago

0.0.9

4 years ago

0.0.8

4 years ago

0.0.7

4 years ago

0.0.6

4 years ago

0.0.5

4 years ago

0.0.4

4 years ago

0.0.3

4 years ago

0.0.2

4 years ago

0.0.1

4 years ago