Android.Net.Uri Members

The members of Android.Net.Uri are listed below.

See Also: Inherited members from Java.Lang.Object

Protected Constructors

A constructor used when creating managed representations of JNI objects; called by the runtime.

Public Properties

[read-only]
abstract
Authoritystring. Gets the decoded authority part of this URI.
[read-only]
static
CreatorAndroid.OS.IParcelableCreator. Reads Uris from Parcels.
[read-only]
static
EmptyUri. The empty URI, equivalent to "".
[read-only]
abstract
EncodedAuthoritystring. Gets the encoded authority part of this URI.
[read-only]
abstract
EncodedFragmentstring. Gets the encoded fragment part of this URI, everything after the '#'.
[read-only]
abstract
EncodedPathstring. Gets the encoded path.
[read-only]
abstract
EncodedQuerystring. Gets the encoded query component from this URI.
[read-only]
abstract
EncodedSchemeSpecificPartstring. Gets the scheme-specific part of this URI, i.e. everything between the scheme separator ':' and the fragment separator '#'.
[read-only]
abstract
EncodedUserInfostring. Gets the encoded user information from the authority.
[read-only]
abstract
Fragmentstring. Gets the decoded fragment part of this URI, everything after the '#'.
[read-only]
abstract
Hoststring. Gets the encoded host from the authority for this URI.
[read-only]
IsAbsolutebool. Returns true if this URI is absolute, i.e. if it contains an explicit scheme.
[read-only]
abstract
IsHierarchicalbool. Returns true if this URI is hierarchical like "http://google.com".
[read-only]
IsOpaquebool. Returns true if this URI is opaque like "mailto:nobody@google.com".
[read-only]
abstract
IsRelativebool. Returns true if this URI is relative, i.e. if it doesn't contain an explicit scheme.
[read-only]
abstract
LastPathSegmentstring. Gets the decoded last segment in the path.
[read-only]
abstract
Pathstring. Gets the decoded path.
[read-only]
abstract
PathSegmentsIList<string>. Gets the decoded path segments.
[read-only]
abstract
Portint. Gets the port from the authority for this URI.
[read-only]
abstract
Querystring. Gets the decoded query component from this URI.
[read-only]
QueryParameterNamesICollection<string>. Returns a set of the unique names of all query parameters.
[read-only]
abstract
Schemestring. Gets the scheme of this URI.
[read-only]
abstract
SchemeSpecificPartstring. Gets the scheme-specific part of this URI, i.e. everything between the scheme separator ':' and the fragment separator '#'.
[read-only]
abstract
UserInfostring. Gets the decoded user information from the authority.

Protected Properties

[read-only]
override
ThresholdClassIntPtr. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.
[read-only]
override
ThresholdTypeType. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.

Public Methods

abstract
BuildUpon() : Uri.Builder
Constructs a new builder, copying the attributes from this Uri.
CompareTo(Uri) : int
Compares the string representation of this Uri with that of another.
static
Decode(string) : string
Decodes '%'-escaped octets in the given string using the UTF-8 scheme.
abstract
DescribeContents() : int
Documentation for this section has not yet been entered.
static
Encode(string) : string
Encodes characters in the given string as '%'-escaped octets using the UTF-8 scheme.
static
Encode(string, string) : string
Encodes characters in the given string as '%'-escaped octets using the UTF-8 scheme.
static
FromFile(Java.IO.File) : Uri
Creates a Uri from a file.
static
FromParts(string, string, string) : Uri
Creates an opaque Uri from the given components.
GetBooleanQueryParameter(string, bool) : bool
Searches the query string for the first value with the given key and interprets it as a boolean value. "false" and "0" are interpreted as false, everything else is interpreted as true.
GetQueryParameter(string) : string
Searches the query string for the first value with the given key.
GetQueryParameters(string) : IList<string>
Searches the query string for parameter values with the given key.
NormalizeScheme() : Uri
Return an equivalent URI with a lowercase scheme component.
static
Parse(string) : Uri
Creates a Uri which parses the given encoded URI string.
abstract
ToString() : string
Returns the encoded string representation of this URI.
static
WithAppendedPath(Uri, string) : Uri
Creates a new Uri by appending an already-encoded path segment to a base Uri.
static
WriteToParcel(Android.OS.Parcel, Uri)
Writes a Uri to a Parcel.
abstract
WriteToParcel(Android.OS.Parcel, Android.OS.ParcelableWriteFlags)
Documentation for this section has not yet been entered.

Explicitly Implemented Interface Members

Java.Lang.IComparable.CompareToDocumentation for this section has not yet been entered.