RemoteViews.SetIntent(Int32, String, Intent) Method

Definition

Call a method taking one Intent on a view in the layout for this RemoteViews.

[Android.Runtime.Register("setIntent", "(ILjava/lang/String;Landroid/content/Intent;)V", "GetSetIntent_ILjava_lang_String_Landroid_content_Intent_Handler")]
public virtual void SetIntent (int viewId, string? methodName, Android.Content.Intent? value);
[<Android.Runtime.Register("setIntent", "(ILjava/lang/String;Landroid/content/Intent;)V", "GetSetIntent_ILjava_lang_String_Landroid_content_Intent_Handler")>]
abstract member SetIntent : int * string * Android.Content.Intent -> unit
override this.SetIntent : int * string * Android.Content.Intent -> unit

Parameters

viewId
Int32

The id of the view on which to call the method.

methodName
String

The name of the method to call.

value
Intent

The android.content.Intent to pass the method.

Attributes

Remarks

Java documentation for android.widget.RemoteViews.setIntent(int, java.lang.String, android.content.Intent).

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