Udostępnij za pośrednictwem


Control.StatefulBuilder Constructors

Definition

Overloads

Control.StatefulBuilder(Control)

Creates a StatelessBuilder using an existing Control as a base.

Control.StatefulBuilder(String, PendingIntent)

Control.StatefulBuilder(Control)

Creates a StatelessBuilder using an existing Control as a base.

[Android.Runtime.Register(".ctor", "(Landroid/service/controls/Control;)V", "", ApiSince=30)]
public StatefulBuilder (Android.Service.Controls.Control control);
[<Android.Runtime.Register(".ctor", "(Landroid/service/controls/Control;)V", "", ApiSince=30)>]
new Android.Service.Controls.Control.StatefulBuilder : Android.Service.Controls.Control -> Android.Service.Controls.Control.StatefulBuilder

Parameters

control
Control

base for the builder.

Attributes

Remarks

Creates a StatelessBuilder using an existing Control as a base.

Java documentation for android.service.controls.Control.StatefulBuilder.Control$StatefulBuilder(android.service.controls.Control).

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

Control.StatefulBuilder(String, PendingIntent)

[Android.Runtime.Register(".ctor", "(Ljava/lang/String;Landroid/app/PendingIntent;)V", "", ApiSince=30)]
public StatefulBuilder (string controlId, Android.App.PendingIntent appIntent);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/String;Landroid/app/PendingIntent;)V", "", ApiSince=30)>]
new Android.Service.Controls.Control.StatefulBuilder : string * Android.App.PendingIntent -> Android.Service.Controls.Control.StatefulBuilder

Parameters

controlId
String

the identifier for the Control.

appIntent
PendingIntent

the pending intent linking to the device Activity.

Attributes

Remarks

Java documentation for android.service.controls.Control.StatefulBuilder.Control$StatefulBuilder(java.lang.String, android.app.PendingIntent).

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