|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||

java.lang.Objectde.unikassel.android.sdcframework.preferences.SinglePreferenceImpl<SensorDevicePriorities>
de.unikassel.android.sdcframework.preferences.PriorityLevelPreference
public final class PriorityLevelPreference
Implementation of the preference for the device
priority.
| Field Summary | |
|---|---|
static SensorDevicePriorities |
DEFAULT
The deafult value |
static String |
KEY
The frequency key |
| Constructor Summary | |
|---|---|
PriorityLevelPreference()
Constructor |
|
PriorityLevelPreference(String keySuffix)
Constructor |
|
| Method Summary | |
|---|---|
SensorDevicePriorities |
getConfiguration(SharedPreferences sharedPreferences)
Getter for the current value in the shared preferences |
static SensorDevicePriorities |
toPriorityLevel(Integer ordinalLevel)
Does convert an ordinal level value to it's corresponding sensor device priority level. |
| Methods inherited from class de.unikassel.android.sdcframework.preferences.SinglePreferenceImpl |
|---|
getDefault, getKey, setDefault, testForKey |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String KEY
public static final SensorDevicePriorities DEFAULT
| Constructor Detail |
|---|
public PriorityLevelPreference()
public PriorityLevelPreference(String keySuffix)
keySuffix - the key suffix| Method Detail |
|---|
public final SensorDevicePriorities getConfiguration(SharedPreferences sharedPreferences)
SinglePreference
sharedPreferences - the shared application preferences
public static SensorDevicePriorities toPriorityLevel(Integer ordinalLevel)
ordinalLevel - the ordinal level value
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||