Language

Uri.IsOpaque Property

Definition

Returns true if this URI is opaque like "mailto:nobody

public virtual bool IsOpaque { [Android.Runtime.Register("isOpaque", "()Z", "GetIsOpaqueHandler")] get; }
[<get: Android.Runtime.Register("isOpaque", "()Z", "GetIsOpaqueHandler")>]
member this.IsOpaque : bool

Property Value

True if this URI is not hierarchical; otherwise, false.

Attributes

Remarks

For parsed URIs, an opaque URI has a scheme-specific part that does not begin with a slash. A URI created by a builder can be classified differently from a URI parsed from the same string.

For example, mailto:nobody@example.com is opaque because its scheme-specific part does not begin with a slash.

Java documentation for android.net.Uri.isOpaque().

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