Language

VisualizerViewAction.CreateIntent Method

Definition

Converts the specified actions into an Intent intended for use with RemoteViews#setOnClickPendingIntent(int, PendingIntent).

[Android.Runtime.Register("createIntent", "(Landroid/service/personalcontext/embedded/VisualizerViewAction;Landroid/service/personalcontext/embedded/VisualizerViewAction;)Landroid/content/Intent;", "", ApiSince=37)]
public static Android.Content.Intent CreateIntent(Android.Service.PersonalContext.Embedded.VisualizerViewAction? onClickAction, Android.Service.PersonalContext.Embedded.VisualizerViewAction? onLongClickAction);
[<Android.Runtime.Register("createIntent", "(Landroid/service/personalcontext/embedded/VisualizerViewAction;Landroid/service/personalcontext/embedded/VisualizerViewAction;)Landroid/content/Intent;", "", ApiSince=37)>]
static member CreateIntent : Android.Service.PersonalContext.Embedded.VisualizerViewAction * Android.Service.PersonalContext.Embedded.VisualizerViewAction -> Android.Content.Intent

Parameters

onClickAction
VisualizerViewAction

The action to execute when the target view is clicked, or null if none.

onLongClickAction
VisualizerViewAction

The action to execute when the target view is long-pressed, or null if none.

Returns

An Intent containing the actions parceled as extras.

Attributes

Applies to