SettingsPreferenceServiceClient 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
SettingsPreferenceServiceClient(IntPtr, JniHandleOwnership) | |
SettingsPreferenceServiceClient(Context, String, IExecutor, IOutcomeReceiver) |
Construct a client for binding to a |
SettingsPreferenceServiceClient(IntPtr, JniHandleOwnership)
protected SettingsPreferenceServiceClient(IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Android.Service.Settings.Preferences.SettingsPreferenceServiceClient : nativeint * Android.Runtime.JniHandleOwnership -> Android.Service.Settings.Preferences.SettingsPreferenceServiceClient
Parameters
- javaReference
-
IntPtr
nativeint
- transfer
- JniHandleOwnership
Applies to
SettingsPreferenceServiceClient(Context, String, IExecutor, IOutcomeReceiver)
Construct a client for binding to a SettingsPreferenceService
provided by the
application corresponding to the provided package name.
[Android.Runtime.Register(".ctor", "(Landroid/content/Context;Ljava/lang/String;Ljava/util/concurrent/Executor;Landroid/os/OutcomeReceiver;)V", "", ApiSince=36)]
public SettingsPreferenceServiceClient(Android.Content.Context context, string packageName, Java.Util.Concurrent.IExecutor callbackExecutor, Android.OS.IOutcomeReceiver clientReadyCallback);
[<Android.Runtime.Register(".ctor", "(Landroid/content/Context;Ljava/lang/String;Ljava/util/concurrent/Executor;Landroid/os/OutcomeReceiver;)V", "", ApiSince=36)>]
new Android.Service.Settings.Preferences.SettingsPreferenceServiceClient : Android.Content.Context * string * Java.Util.Concurrent.IExecutor * Android.OS.IOutcomeReceiver -> Android.Service.Settings.Preferences.SettingsPreferenceServiceClient
Parameters
- context
- Context
Application context
- packageName
- String
package name for which this client will initiate a service binding
- callbackExecutor
- IExecutor
executor on which to invoke clientReadyCallback
- clientReadyCallback
- IOutcomeReceiver
callback invoked once the client is ready, error otherwise
- Attributes
Remarks
Construct a client for binding to a SettingsPreferenceService
provided by the application corresponding to the provided package name.
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.