Java.Util.Prefs.AbstractPreferences.GetDouble Method
Gets the double 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.

Syntax

[Android.Runtime.Register("getDouble", "(Ljava/lang/String;D)D", "GetGetDouble_Ljava_lang_String_DHandler")]
public override double GetDouble (string key, double deflt)

Parameters

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.

Returns

Documentation for this section has not yet been entered.

Remarks

Gets the double 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 double by Java.Lang.Double.ParseDouble(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.

[Android Documentation]

Requirements

Namespace: Java.Util.Prefs
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1