共用方式為


Notification.Action.Builder Constructors

Definition

Overloads

Notification.Action.Builder(Notification+Action)
Notification.Action.Builder(Icon, ICharSequence, PendingIntent)
Notification.Action.Builder(Icon, String, PendingIntent)
Notification.Action.Builder(Int32, ICharSequence, PendingIntent)
Notification.Action.Builder(Int32, String, PendingIntent)

Notification.Action.Builder(Notification+Action)

[Android.Runtime.Register(".ctor", "(Landroid/app/Notification$Action;)V", "")]
public Builder (Android.App.Notification.Action? action);
[<Android.Runtime.Register(".ctor", "(Landroid/app/Notification$Action;)V", "")>]
new Android.App.Notification.Action.Builder : Android.App.Notification.Action -> Android.App.Notification.Action.Builder

Parameters

Attributes

Remarks

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

Notification.Action.Builder(Icon, ICharSequence, PendingIntent)

[Android.Runtime.Register(".ctor", "(Landroid/graphics/drawable/Icon;Ljava/lang/CharSequence;Landroid/app/PendingIntent;)V", "", ApiSince=23)]
public Builder (Android.Graphics.Drawables.Icon? icon, Java.Lang.ICharSequence? title, Android.App.PendingIntent? intent);
[<Android.Runtime.Register(".ctor", "(Landroid/graphics/drawable/Icon;Ljava/lang/CharSequence;Landroid/app/PendingIntent;)V", "", ApiSince=23)>]
new Android.App.Notification.Action.Builder : Android.Graphics.Drawables.Icon * Java.Lang.ICharSequence * Android.App.PendingIntent -> Android.App.Notification.Action.Builder

Parameters

icon
Icon
intent
PendingIntent
Attributes

Remarks

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

Notification.Action.Builder(Icon, String, PendingIntent)

[Android.Runtime.Register(".ctor", "(Landroid/graphics/drawable/Icon;Ljava/lang/CharSequence;Landroid/app/PendingIntent;)V", "", ApiSince=23)]
public Builder (Android.Graphics.Drawables.Icon? icon, string? title, Android.App.PendingIntent? intent);
[<Android.Runtime.Register(".ctor", "(Landroid/graphics/drawable/Icon;Ljava/lang/CharSequence;Landroid/app/PendingIntent;)V", "", ApiSince=23)>]
new Android.App.Notification.Action.Builder : Android.Graphics.Drawables.Icon * string * Android.App.PendingIntent -> Android.App.Notification.Action.Builder

Parameters

icon
Icon
title
String
intent
PendingIntent
Attributes

Remarks

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

Notification.Action.Builder(Int32, ICharSequence, PendingIntent)

[Android.Runtime.Register(".ctor", "(ILjava/lang/CharSequence;Landroid/app/PendingIntent;)V", "")]
public Builder (int icon, Java.Lang.ICharSequence? title, Android.App.PendingIntent? intent);
[<Android.Runtime.Register(".ctor", "(ILjava/lang/CharSequence;Landroid/app/PendingIntent;)V", "")>]
new Android.App.Notification.Action.Builder : int * Java.Lang.ICharSequence * Android.App.PendingIntent -> Android.App.Notification.Action.Builder

Parameters

icon
Int32
intent
PendingIntent
Attributes

Remarks

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

Notification.Action.Builder(Int32, String, PendingIntent)

[Android.Runtime.Register(".ctor", "(ILjava/lang/CharSequence;Landroid/app/PendingIntent;)V", "")]
public Builder (int icon, string? title, Android.App.PendingIntent? intent);
[<Android.Runtime.Register(".ctor", "(ILjava/lang/CharSequence;Landroid/app/PendingIntent;)V", "")>]
new Android.App.Notification.Action.Builder : int * string * Android.App.PendingIntent -> Android.App.Notification.Action.Builder

Parameters

icon
Int32
title
String
intent
PendingIntent
Attributes

Remarks

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