Reader class abstract
Implementations of this interface can decode an image of a barcode in some format into the String it encodes. For example, QRCodeReader can decode a QR code. The decoder may optionally receive hints from the caller which may help it decode more quickly or accurately.
See MultiFormatReader, which attempts to determine what barcode format is present within the image as well, and then decodes it accordingly.
@author Sean Owen @author dswitkin@google.com (Daniel Switkin)
Constructors
- Reader()
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
decode(
BinaryBitmap image, [Map< DecodeHintType, Object> ? hints]) → Result -
Locates and decodes a barcode in some format within an
image
. This method also acceptshints
, each possibly associated to some data, which may help the implementation decode. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
reset(
) → void - Resets any internal state the implementation has after a decode, to prepare it for reuse.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited