|
||||||||||
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.BluetoothDevice
public final class BluetoothDevice
Implementation of the bluetooth sensor device.
Field Summary |
---|
Fields inherited from class de.unikassel.android.sdcframework.devices.SystemBroadcastReceivingDevice |
---|
receiver |
Constructor Summary | |
---|---|
BluetoothDevice(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 BluetoothDevice(Context applicationContext)
applicationContext
- the application contextMethod Detail |
---|
protected IntentFilter getIntentFilter()
SystemBroadcastReceivingDevice
getIntentFilter
in class SystemBroadcastReceivingDevice
public boolean isDeviceInSystemEnabled(Context context)
SensorDevice
context
- the application context
protected void doSignalDeviceNotEnabledInSystem(Context applicationContext)
AbstractSensorDevice
doSignalDeviceNotEnabledInSystem
in class AbstractSensorDevice
applicationContext
- the application contextprotected 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 |