Intent.SetData(Uri) Intent.SetData(Uri) Method

Definition

Set the data this intent is operating on.

[Android.Runtime.Register("setData", "(Landroid/net/Uri;)Landroid/content/Intent;", "GetSetData_Landroid_net_Uri_Handler")]
public virtual Android.Content.Intent SetData (Android.Net.Uri data);
abstract member SetData : Android.Net.Uri -> Android.Content.Intent
override this.SetData : Android.Net.Uri -> Android.Content.Intent

Parameters

data
Uri Uri

The Uri of the data this intent is now targeting.

Returns

Remarks

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

See also