Added in revision 23
public interface

CradleInsertionEventListener

com.datalogic.cradle.CradleInsertionEventListener

Class Overview

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 INSERTED_CORRECTLY, INSERTED_WRONGLY, EXTRACTED, INSERTION_UNKNOWN (in case of errors), or DEVICE_INSERTION_NOT_SUPPORTED (if the device or the cradle do not support this type of notification).

Summary

Public Methods
abstract void onInsertionEvent(InsertionState state)
This method is called when the device has been inserted into or extracted from the Cradle.

Public Methods

public abstract void onInsertionEvent (InsertionState state)

Added in revision 23

This method is called when the device has been inserted into or extracted from the Cradle.