PreferenceChangeEvent Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
PreferenceChangeEvent(IntPtr, JniHandleOwnership) |
A constructor used when creating managed representations of JNI objects; called by the runtime. |
PreferenceChangeEvent(Preferences, String, String) |
Constructs a new |
PreferenceChangeEvent(IntPtr, JniHandleOwnership)
A constructor used when creating managed representations of JNI objects; called by the runtime.
protected PreferenceChangeEvent (IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Java.Util.Prefs.PreferenceChangeEvent : nativeint * Android.Runtime.JniHandleOwnership -> Java.Util.Prefs.PreferenceChangeEvent
Parameters
- transfer
- JniHandleOwnership
A JniHandleOwnershipindicating how to handle javaReference
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
PreferenceChangeEvent(Preferences, String, String)
Constructs a new PreferenceChangeEvent
instance.
[Android.Runtime.Register(".ctor", "(Ljava/util/prefs/Preferences;Ljava/lang/String;Ljava/lang/String;)V", "")]
public PreferenceChangeEvent (Java.Util.Prefs.Preferences? node, string? key, string? newValue);
[<Android.Runtime.Register(".ctor", "(Ljava/util/prefs/Preferences;Ljava/lang/String;Ljava/lang/String;)V", "")>]
new Java.Util.Prefs.PreferenceChangeEvent : Java.Util.Prefs.Preferences * string * string -> Java.Util.Prefs.PreferenceChangeEvent
Parameters
- node
- Preferences
The Preferences node that emitted the event.
- key
- String
The key of the preference that was changed.
- newValue
- String
The new value of the preference, or null
if the preference is being removed.
- Attributes
Remarks
Constructs a new PreferenceChangeEvent
instance.
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.