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
Inherits NativeHandle.
Public Member Functions | |
Bitmap | generate (String data) |
Bitmap | generate (byte[] data) |
Bitmap | generate (byte[] data, List< EncodingRange > encoding) |
Detailed Description
A barcode generator, create it through com.scandit.barcodepicker.BarcodePicker.createBarcodeGeneratorForSymbology(int).
Member Function Documentation
Bitmap generate | ( | String | data | ) |
Generates a barcode from the given string data.
- Parameters
-
data Data to be encoded.
- Returns
- A bitmap of a barcode in the generator's symbology, encoding the given data.
Bitmap generate | ( | byte[] | data | ) |
Generates a barcode from the given byte data.
- Parameters
-
data Data to be encoded.
- Returns
- A bitmap of a barcode in the generator's symbology, encoding the given data.
Bitmap generate | ( | byte[] | data, |
List< EncodingRange > | encoding | ||
) |
Generates a barcode from the given data by using the specified encoding range.
- Parameters
-
data Data to be encoded. encoding List of encoding ranges to be used.
- Returns
- A bitmap of a barcode in the generator's symbology, encoding the given data.
The documentation for this class was generated from the following file:
- BarcodeGenerator.java