Click or drag to resize

ScanSessionRejectCode Method

Prevent beeping/vibrate and highlighting for a particular code.

Namespace:  Scandit.BarcodePicker
Assembly:  Scandit.BarcodePicker (in Scandit.BarcodePicker.dll) Version: 5.19.3.10 (5.19.3.10)
Syntax
public void RejectCode(
	Barcode code
)

Parameters

code
Type: Scandit.RecognitionBarcode
The code to reject
Remarks

Use this method to reject a certain code if you have additional methods for verifying the integrity of the code, e.g.with a custom checksum.Rejected codes won't be highlighted in the scan UI. Additionally beep and vibration will be surpressed.

Rejected codes will be added to AllRecognizedCodes like all other codes.

For this feature to work, you need to enable code rejection by setting CodeRejectionEnabled to true.

Note that you should only pass codes returned by NewlyRecognizedCodes as passing any other code will have no effect. Additionally, you should only calls this method from an invoked DidScan delegate.

Version Information

Scandit.Recognition

Supported in: 1.0.0.0
See Also