ScanSession Class |
Namespace: Scandit.BarcodePicker
The ScanSession type exposes the following members.
Name | Description | |
---|---|---|
AllRecognizedCodes | Get all recognized codes | |
NewlyLocalizedCodes | Get codes localized but not recognized in the last processed frame. | |
NewlyRecognizedCodes | Get codes that were recognized in the last processed frame. |
Name | Description | |
---|---|---|
Clear | Remove all codes from the scan session. | |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
PauseScanning |
Immediately pause the scanning process.
| |
RejectCode |
Prevent beeping/vibrate and highlighting for a particular code.
| |
ToString | 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.