Android.Preferences.Preference.GetPersistedLong Method
Attempts to get a persisted long from the Android.Content.ISharedPreferences.

Syntax

[Android.Runtime.Register("getPersistedLong", "(J)J", "GetGetPersistedLong_JHandler")]
protected virtual long GetPersistedLong (long defaultReturnValue)

See Also

Preference.GetPersistedString(string)
Preference.PersistLong(long)

Parameters

defaultReturnValue
The default value to return if either this Preference is not persistent or this Preference is not in the SharedPreferences.

Returns

Documentation for this section has not yet been entered.

Remarks

Attempts to get a persisted long from the Android.Content.ISharedPreferences.

[Android Documentation]

Requirements

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