Freigeben über


Notification.Action Constructors

Definition

Overloads

Notification.Action(IntPtr, JniHandleOwnership)
Notification.Action(Int32, ICharSequence, PendingIntent)

This member is deprecated.

Notification.Action(Int32, String, PendingIntent)

Notification.Action(IntPtr, JniHandleOwnership)

protected Action (IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Android.App.Notification.Action : nativeint * Android.Runtime.JniHandleOwnership -> Android.App.Notification.Action

Parameters

javaReference
IntPtr

nativeint

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(Int32, ICharSequence, PendingIntent)

This member is deprecated.

[Android.Runtime.Register(".ctor", "(ILjava/lang/CharSequence;Landroid/app/PendingIntent;)V", "")]
public Action (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 : int * Java.Lang.ICharSequence * Android.App.PendingIntent -> Android.App.Notification.Action

Parameters

icon
Int32
intent
PendingIntent
Attributes

Remarks

This member is deprecated. Use android.app.Notification.Action.Builder.

Java documentation for android.app.Notification.Action.Notification$Action(int, 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

Notification.Action(Int32, String, PendingIntent)

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

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