- key
- the preference key.
- deflt
- the default value, which will be returned if no value is mapped to the given key, if the backing store is unavailable, or if the value is invalid.
Documentation for this section has not yet been entered.
Type Reason Java.Lang.IllegalStateException if this node has been removed. Java.Lang.NullPointerException if the parameter key is null.
Gets the float value mapped to the given key or its default value if no value is mapped, if the backing store is unavailable, or if the value is an invalid string.
To be valid, the value string must be a string that can be converted to a float by Java.Lang.Float.ParseFloat(string).
Some implementations may store default values in backing stores. In this case, if there is no value mapped to the given key, the stored default value is returned.