Android Guides | Samples

Android.Content.ISharedPreferencesOnSharedPreferenceChangeListener

Interface definition for a callback to be invoked when a shared preference is changed.

See Also: ISharedPreferencesOnSharedPreferenceChangeListener

Syntax

[Android.Runtime.Register("android/content/SharedPreferences$OnSharedPreferenceChangeListener", "", "Android.Content.ISharedPreferencesOnSharedPreferenceChangeListenerInvoker")]
public interface ISharedPreferencesOnSharedPreferenceChangeListener : IJavaObject, IDisposable

Remarks

Interface definition for a callback to be invoked when a shared preference is changed.

[Android Documentation]

Requirements

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

The members of Android.Content.ISharedPreferencesOnSharedPreferenceChangeListener are listed below.

Public Methods

OnSharedPreferenceChanged(ISharedPreferences, String)
Called when a shared preference is changed, added, or removed.