Example usage for Java com.badlogic.gdx Preferences fields, constructors, methods, implement or subclass
The text is from its open source code.
boolean | contains(String key) |
void | flush() Makes sure the preferences are persisted. |
Map | get() Returns a read only Map |
boolean | getBoolean(String key) |
boolean | getBoolean(String key, boolean defValue) |
float | getFloat(String key, float defValue) |
float | getFloat(String key) |
int | getInteger(String key) |
int | getInteger(String key, int defValue) |
long | getLong(String key, long defValue) |
String | getString(String key) |
String | getString(String key, String defValue) |
Preferences | putBoolean(String key, boolean val) |
Preferences | putFloat(String key, float val) |
Preferences | putInteger(String key, int val) |
Preferences | putLong(String key, long val) |
Preferences | putString(String key, String val) |
void | remove(String key) |