public interface Settings
Modifier and Type | Method and Description |
---|---|
void |
addSettingsListener(SettingsListener listener) |
void |
clearSetting(String id) |
boolean |
getBoolean(String id)
Defaults to false.
|
boolean |
getBoolean(String id,
boolean defaultValue) |
long |
getLong(String id,
long defaultValue) |
String |
getString(String id,
String defaultValue) |
boolean |
isSet(String id) |
void |
reloadSettings() |
void |
removeSettingsListener(SettingsListener listener) |
void |
setBoolean(String id,
boolean value) |
void |
setLong(String id,
long value) |
void |
setString(String id,
String value) |
boolean getBoolean(String id)
boolean getBoolean(String id, boolean defaultValue)
void setBoolean(String id, boolean value)
void addSettingsListener(SettingsListener listener)
void removeSettingsListener(SettingsListener listener)
void clearSetting(String id)
long getLong(String id, long defaultValue)
boolean isSet(String id)
void setLong(String id, long value)
void reloadSettings()
Copyright © 2019. All Rights Reserved.