Langue

Context.UpdateBindingParams.Builder Constructors

Definition

Overloads

Name Description
Context.UpdateBindingParams.Builder(IServiceConnection)

Create a new builder for an unbind request of the connection.

Context.UpdateBindingParams.Builder(IServiceConnection, Context+BindServiceFlags)

Create a new builder for a rebind request of the connection with the specified flags which will completely replace the existing set of flags.

Context.UpdateBindingParams.Builder(IServiceConnection)

Create a new builder for an unbind request of the connection.

[Android.Runtime.Register(".ctor", "(Landroid/content/ServiceConnection;)V", "", ApiSince=37)]
public Builder(Android.Content.IServiceConnection connection);
[<Android.Runtime.Register(".ctor", "(Landroid/content/ServiceConnection;)V", "", ApiSince=37)>]
new Android.Content.Context.UpdateBindingParams.Builder : Android.Content.IServiceConnection -> Android.Content.Context.UpdateBindingParams.Builder

Parameters

connection
IServiceConnection

The ServiceConnection this update applies to. This value cannot be null.

Attributes

Remarks

Create a new builder for an unbind request of the connection.

Android reference for android.content.Context.UpdateBindingParams.Builder.Builder.

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

Context.UpdateBindingParams.Builder(IServiceConnection, Context+BindServiceFlags)

Create a new builder for a rebind request of the connection with the specified flags which will completely replace the existing set of flags.

[Android.Runtime.Register(".ctor", "(Landroid/content/ServiceConnection;Landroid/content/Context$BindServiceFlags;)V", "", ApiSince=37)]
public Builder(Android.Content.IServiceConnection connection, Android.Content.Context.BindServiceFlags flags);
[<Android.Runtime.Register(".ctor", "(Landroid/content/ServiceConnection;Landroid/content/Context$BindServiceFlags;)V", "", ApiSince=37)>]
new Android.Content.Context.UpdateBindingParams.Builder : Android.Content.IServiceConnection * Android.Content.Context.BindServiceFlags -> Android.Content.Context.UpdateBindingParams.Builder

Parameters

connection
IServiceConnection

The ServiceConnection this update applies to. This value cannot be null.

flags
Context.BindServiceFlags

The BindServiceFlags for the rebind request. This value cannot be null.

Attributes

Remarks

Create a new builder for a rebind request of the connection with the specified flags which will completely replace the existing set of flags. Only flags returned from Context.getUpdateableFlags() may be added or removed. Any invalid additions or removals will trigger an IllegalArgumentException when the update call is made.

Android reference for android.content.Context.UpdateBindingParams.Builder.Builder.

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