GeneratedBindings class

Bindings for src/native_zxing.h.

Regenerate bindings with flutter pub run ffigen --config ffigen.yaml.

Constructors

GeneratedBindings(DynamicLibrary dynamicLibrary)
The symbols are looked up in dynamicLibrary.
GeneratedBindings.fromLookup(Pointer<T> lookup<T extends NativeType>(String symbolName))
The symbols are looked up with lookup.

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

encodeBarcode(EncodeBarcodeParams params) EncodeResult
@brief Encode a string into a barcode @param params The parameters for encoding the barcode @return The barcode data
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
readBarcode(DecodeBarcodeParams params) CodeResult
@brief Read barcode from image bytes. @param params Barcode parameters. @return The barcode result.
readBarcodes(DecodeBarcodeParams params) CodeResults
@brief Read barcodes from image bytes. @param params Barcode parameters. @return The barcode results.
setLogEnabled(bool enabled) → void
@brief Enables or disables the logging of the library.
toString() String
A string representation of this object.
inherited
version() Pointer<Char>
Returns the version of the zxing-cpp library. Pointer has a static lifetime and must not be freed.

Operators

operator ==(Object other) bool
The equality operator.
inherited