다음을 통해 공유


AbstractPreferences.AddPreferenceChangeListener Method

Definition

Registers a PreferenceChangeListener instance for this node, which will handle PreferenceChangeEvents.

[Android.Runtime.Register("addPreferenceChangeListener", "(Ljava/util/prefs/PreferenceChangeListener;)V", "GetAddPreferenceChangeListener_Ljava_util_prefs_PreferenceChangeListener_Handler")]
public override void AddPreferenceChangeListener (Java.Util.Prefs.IPreferenceChangeListener? pcl);
[<Android.Runtime.Register("addPreferenceChangeListener", "(Ljava/util/prefs/PreferenceChangeListener;)V", "GetAddPreferenceChangeListener_Ljava_util_prefs_PreferenceChangeListener_Handler")>]
override this.AddPreferenceChangeListener : Java.Util.Prefs.IPreferenceChangeListener -> unit

Parameters

pcl
IPreferenceChangeListener

the listener to be registered.

Attributes

Remarks

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