Deprecation warning
Please note that this is outdated documentation for an older release of the Scandit Barcode Scanner SDK.
We are deprecating the 5.x API on all platforms (except Linux). Release 5.19 in April 2021 will be our final. Applications running 5.x will continue to work, and we will continue to release critical bug fixes and security patches only, for one year. We encourage you to migrate to 6.x and take advantage of our latest / advanced features and improved performance.
You'll find the updated documentation at: Data Capture SDK Documentation for Android
ScBarcodeGenerator.h
Go to the documentation of this file.
58 sc_barcode_generator_new(const ScRecognitionContext *context, ScSymbology symbology, ScError *out_error);
ScBarcodeGenerator * sc_barcode_generator_new_with_options(const ScRecognitionContext *context, ScSymbology symbology, const char *json_options, ScError *out_error)
Create a new barcode generator instance for the given symbology and options.
ScBarcodeGenerator * sc_barcode_generator_new(const ScRecognitionContext *context, ScSymbology symbology, ScError *out_error)
Create a new barcode generator instance for the given symbology.
Common functions and data structures.
A 1d/2d barcode generator.
Recognition context interface.
Common definitions used throughout the ScanditSDK API.
ScImageBuffer * sc_barcode_generator_generate(const ScBarcodeGenerator *generator, const uint8_t *data, size_t data_length, const ScEncodingArray encoding, ScError *out_error)
Generates an image containing a barcode encoding the provided data.
Functions to manage an array of encoding ranges.
void sc_barcode_generator_set_options(ScBarcodeGenerator *generator, const char *json_options, ScError *out_error)
sets the options on a given barcode generator
Functions for retrieving barcode information.
ScSymbology
Enumeration of all supported 1d and 2d barcode symbologies.
Definition: ScBarcode.h:29
Opaque recognition context data structure.
void sc_barcode_generator_free(ScBarcodeGenerator *generator)
Free a previously instantiated barcode generator. May be null.