RemoteViews.SetUri(Int32, String, Uri) Method

Definition

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

[Android.Runtime.Register("setUri", "(ILjava/lang/String;Landroid/net/Uri;)V", "GetSetUri_ILjava_lang_String_Landroid_net_Uri_Handler")]
public virtual void SetUri (int viewId, string? methodName, Android.Net.Uri? value);
[<Android.Runtime.Register("setUri", "(ILjava/lang/String;Landroid/net/Uri;)V", "GetSetUri_ILjava_lang_String_Landroid_net_Uri_Handler")>]
abstract member SetUri : int * string * Android.Net.Uri -> unit
override this.SetUri : int * string * Android.Net.Uri -> 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
Uri

The value to pass to the method.

Attributes

Remarks

Java documentation for android.widget.RemoteViews.setUri(int, java.lang.String, android.net.Uri).

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