Android.Content.Intent.ToUri Method
Convert this Intent into a String holding a URI representation of it.

Syntax

[Android.Runtime.Register("toUri", "(I)Ljava/lang/String;", "GetToUri_IHandler")]
public virtual string ToUri ([Android.Runtime.GeneratedEnum] IntentUriType flags)

Parameters

flags
Additional operating flags. Either 0 or Intent.UriIntentScheme.

Returns

Documentation for this section has not yet been entered.

Remarks

Convert this Intent into a String holding a URI representation of it. The returned URI string has been properly URI encoded, so it can be used with Android.Net.Uri.Parse(string). The URI contains the Intent's data as the base URI, with an additional fragment describing the action, categories, type, flags, package, component, and extras.

You can convert the returned string back to an Intent with Intent.GetIntent(string).

[Android Documentation]

Requirements

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