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(Pointer<EncodeBarcodeParams> params) → EncodeResult
@brief Encode a string into a barcode @param params Encoding parameters. Owned pointer. Will be freed before function returns. @return The barcode data
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
readBarcode(Pointer<DecodeBarcodeParams> params) → CodeResult
@brief Read barcode from image bytes. @param params Barcode parameters. Owned pointer. Will be freed before function returns. @return The barcode result.
readBarcodes(Pointer<DecodeBarcodeParams> params) → CodeResults
@brief Read barcodes from image bytes. @param params Barcode parameters. Owned pointer. Will be freed before function returns. @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