public interface CradleInsertionEventListener
InsertionState notifies the listener about the
position of the device into/out of the Cradle, among
InsertionState.INSERTED_CORRECTLY,
InsertionState.INSERTED_WRONGLY,
InsertionState.EXTRACTED,
InsertionState.INSERTION_UNKNOWN (in case of errors),
or InsertionState.DEVICE_INSERTION_NOT_SUPPORTED
(if the device or the cradle do not support this type of notification).| Modifier and Type | Method and Description |
|---|---|
void |
onInsertionEvent(InsertionState state)
This method is called when the device has been inserted
into or extracted from the Cradle.
|
void onInsertionEvent(InsertionState state)