Retrieve a long value from the preferences.
Syntax
[Android.Runtime.Register("getLong", "(Ljava/lang/String;J)J", "GetGetLong_Ljava_lang_String_JHandler:Android.Content.ISharedPreferencesInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public
long GetLong (
string key,
long 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