Share via


Preferences.RemovePreferenceChangeListener(IPreferenceChangeListener) Method

Definition

Removes the specified preference change listener, so it no longer receives preference change events.

[Android.Runtime.Register("removePreferenceChangeListener", "(Ljava/util/prefs/PreferenceChangeListener;)V", "GetRemovePreferenceChangeListener_Ljava_util_prefs_PreferenceChangeListener_Handler")]
public abstract void RemovePreferenceChangeListener (Java.Util.Prefs.IPreferenceChangeListener? pcl);
[<Android.Runtime.Register("removePreferenceChangeListener", "(Ljava/util/prefs/PreferenceChangeListener;)V", "GetRemovePreferenceChangeListener_Ljava_util_prefs_PreferenceChangeListener_Handler")>]
abstract member RemovePreferenceChangeListener : Java.Util.Prefs.IPreferenceChangeListener -> unit

Parameters

pcl
IPreferenceChangeListener

The preference change listener to remove.

Attributes

Exceptions

if the given listener is null.

if this node has been removed.

Remarks

Removes the specified preference change listener, so it no longer receives preference change events.

Java documentation for java.util.prefs.Preferences.removePreferenceChangeListener(java.util.prefs.PreferenceChangeListener).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to