Language

ChooserAction.Builder Constructors

Definition

Overloads

Name Description
ChooserAction.Builder(Icon, ICharSequence, PendingIntent)

Construct a new builder for ChooserAction object.

ChooserAction.Builder(Icon, String, PendingIntent)

Construct a new builder for ChooserAction object.

ChooserAction.Builder(Icon, ICharSequence, PendingIntent)

Construct a new builder for ChooserAction object.

[Android.Runtime.Register(".ctor", "(Landroid/graphics/drawable/Icon;Ljava/lang/CharSequence;Landroid/app/PendingIntent;)V", "", ApiSince=34)]
public Builder(Android.Graphics.Drawables.Icon icon, Java.Lang.ICharSequence label, Android.App.PendingIntent action);
[<Android.Runtime.Register(".ctor", "(Landroid/graphics/drawable/Icon;Ljava/lang/CharSequence;Landroid/app/PendingIntent;)V", "", ApiSince=34)>]
new Android.Service.Chooser.ChooserAction.Builder : Android.Graphics.Drawables.Icon * Java.Lang.ICharSequence * Android.App.PendingIntent -> Android.Service.Chooser.ChooserAction.Builder

Parameters

icon
Icon

an Icon representing this action, consisting of a white foreground atop a transparent background.

label
ICharSequence

label the user-readable label for this action.

action
PendingIntent

PendingIntent to be invoked when the action is selected.

Attributes

Remarks

Construct a new builder for ChooserAction object.

Java documentation for android.service.chooser.ChooserAction.Builder.ChooserAction$Builder(android.graphics.drawable.Icon, java.lang.CharSequence, 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

ChooserAction.Builder(Icon, String, PendingIntent)

Construct a new builder for ChooserAction object.

[Android.Runtime.Register(".ctor", "(Landroid/graphics/drawable/Icon;Ljava/lang/CharSequence;Landroid/app/PendingIntent;)V", "", ApiSince=34)]
public Builder(Android.Graphics.Drawables.Icon icon, string label, Android.App.PendingIntent action);
[<Android.Runtime.Register(".ctor", "(Landroid/graphics/drawable/Icon;Ljava/lang/CharSequence;Landroid/app/PendingIntent;)V", "", ApiSince=34)>]
new Android.Service.Chooser.ChooserAction.Builder : Android.Graphics.Drawables.Icon * string * Android.App.PendingIntent -> Android.Service.Chooser.ChooserAction.Builder

Parameters

icon
Icon

an Icon representing this action, consisting of a white foreground atop a transparent background. This value cannot be null.

label
String

label the user-readable label for this action. This value cannot be null.

action
PendingIntent

PendingIntent to be invoked when the action is selected. This value cannot be null.

Attributes

Remarks

Construct a new builder for ChooserAction object.

Android reference for android.service.chooser.ChooserAction.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