Lines Matching defs:value
46 * Set a String value to the data store.
48 * <p>Once the value is set the data store is responsible for holding it.
51 * @param value The new value for the preference.
54 default void putString(String key, @Nullable String value) {
59 * Set a set of String value to the data store.
61 * <p>Once the value is set the data store is responsible for holding it.
72 * Set an int value to the data store.
74 * <p>Once the value is set the data store is responsible for holding it.
77 * @param value The new value for the preference.
80 default void putInt(String key, int value) {
85 * Set a long value to the data store.
87 * <p>Once the value is set the data store is responsible for holding it.
90 * @param value The new value for the preference.
93 default void putLong(String key, long value) {
98 * Set a float value to the data store.
100 * <p>Once the value is set the data store is responsible for holding it.
103 * @param value The new value for the preference.
106 default void putFloat(String key, float value) {
111 * Set a boolean value to the data store.
113 * <p>Once the value is set the data store is responsible for holding it.
116 * @param value The new value for the preference.
119 default void putBoolean(String key, boolean value) {
124 * Retrieve a String value from the data store.
148 * Retrieve an int value from the data store.
159 * Retrieve a long value from the data store.
170 * Retrieve a float value from the data store.
181 * Retrieve a boolean value from the data store.