Intent.ParseUri(String, IntentUriType) Intent.ParseUri(String, IntentUriType) Method

Definition

Create an intent from a URI.

[Android.Runtime.Register("parseUri", "(Ljava/lang/String;I)Landroid/content/Intent;", "", ApiSince=4)]
public static Android.Content.Intent ParseUri (string uri, Android.Content.IntentUriType flags);
static member ParseUri : string * Android.Content.IntentUriType -> Android.Content.Intent

Parameters

uri
String String

The URI to turn into an Intent.

flags
IntentUriType IntentUriType

Additional processing flags. Either 0, UriIntentScheme, or UriAndroidAppScheme.

Returns

Exceptions

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

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