Datalogic .NET SDK
IsListening (Property)
Syntax
public bool IsListening {get; }
Description
Returns true if the instance of Datalogic.API.DecodeEvent is listening to the decoder, otherwise false is returned.
Parameters Table
|
Type |
Parameter |
Description |
|
|
|
|
[return] |
- |
|
TRUE if the instance of Datalogic.API.DecodeEvent is listening to the decoder, FALSE otherwise. |
[on error] |
- |
|
- |
Example
private void MainDlg_Closing(object sender, System.ComponentModel.CancelEventArgs e) { // If our instance of DcdEvent is listening to the decoder, we need to make // sure we tell DcdEvent to stop listening. if(dcdEvent.IsListening) { dcdEvent.StopScanListener(); } }
|
See Also
Copyright © Datalogic ADC. All Right Reserved