RemoteAction 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
| Name | Description |
|---|---|
| RemoteAction(Icon, ICharSequence, ICharSequence, PendingIntent) | |
| RemoteAction(Icon, String, String, PendingIntent) |
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
Parameters
- icon
- Icon
Icon: This value cannot be null.
- title
- ICharSequence
CharSequence: This value cannot be null.
- contentDescription
- ICharSequence
CharSequence: This value cannot be null.
- intent
- PendingIntent
PendingIntent: This value cannot be null.
- Attributes
Remarks
Android reference for android.app.RemoteAction.RemoteAction.
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
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
Parameters
- icon
- Icon
Icon: This value cannot be null.
- title
- String
CharSequence: This value cannot be null.
- contentDescription
- String
CharSequence: This value cannot be null.
- intent
- PendingIntent
PendingIntent: This value cannot be null.
- Attributes
Remarks
Android reference for android.app.RemoteAction.RemoteAction.
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.