다음을 통해 공유


IPreferenceChangeListener.PreferenceChange(PreferenceChangeEvent) Method

Definition

This method gets called when a preference is added, removed or when its value is changed.

[Android.Runtime.Register("preferenceChange", "(Ljava/util/prefs/PreferenceChangeEvent;)V", "GetPreferenceChange_Ljava_util_prefs_PreferenceChangeEvent_Handler:Java.Util.Prefs.IPreferenceChangeListenerInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public void PreferenceChange (Java.Util.Prefs.PreferenceChangeEvent? evt);
[<Android.Runtime.Register("preferenceChange", "(Ljava/util/prefs/PreferenceChangeEvent;)V", "GetPreferenceChange_Ljava_util_prefs_PreferenceChangeEvent_Handler:Java.Util.Prefs.IPreferenceChangeListenerInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member PreferenceChange : Java.Util.Prefs.PreferenceChangeEvent -> unit

Parameters

evt
PreferenceChangeEvent

A PreferenceChangeEvent object describing the event source and the preference that has changed.

Attributes

Remarks

This method gets called when a preference is added, removed or when its value is changed.

Java documentation for java.util.prefs.PreferenceChangeListener.preferenceChange(java.util.prefs.PreferenceChangeEvent).

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