Click or drag to resize

ScanSession Class

Keeps track of recognized and localized barcodes/2d codes.
Inheritance Hierarchy

Namespace:  Scandit.BarcodePicker
Assembly:  Scandit.BarcodePicker (in Scandit.BarcodePicker.dll) Version: (
public class ScanSession

The ScanSession type exposes the following members.

Public propertyAllRecognizedCodes
Get all recognized codes
Public propertyNewlyLocalizedCodes
Get codes localized but not recognized in the last processed frame.
Public propertyNewlyRecognizedCodes
Get codes that were recognized in the last processed frame.
Public methodClear
Remove all codes from the scan session.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodPauseScanning
Immediately pause the scanning process.
Public methodRejectCode
Prevent beeping/vibrate and highlighting for a particular code.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)

This class is not to be confused with BarcodeScannerSession. These two classes are very similar. However, the ScanSession class is the class used together with the BarcodePicker.

The scan session is only to be accessed from within the DidScanDelegate, as it continues to be modified when the next frame is processed. Keeping on to references to the scan session outside the delegate may lead to unpredictable behavior.

Version Information


Supported in:
See Also