|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ServiceManager
Interface for the sensor data collection service manager.
This is the main service component supervising all other sub services and
managers used by the frameworks.
ServiceManagerImpl
Method Summary | |
---|---|
void |
doEnableSampleBroadCasting(boolean doEnable)
Does enable or disable the sample broadcast feature |
void |
doEnableSampleStorage(boolean doEnable)
Does change the persistent storage enabled state. |
void |
doEnableSampleTransfer(boolean doEnable)
Does change the sample transfer activation state. |
void |
doEnableSampling(boolean doEnable)
Does activate or deactivate the sampling process for the running service. |
void |
doTriggerSampleTransfer()
Does manually trigger an instant sample transfer ( with a short delay ). |
Context |
getContext()
Getter for the service/application context |
ApplicationPreferenceManager |
getPreferenceManager()
Getter for the application preference manager |
SDCService |
getSDCService()
Getter for the SDC service |
SensorDeviceManager |
getSensorDeviceManager()
Getter for the sensor device manager |
void |
setSDCService(SDCService service)
Setter for the SDC service |
void |
stopServiceByReason(String msg)
Does stop the service, logs the message as warning and sends a notification. |
Methods inherited from interface de.unikassel.android.sdcframework.util.facade.LifeCycleObject |
---|
onCreate, onDestroy, onPause, onResume |
Method Detail |
---|
void setSDCService(SDCService service)
service
- the SDC service to setSDCService getSDCService()
void stopServiceByReason(String msg)
msg
- the message to log and for use in notificationContext getContext()
ApplicationPreferenceManager getPreferenceManager()
SensorDeviceManager getSensorDeviceManager()
void doEnableSampleBroadCasting(boolean doEnable)
doEnable
- flag if sample broadcasting shall be enabled or disabledvoid doEnableSampling(boolean doEnable)
doEnable
- flag if sampling shall be active or notvoid doEnableSampleStorage(boolean doEnable)
doEnable
- flag if the transfer feature shall be enabled or disabledvoid doEnableSampleTransfer(boolean doEnable)
doEnable
- flag if the transfer feature shall be enabled or disabledvoid doTriggerSampleTransfer()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |