Retrieve a float value from the preferences.
Syntax
[Android.Runtime.Register("getFloat", "(Ljava/lang/String;F)F", "GetGetFloat_Ljava_lang_String_FHandler:Android.Content.ISharedPreferencesInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public
float GetFloat (
string key,
float defValue)
Parameters
- key
- The name of the preference to retrieve.
- defValue
- Value to return if this preference does not exist.
Returns
Documentation for this section has not yet been entered.
Exceptions
Remarks
Requirements
Namespace: Android.Content
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1