BarcodePickerApplySettingsAsync Method |
Apply new scan settings to the barcode picker.
Namespace: Scandit.BarcodePickerAssembly: Scandit.BarcodePicker (in Scandit.BarcodePicker.dll) Version: 5.0.0.0 (5.0.0.0)
Syntax public IAsyncAction ApplySettingsAsync(
ScanSettings settings
)
Public Function ApplySettingsAsync (
settings As ScanSettings
) As IAsyncAction
public:
IAsyncAction^ ApplySettingsAsync(
ScanSettings^ settings
)
member ApplySettingsAsync :
settings : ScanSettings -> IAsyncAction
Parameters
- settings
- Type: Scandit.BarcodePickerScanSettings
The new scan settings
Return Value
Type:
IAsyncAction
Action that completes when the settings have been applied. Every
frame processed after the settings have been applied will use the
new settings.
Remarks This method allows you to change barcode scanner settings
after the picker has been initialized. The new settings are passed
to the barcode recognition engine instantly, however they'll will
only take effect in the next frame. In case the scanner has not been
started yet, the settings are applied when it starts. In that case
the returned action completes immediately.
See Also