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

ScSymbologySettings.h
Go to the documentation of this file.
1 
11 #ifndef SC_SYMBOLOGY_SETTINGS_H_
12 #define SC_SYMBOLOGY_SETTINGS_H_
13 
14 #include <Scandit/ScConfig.h>
15 #include <Scandit/ScBarcode.h>
16 
17 #if defined(__cplusplus)
18 extern "C" {
19 #endif
20 
28 typedef enum {
65 } ScChecksum;
66 
70 typedef int32_t ScChecksums;
71 
78 typedef struct ScOpaqueSymbologySettings ScSymbologySettings;
81 
92 SC_EXPORT ScSymbology
94 
103 SC_EXPORT void
105 
116 SC_EXPORT void
118 
142 SC_EXPORT ScBool
144 
159 SC_EXPORT void
161  ScBool enabled);
162 
180 SC_EXPORT ScBool
182 
195 SC_EXPORT void
197  ScBool enabled);
198 
221 SC_EXPORT ScChecksums
223 
237 SC_EXPORT void
239  ScChecksums checksums);
240 
264 SC_EXPORT ScBool
266  const char *extension);
267 
268 
283 SC_EXPORT void
285  const char *extension, ScBool enabled);
286 
297 SC_EXPORT char **
299 
330 SC_EXPORT void
331 sc_symbology_settings_set_active_symbol_counts(ScSymbologySettings * settings, const uint16_t *active_counts,
332  uint16_t num_counts);
333 
351 SC_EXPORT void
353  uint16_t *num_counts);
354 
357 #if defined(__cplusplus)
358 }
359 #endif
360 
361 
362 #endif // SC_SYMBOLOGY_SETTINGS_H_
363 
364 
@ SC_CHECKSUM_MOD_103
Checksum is calculating using modulo of 103.
Definition: ScSymbologySettings.h:48
ScBool sc_symbology_settings_is_color_inverted_enabled(const ScSymbologySettings *settings)
Determine whether color-inverted decoding of this symbology is enabled.
char ** sc_symbology_settings_get_enabled_extensions(ScSymbologySettings *settings)
Get all enabled extensions for this symbology.
void sc_symbology_settings_get_active_symbol_counts(ScSymbologySettings *settings, uint16_t **active_counts, uint16_t *num_counts)
Retrieve the current active symbol counts of this symbology.
@ SC_CHECKSUM_MOD_1110
Modulo 11 and a modulo 10 checksum.
Definition: ScSymbologySettings.h:56
void sc_symbology_settings_retain(ScSymbologySettings *settings)
Increase reference count of barcode symbology settings by one.
void sc_symbology_settings_release(ScSymbologySettings *settings)
Decrease reference count of barcode symbology settings by one.
@ SC_CHECKSUM_MOD_11
Checksum is calculating using modulo of 11.
Definition: ScSymbologySettings.h:40
@ SC_CHECKSUM_MOD_1010
Two modulo 10 checksums.
Definition: ScSymbologySettings.h:52
ScSymbology sc_symbology_settings_get_symbology(const ScSymbologySettings *settings)
Get symbology of the symbology settings object.
@ SC_CHECKSUM_MOD_10
Checksum is calculating using modulo of 10.
Definition: ScSymbologySettings.h:36
@ SC_CHECKSUM_MOD_43
Modulo 43 checksum, e.g. as used by Code39.
Definition: ScSymbologySettings.h:60
Common definitions used throughout the ScanditSDK API.
@ SC_CHECKSUM_NONE
No checksum algorithm.
Definition: ScSymbologySettings.h:32
@ SC_CHECKSUM_MOD_16
Modulo 16 checksum, e.g. as used by Codabar.
Definition: ScSymbologySettings.h:64
Functions for retrieving barcode information.
ScBool sc_symbology_settings_is_enabled(const ScSymbologySettings *settings)
Determine whether decoding of this symbology is enabled.
int32_t ScBool
Boolean value, can be SC_TRUE or SC_FALSE.
Definition: ScConfig.h:127
void sc_symbology_settings_set_enabled(ScSymbologySettings *settings, ScBool enabled)
Enable/disable decoding of this symbology.
ScBool sc_symbology_settings_is_extension_enabled(const ScSymbologySettings *settings, const char *extension)
Determine whether a certain extension is enabled for the symbology.
ScSymbology
Enumeration of all supported 1d and 2d barcode symbologies.
Definition: ScBarcode.h:29
int32_t ScChecksums
A bit-wise combination of ScChecksum.
Definition: ScSymbologySettings.h:70
ScChecksums sc_symbology_settings_get_checksums(const ScSymbologySettings *settings)
Get active optional checksums of this symbology.
void sc_symbology_settings_set_checksums(ScSymbologySettings *settings, ScChecksums checksums)
Set active optional checksums for this symbology.
void sc_symbology_settings_set_extension_enabled(ScSymbologySettings *settings, const char *extension, ScBool enabled)
Activate/Deactivate a custom extension for the symbology.
ScChecksum
A list of possible checksum algorithms.
Definition: ScSymbologySettings.h:28
void sc_symbology_settings_set_active_symbol_counts(ScSymbologySettings *settings, const uint16_t *active_counts, uint16_t num_counts)
This function allows to control the length of barcodes to be decoded.
Contains symbology-specific settings.
void sc_symbology_settings_set_color_inverted_enabled(ScSymbologySettings *settings, ScBool enabled)
Enable/disable decoding of this symbology.
@ SC_CHECKSUM_MOD_47
Checksum is calculating using modulo of 47.
Definition: ScSymbologySettings.h:44