Interface AutonomousObservablePluginSpi
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description void
connect(AutonomousObservablePluginApi autonomousObservablePluginApi)
Deprecated.UsesetCallback(AutonomousObservablePluginApi)
instead.void
setCallback(AutonomousObservablePluginApi callback)
Sets the asynchronous callback that will be called when a reader is connected or disconnected.-
Methods inherited from interface org.eclipse.keyple.core.plugin.spi.PluginSpi
getName, onUnregister, searchAvailableReaders
-
-
-
-
Method Detail
-
connect
@Deprecated void connect(AutonomousObservablePluginApi autonomousObservablePluginApi)
Deprecated.UsesetCallback(AutonomousObservablePluginApi)
instead.Connects the associated Keyple CoreAutonomousObservablePluginApi
API.- Parameters:
autonomousObservablePluginApi
- The API to connect.- Since:
- 2.0.0
-
setCallback
void setCallback(AutonomousObservablePluginApi callback)
Sets the asynchronous callback that will be called when a reader is connected or disconnected.- Parameters:
callback
- The asynchronous callback to be called.- Since:
- 2.2.0
-
-