|
||||||||||
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.SystemBroadcastReceivingDevice
de.unikassel.android.sdcframework.devices.WifiDevice
public final class WifiDevice
Implementation of the wifi sensor device.
Field Summary |
---|
Fields inherited from class de.unikassel.android.sdcframework.devices.SystemBroadcastReceivingDevice |
---|
receiver |
Constructor Summary | |
---|---|
WifiDevice(Context applicationContext)
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. |
protected IntentFilter |
getIntentFilter()
Getter for intent filter used by the broadcast receiver |
boolean |
isDeviceInSystemEnabled(Context context)
Test method for the system wide enabled state of the device |
protected void |
onDeviceStateChange(Context context,
Intent intent)
Handler to react on broadcast intents for device changes |
Methods inherited from class de.unikassel.android.sdcframework.devices.SystemBroadcastReceivingDevice |
---|
getReceiver, onConfigurationChanged, onDestroy |
Methods inherited from class de.unikassel.android.sdcframework.devices.AbstractSensorDevice |
---|
accept, doHandleDeviceDisabledBySystem, doHandleDeviceEnabledBySystem, enableDeviceScanning, getConfiguration, getDeviceIdentifier, getScanner, isAirplaneModeOn, isDeviceScanningEnabled, onCreate, setDeviceIdentifier, setScanner, updateConfiguration |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public WifiDevice(Context applicationContext)
applicationContext
- the application contextMethod Detail |
---|
protected final IntentFilter getIntentFilter()
SystemBroadcastReceivingDevice
getIntentFilter
in class SystemBroadcastReceivingDevice
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 onDeviceStateChange(Context context, Intent intent)
SystemBroadcastReceivingDevice
onDeviceStateChange
in class SystemBroadcastReceivingDevice
context
- the contextintent
- the intent
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |