ScanCaseSettings Interface Reference

Public Member Functions

void EnableSymbologies (NSSet symbologies)
 
void SetSymbologyEnabled (Symbology symbology, bool enabled)
 
SymbologySettings SettingsForSymbology (Symbology symbology)
 

Properties

ScanSettings ScanSettings [get]
 

Detailed Description

Holds settings that affect the recognition of barcodes, such as enabled barcode symbologies, scanning hot spot etc.

The ScanSettings class was introduced in ScanditSDK 4.7 to hold all scan-specific settings. The settings are passed to the ScanCase when it is constructed.

Since
4.16.0

Member Function Documentation

void EnableSymbologies ( NSSet  symbologies)

Enable decoding of the given symbologies.

This function provides a convenient shortcut to enabling/disabling decoding of a particular symbology without having to go through SymbologySettings.

By default, all symbologies are turned off and symbologies need to be explicitly enabled.

Parameters
symbologiesThe symbologies that should be enabled.
Since
4.16.0
void SetSymbologyEnabled ( Symbology  symbology,
bool  enabled 
)

Enable/disable decoding of a certain symbology.

This function provides a convenient shortcut to enabling/disabling decoding of a particular symbology without having to go through SymbologySettings.

Parameters
symbologyThe symbology to be enabled.
enabledYES when decoding of the symbology should be enabled, NO if not.
Since
4.16.0
SymbologySettings SettingsForSymbology ( Symbology  symbology)

Retrieve symbology-specific settings.

Parameters
symbologyThe symbology for which to retrieve the settings.
Returns
The symbology-specific settings object.
Since
4.16.0

Property Documentation

Retrieve the scan settings to initialize a barcode picker.

Use these scan to initialize the barcode picker for use with the Scandit Scan Case. Note that while it's possible for you to modify the settings returned by this property, it is not recommended to do so.

Since
4.16.0