Click or drag to resize

BarcodeManagerAddDeinitListener Method

Registers a DeinitListener to be notified when a event of Scanner de-initiliazion 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
C#
VB
public virtual int AddDeinitListener (Com.Datalogic.Decode.IDeinitListener listener);

Parameters

listener
Type: Com.Datalogic.Decode.IDeinitListener
The DeinitListener that will be called when a decoder's de-init 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
Registers a DeinitListener to be notified when a event of Scanner de-initiliazion is triggered. Call removeDeinitListener(com.datalogic.decode.DeinitListener) before the application closes to properly shut down the listener.

[Android Documentation]

See Also

Reference