|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.unikassel.android.sdcframework.devices.AbstractSensorDevice
de.unikassel.android.sdcframework.devices.VirtualSensorDevice
public class VirtualSensorDevice
Base class for virtual sensor devices which does not refer to a physical sensor in the system.
Constructor Summary | |
---|---|
VirtualSensorDevice(SensorDeviceIdentifier deviceId)
Constructor |
Method Summary | |
---|---|
protected void |
doSignalDeviceNotEnabledInSystem(Context applicationContext)
Method to signal the user that the device is disabled in the system and needed by this service. |
boolean |
isDeviceInSystemEnabled(Context context)
Test method for the system wide enabled state of the device |
protected void |
onConfigurationChanged()
Callback to signal configuration of device has changed |
Methods inherited from class de.unikassel.android.sdcframework.devices.AbstractSensorDevice |
---|
accept, doHandleDeviceDisabledBySystem, doHandleDeviceEnabledBySystem, enableDeviceScanning, getConfiguration, getDeviceIdentifier, getScanner, isAirplaneModeOn, isDeviceScanningEnabled, onCreate, onDestroy, setDeviceIdentifier, setScanner, updateConfiguration |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public VirtualSensorDevice(SensorDeviceIdentifier deviceId)
deviceId
- Method Detail |
---|
public final boolean isDeviceInSystemEnabled(Context context)
SensorDevice
context
- the application context
protected final void doSignalDeviceNotEnabledInSystem(Context applicationContext)
AbstractSensorDevice
doSignalDeviceNotEnabledInSystem
in class AbstractSensorDevice
applicationContext
- the application contextprotected final void onConfigurationChanged()
AbstractSensorDevice
onConfigurationChanged
in class AbstractSensorDevice
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |