Interface: Code
A scanned code.
Properties​
frame​
• Optional
frame: Object
The location of the code relative to the Camera Preview (in dp).
Type declaration​
Name | Type |
---|---|
height | number |
width | number |
x | number |
y | number |
Defined in​
CodeScanner.ts:33
type​
• type: "unknown"
| CodeType
The type of the code that was scanned.
Defined in​
CodeScanner.ts:25
value​
• Optional
value: string
The string value, or null if it cannot be decoded.
Defined in​
CodeScanner.ts:29