public interface IDataSourcePlugin
Modifier and Type | Method and Description |
---|---|
void |
activate()
Deprecated.
activate this plugin in order to start consuming and sending the data
from the corresponding data source
|
void |
deactivate()
Deprecated.
deactivate this plugin in order to release resources and stop retrieving
data from the data source.
|
void activate() throws java.lang.Exception
java.lang.Exception
- if anything goes wrong during activation (such as no rotation
sensor available when activating a rotation sensor plugin).void deactivate()