Android.Net.Uri.FromParts Method
Creates an opaque Uri from the given components.

Syntax

[Android.Runtime.Register("fromParts", "(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Landroid/net/Uri;", "")]
public static Uri FromParts (string scheme, string ssp, string fragment)

Parameters

scheme
of the URI
ssp
scheme-specific-part, everything between the scheme separator (':') and the fragment separator ('#'), which will get encoded
fragment
fragment, everything after the '#', null if undefined, will get encoded

Returns

Documentation for this section has not yet been entered.

Exceptions

TypeReason
Java.Lang.NullPointerExceptionif scheme or ssp is null

Remarks

Creates an opaque Uri from the given components. Encodes the ssp which means this method cannot be used to create hierarchical URIs.

[Android Documentation]

Requirements

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