Interface: Code
A scanned code.
Properties
corners?
optionalcorners:Point[]
The location of each corner relative to the Camera Preview (in dp).
Defined in
types/CodeScanner.ts:63
frame?
optionalframe:object
The location of the code relative to the Camera Preview (in dp).
height
height:
number
width
width:
number
x
x:
number
y
y:
number
Defined in
types/CodeScanner.ts:54
type
type:
CodeType|"unknown"
The type of the code that was scanned.
Defined in
types/CodeScanner.ts:46
value?
optionalvalue:string
The string value, or null if it cannot be decoded.
Defined in
types/CodeScanner.ts:50