Context.UpdateBindingParams.Builder 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
| 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.