Uri class

Defines an object that represents a Uniform Resource Identifier (URI) value and parses it into components. The Uri object is used by many other Windows Runtime APIs that are not necessarily confined to web browser scenarios.

Implemented types
Available extensions

Constructors

Uri.createUri(String uri)
factory
Uri.createWithRelativeUri(String baseUri, String relativeUri)
factory
Uri.fromPtr(Pointer<COMObject> ptr)

Properties

absoluteCanonicalUri String
no setteroverride
absoluteUri String
no setteroverride
displayIri String
no setteroverride
displayUri String
no setteroverride
domain String
no setteroverride
extension String
no setteroverride
fragment String
no setteroverride
hashCode int
The hash code for this object.
no setterinherited
host String
no setteroverride
password String
no setteroverride
path String
no setteroverride
port int
no setteroverride
ptr Pointer<COMObject>
getter/setter pairinherited
query String
no setteroverride
queryParsed → WwwFormUrlDecoder?
no setteroverride
rawUri String
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
schemeName String
no setteroverride
suspicious bool
no setteroverride
userName String
no setteroverride

Methods

addRef() int
Increments the reference count for an interface pointer to a COM object.
inherited
combineUri(String relativeUri) Uri?
override
detach() → void
Detaches the object from the Finalizer.
inherited
equals(Uri? pUri) bool
override
getIids(Pointer<Uint32> iidCount, Pointer<Pointer<GUID>> iids) int
inherited
getRuntimeClassName(Pointer<IntPtr> className) int
inherited
getTrustLevel(Pointer<Int32> trustLevel) int
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
queryInterface(Pointer<GUID> riid, Pointer<Pointer<NativeType>> ppvObject) int
Queries a COM object for a pointer to one of its interface; identifying the interface by a reference to its interface identifier (IID).
inherited
release() int
Decrements the reference count for an interface on a COM object.
inherited
toInterface(String iid) Pointer<COMObject>
Cast an existing COM object to a specified interface.
inherited
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

escapeComponent(String toEscape) String
unescapeComponent(String toUnescape) String