de.unikassel.android.sdcframework.preferences
Class LongPreference
java.lang.Object
de.unikassel.android.sdcframework.preferences.SinglePreferenceImpl<Long>
de.unikassel.android.sdcframework.preferences.LongPreference
- All Implemented Interfaces:
- SinglePreference<Long>
public class LongPreference
- extends SinglePreferenceImpl<Long>
Preference implementation for long types.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LongPreference
protected LongPreference(String key,
Long defaultValue)
- Constructor
- Parameters:
key
- the key valuedefaultValue
- the default value
LongPreference
public LongPreference(String keyPrefix,
String keySuffix,
Long defaultValue)
- Constructor
- Parameters:
keyPrefix
- the key prefixkeySuffix
- the key suffixdefaultValue
- the default value
getConfiguration
public Long getConfiguration(SharedPreferences sharedPreferences)
- Description copied from interface:
SinglePreference
- Getter for the current value in the shared preferences
- Parameters:
sharedPreferences
- the shared application preferences
- Returns:
- the current value