|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.android.activityminer.logic.devices.DeviceManager
public final class DeviceManager
A global device manager instance.
Field Summary | |
---|---|
private AbstractAccelerometerDataSource |
accDevice
An accelerometer device instance, which is configured with the current filter configuration. |
private LocationDataSource |
locationDevice
The network location device instance. |
Constructor Summary | |
---|---|
DeviceManager(Context applicationContext,
RuntimeConfiguration config)
Constructor |
|
DeviceManager(Context applicationContext,
RuntimeConfiguration config,
FrequencyTypes fType,
LowPassFilter filter)
Constructor |
Method Summary | |
---|---|
AbstractAccelerometerDataSource |
getAccelerometerDevice()
Getter for the accelerometer device which is configured with the current filter settings. |
LocationDataSource |
getNetworkLocationDevice()
Getter for the network location device. |
void |
onDestroy()
Does clean up. |
boolean |
testForLocationProvidersAvailable()
Does test for the availability of network providers. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private final AbstractAccelerometerDataSource accDevice
private final LocationDataSource locationDevice
Constructor Detail |
---|
public DeviceManager(Context applicationContext, RuntimeConfiguration config, FrequencyTypes fType, LowPassFilter filter)
applicationContext
- the application contextconfig
- the configuration to usefType
- the sample frequency typefilter
- the low-pass filter to usepublic DeviceManager(Context applicationContext, RuntimeConfiguration config)
applicationContext
- the application contextconfig
- the configuration to useMethod Detail |
---|
public final AbstractAccelerometerDataSource getAccelerometerDevice()
public final LocationDataSource getNetworkLocationDevice()
public final boolean testForLocationProvidersAvailable()
public final void onDestroy()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |