RemoteAction Constructores

Definición

Sobrecargas

RemoteAction(Icon, ICharSequence, ICharSequence, PendingIntent)

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

Parámetros

icon
Icon

Icono: este valor no puede ser NULL.

title
ICharSequence

CharSequence: este valor no puede ser NULL.

contentDescription
ICharSequence

CharSequence: este valor no puede ser NULL.

intent
PendingIntent

PendingIntent: este valor no puede ser NULL.

Atributos

Comentarios

Referencia de Android para android.app.RemoteAction.RemoteAction.

Las partes de esta página son modificaciones basadas en el trabajo creado y compartido por el Android y se usan según los términos descritos en creative Creative Commons 2.5 Attribution License.

Se aplica a

RemoteAction(Icon, String, String, PendingIntent)

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

Parámetros

icon
Icon

Icono: este valor no puede ser NULL.

title
String

CharSequence: este valor no puede ser NULL.

contentDescription
String

CharSequence: este valor no puede ser NULL.

intent
PendingIntent

PendingIntent: este valor no puede ser NULL.

Atributos

Comentarios

Referencia de Android para android.app.RemoteAction.RemoteAction.

Las partes de esta página son modificaciones basadas en el trabajo creado y compartido por el Android y se usan según los términos descritos en creative Creative Commons 2.5 Attribution License.

Se aplica a