Click or drag to resize

BarcodeManagerAddPresentationStateListener Method

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 AddPresentationStateListener(
	IPresentationStateListener listener
)

Parameters

listener
Type: Com.Datalogic.DecodeIPresentationStateListener
- The IPresentationStateListener that will be called when a decoder's read event is fired.

Return Value

Type: Int32
intSuccess in case of success, otherwise a possible error code, matching one of the DecodeException error constants.
Exceptions
ExceptionCondition
DecodeException - in case of error, when exceptions are enabled through the ErrorManager singleton.
Remarks

Registers a IPresentationStateListener

to be notified when a frame save event is triggered. Call RemoveFrameSaveListener(IFrameSaveListener)

before the application closes to properly shut down the listener.

[Android Documentation]

See Also