Aracılığıyla paylaş


PreferenceChangeEvent Constructors

Definition

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 instance.

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

javaReference
IntPtr

nativeint

A IntPtrcontaining a Java Native Interface (JNI) object reference.

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.

Java documentation for java.util.prefs.PreferenceChangeEvent.PreferenceChangeEvent(java.util.prefs.Preferences, java.lang.String, java.lang.String).

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