de.unikassel.android.sdcframework.preferences.facade
Interface SensorDevicePreferences

Package class diagram package SensorDevicePreferences
All Superinterfaces:
SinglePreference<SensorDeviceConfiguration>
All Known Implementing Classes:
SensorDevicePreferencesImpl

public interface SensorDevicePreferences
extends SinglePreference<SensorDeviceConfiguration>

Interface for the preferences of a single sensor device.

A single sensor device has the following preferences:



Internal defaults are:
Internal defaults are used if there is no default configuration available in the XML configuration file of the framework.

See Also:
FrequencyPreference, PriorityLevelPreference, EnabledPreference

Method Summary
 SensorDeviceIdentifier getDeviceIdentifier()
          Getter for the device identifier
 SinglePreference<Boolean> getEnabledPreference()
          Getter for the enabled flag preference
 SinglePreference<Integer> getFrequencyPreference()
          Getter for the frequency preference
 SinglePreference<SensorDevicePriorities> getPriorityPreference()
          Getter for the priority preference
 
Methods inherited from interface de.unikassel.android.sdcframework.preferences.facade.SinglePreference
getConfiguration, getDefault, getKey, setDefault, testForKey
 

Method Detail

getDeviceIdentifier

SensorDeviceIdentifier getDeviceIdentifier()
Getter for the device identifier

Returns:
the device identifier

getFrequencyPreference

SinglePreference<Integer> getFrequencyPreference()
Getter for the frequency preference

Returns:
the frequency preference

getPriorityPreference

SinglePreference<SensorDevicePriorities> getPriorityPreference()
Getter for the priority preference

Returns:
the priority preference

getEnabledPreference

SinglePreference<Boolean> getEnabledPreference()
Getter for the enabled flag preference

Returns:
the enabled flag preference