Android.Content.Intent.ParseUri Method
Create an intent from a URI.

Syntax

[Android.Runtime.Register("parseUri", "(Ljava/lang/String;I)Landroid/content/Intent;", "")]
public static Intent ParseUri (string uri, [Android.Runtime.GeneratedEnum] IntentUriType flags)

See Also

Intent.ToUri(IntentUriType)

Parameters

uri
The URI to turn into an Intent.
flags
Additional processing flags. Either 0 or Intent.UriIntentScheme.

Returns

Documentation for this section has not yet been entered.

Exceptions

TypeReason
Java.Net.URISyntaxExceptionThrows URISyntaxError if the basic URI syntax it bad (as parsed by the Uri class) or the Intent data within the URI is invalid.

Remarks

Create an intent from a URI. This URI may encode the action, category, and other intent fields, if it was returned by Intent.ToUri(IntentUriType). If the Intent was not generate by toUri(), its data will be the entire URI and its action will be ACTION_VIEW.

The URI given here must not be relative -- that is, it must include the scheme and full path.

[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