Android.Content.Intent.SetDataAndNormalize Method
Normalize and set the data this intent is operating on.

Syntax

[Android.Runtime.Register("setDataAndNormalize", "(Landroid/net/Uri;)Landroid/content/Intent;", "GetSetDataAndNormalize_Landroid_net_Uri_Handler")]
public virtual Intent SetDataAndNormalize (Android.Net.Uri data)

See Also

Intent.Data
Intent.SetType(string)
Android.Net.Uri.NormalizeScheme

Parameters

data
The Uri of the data this intent is now targeting.

Returns

Documentation for this section has not yet been entered.

Remarks

Normalize and set the data this intent is operating on.

This method automatically clears any type that was previously set (for example, by Intent.SetType(string)).

The data Uri is normalized using Android.Net.Uri.NormalizeScheme before it is set, so really this is just a convenience method for

java Example

 setData(data.normalize())
 

[Android Documentation]

Requirements

Namespace: Android.Content
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 16