zxing_mobile library

Classes

Code
CodeResult
@brief The CodeResult class encapsulates the result of decoding a barcode within an image.
CodeResults
@brief The CodeResults class encapsulates the result of decoding multiple barcodes within an image.
Codes
DecodeBarcodeParams
@brief The BarcodeParams class encapsulates parameters for reading barcodes.
DecodeParams
Encode
EncodeBarcodeParams
@brief The EncodeBarcodeParams class encapsulates parameters for encoding barcodes.
EncodeParams
EncodeResult
@brief EncodeResult encapsulates the result of encoding a barcode.
Format
GeneratedBindings
Bindings for src/native_zxing.h.
ImageFormat
Messages
Pos
@brief Pos is a position of a barcode in a image.
Position
Represents the position of a barcode in an image.
ZxingMobile

Enums

EccLevel

Properties

barcodeDemoText Map<int, String>
final
barcodeMaxTextLengths Map<int, int>
final
barcodeNames Map<int, String>
final
barcodeRatios Map<int, double>
final
bindings GeneratedBindings
final
dylib DynamicLibrary
getter/setter pair
isolateUtils ↔ IsolateUtils?
getter/setter pair

Functions

convertImage(CameraImage image) Future<Uint8List>
copyStringFromOwnedFfiPtr(Pointer<Char> text) String?
From an owned, UTF-8 encoded C-string (null-byte terminated) allocated in native code, copy the string into the Dart VM Heap as a Stringa and then immediately free the owned pointer.
copyUint32ListFromOwnedFfiPtr(Pointer<Uint8> data, int length) Uint32List?
From an owned pointer allocated in native code, copy the data into the Dart VM Heap as a Uint32List and then immediately free the owned ffi pointer.
copyUint8ListFromOwnedFfiPtr(Pointer<Uint8> data, int length) Uint8List?
From an owned pointer allocated in native code, copy the data into the Dart VM Heap as a Uint8List and then immediately free the owned ffi pointer.
getZxing() Zxing
resizeToMaxSize(Image image, int? maxSize) → Image
rgbBytes(Image image) Uint8List
setZxingLogEnabled(bool enabled) → void
Enables or disables the logging of the library
zxingBarcodeFormatName(int format) String
Returns a readable barcode format name
zxingEncodeBarcode({required String contents, required EncodeParams params}) Encode
zxingProcessCameraImage(CameraImage image, DecodeParams params) Future
zxingReadBarcode(Uint8List bytes, DecodeParams params) Code
zxingReadBarcodeImagePath(XFile path, DecodeParams params) Future<Code>
Reads barcode from XFile image path
zxingReadBarcodeImagePathString(String path, DecodeParams params) Future<Code>
Reads barcode from String image path
zxingReadBarcodeImageUrl(String url, DecodeParams params) Future<Code>
Reads barcode from image url
zxingReadBarcodes(Uint8List bytes, DecodeParams params) Codes
Reads barcodes from Uint8List image bytes
zxingReadBarcodesImagePath(XFile path, DecodeParams params) Future<Codes>
Reads barcodes from XFile image path
zxingReadBarcodesImagePathString(String path, DecodeParams params) Future<Codes>
Reads barcodes from String image path
zxingReadBarcodesImageUrl(String url, DecodeParams params) Future<Codes>
Reads barcodes from image url
zxingStartCameraProcessing() Future<void>
Starts reading barcode from the camera
zxingStopCameraProcessing() → void
Stops reading barcode from the camera
zxingVersion() String
Returns a version of the zxing library