Click or drag to resize

ICradleInsertionEventListener Interface

Namespace:  Com.Datalogic.Cradle
Assembly:  datalogic-xamarin-sdk (in datalogic-xamarin-sdk.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public interface ICradleInsertionEventListener : IJavaObject, 
	IDisposable, IJavaPeerable

The ICradleInsertionEventListener type exposes the following members.

Methods
  NameDescription
Public methodDispose
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
(Inherited from IDisposable.)
Public methodOnInsertionEvent
This method is called when the device has been inserted into or extracted from the Cradle.
Top
Remarks
This interface allows an the application to be notified about insertion and extraction of the device from the Cradle. The InsertionState notifies the listener about the position of the device into/out of the Cradle, among InsertedCorrectly, InsertedWrongly, Extracted, InsertionUnknown (in case of errors), or DeviceInsertionNotSupported (if the device or the cradle do not support this type of notification).

[Android Documentation]

See Also