de.unikassel.android.sdcframework.devices.facade
Enum SensorDeviceIdentifier

Package class diagram package SensorDeviceIdentifier
java.lang.Object
  extended by java.lang.Enum<SensorDeviceIdentifier>
      extended by de.unikassel.android.sdcframework.devices.facade.SensorDeviceIdentifier
All Implemented Interfaces:
Serializable, Comparable<SensorDeviceIdentifier>

public enum SensorDeviceIdentifier
extends Enum<SensorDeviceIdentifier>

Identifiers for all known sensor device types.

The sensor identifiers will be used for internal sensor identification as well as to identify the source device of collected samples.


Enum Constant Summary
Accelerometer
          accelerometer sensor.
Audio
          Virtual device to transport recorded sound files.
Bluetooth
          Android Bluetooth device.
CDMA
          CDMA (Code Division Multiple Access).
GPS
          GPS device.
GSM
          GSM (Global System for Mobile Communications).
Gyroscope
          gyroscope sensor.
Light
          light sensor.
MagneticField
          magnetic field sensor.
NetworkLocation
          Virtual network location device ( based on cell of wlan location information ).
Orientation
          orientation sensor.
Pressure
          pressure sensor.
Proximity
          proximity sensor.
Tags
          Virtual device to transport one or more tags.
Temperature
          temperature sensor.
TimeSyncStateChanges
          Virtual device to transport the time provider synchronization state changes.
Twitter
          Sensor polling a provider for collected Twitter samples.
Unknown
          unknown device
Wifi
          Android Wifi device.
 
Method Summary
static SensorDeviceIdentifier valueOf(String name)
          Returns the enum constant of this type with the specified name.
static SensorDeviceIdentifier[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

Accelerometer

public static final SensorDeviceIdentifier Accelerometer
accelerometer sensor.


Gyroscope

public static final SensorDeviceIdentifier Gyroscope
gyroscope sensor.


Light

public static final SensorDeviceIdentifier Light
light sensor.


MagneticField

public static final SensorDeviceIdentifier MagneticField
magnetic field sensor.


Orientation

public static final SensorDeviceIdentifier Orientation
orientation sensor.


Pressure

public static final SensorDeviceIdentifier Pressure
pressure sensor.


Proximity

public static final SensorDeviceIdentifier Proximity
proximity sensor.


Temperature

public static final SensorDeviceIdentifier Temperature
temperature sensor.


Wifi

public static final SensorDeviceIdentifier Wifi
Android Wifi device.


Bluetooth

public static final SensorDeviceIdentifier Bluetooth
Android Bluetooth device.


GPS

public static final SensorDeviceIdentifier GPS
GPS device.


NetworkLocation

public static final SensorDeviceIdentifier NetworkLocation
Virtual network location device ( based on cell of wlan location information ).


GSM

public static final SensorDeviceIdentifier GSM
GSM (Global System for Mobile Communications).


CDMA

public static final SensorDeviceIdentifier CDMA
CDMA (Code Division Multiple Access).


Twitter

public static final SensorDeviceIdentifier Twitter
Sensor polling a provider for collected Twitter samples.


Audio

public static final SensorDeviceIdentifier Audio
Virtual device to transport recorded sound files.


Tags

public static final SensorDeviceIdentifier Tags
Virtual device to transport one or more tags.


TimeSyncStateChanges

public static final SensorDeviceIdentifier TimeSyncStateChanges
Virtual device to transport the time provider synchronization state changes.


Unknown

public static final SensorDeviceIdentifier Unknown
unknown device

Method Detail

values

public static SensorDeviceIdentifier[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (SensorDeviceIdentifier c : SensorDeviceIdentifier.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static SensorDeviceIdentifier valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null