BarcodeManagerAddTimeoutListener Method |
Registers a
TimeoutListener
to be notified when a scan timeout event is triggered.
Namespace:
Com.Datalogic.Decode
Assembly:
datalogic-xamarin-sdk (in datalogic-xamarin-sdk.dll) Version: 1.0.0.0
(1.0.0.0)
Syntax
public virtual int AddTimeoutListener (Com.Datalogic.Decode.ITimeoutListener listener);
Public Virtual Integer AddTimeoutListener (Com.Datalogic.Decode.ITimeoutListener listener);
Parameters
- listener
- Type: Com.Datalogic.Decode.ITimeoutListener
The TimeoutListener that will be called when a decoder's scan timeout
event is fired.
Return Value
Type: System.Int32
int DecodeException.SUCCESS in case of success, otherwise a possible error code,
matching one of the DecodeException error constants.
Exceptions
Exception |
Condition |
DecodeException |
in case of error, when exceptions are enabled
through the ErrorManager singleton. |
Remarks
See Also