Click or drag to resize

DLCradleManagerAddInsertionEventListener Method

Add an Insertion listener used to be notify about insertion and extraction events from the Cradle.

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 bool AddInsertionEventListener (Com.Datalogic.Cradle.ICradleInsertionEventListener listener);

Parameters

listener
Type: Com.Datalogic.Cradle.ICradleInsertionEventListener
The CradleInsertionEventListener to be added.

Return Value

Type: System.Boolean
boolean true in case of success, false otherwise.

Remarks
Add an Insertion listener used to be notify about insertion and extraction events from the Cradle. If property DLCradleManager.Properties.INSERTION_STATE is not supported, this listener cannot be added.

[Android Documentation]

See Also

Reference