ChooserAction.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
| ChooserAction.Builder(Icon, ICharSequence, PendingIntent) |
Construct a new builder for |
| ChooserAction.Builder(Icon, String, PendingIntent) |
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.
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)
[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
- label
- String
- action
- PendingIntent
- Attributes