Language

SettingsPreferenceService Constructors

Definition

Overloads

Name Description
SettingsPreferenceService()

Initializes a new instance of the settings preference service base class.

SettingsPreferenceService(IntPtr, JniHandleOwnership)

Creates a managed instance that represents an existing Java object.

SettingsPreferenceService()

Initializes a new instance of the settings preference service base class.

[Android.Runtime.Register(".ctor", "()V", "", ApiSince=36)]
public SettingsPreferenceService();
Attributes

Remarks

Derived services implement the metadata retrieval, value retrieval, and value update callbacks. Construction does not bind a client to the service.

Android 16 source for SettingsPreferenceService.

Applies to

SettingsPreferenceService(IntPtr, JniHandleOwnership)

Creates a managed instance that represents an existing Java object.

protected SettingsPreferenceService(IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Android.Service.Settings.Preferences.SettingsPreferenceService : nativeint * Android.Runtime.JniHandleOwnership -> Android.Service.Settings.Preferences.SettingsPreferenceService

Parameters

javaReference
IntPtr

nativeint

A JNI reference to the Java object.

transfer
JniHandleOwnership

Specifies whether ownership of the JNI reference transfers to this instance.

Remarks

The runtime calls this constructor to create a managed representation of an existing Java object.

Applies to