ResourceRequestHandle class final
Owner of one native handle.
A resource load that a resource provider answers.
See mln_resource_request in the
C API reference.
- Implemented types
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → int
-
The native handle id.
no setter
- isClosed → bool
-
Whether the binding has accepted a release, dispose, or discard of
this handle.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
complete(
ResourceResponse response) → void - Answers a resource request.
-
isCancelled(
) → bool - Reads whether the library cancelled a resource request.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
passThrough(
) → void - Hands a resource request back to the library to load as usual.
-
release(
) → void - Releases a resource request.
-
setCancelCallback(
ResourceRequestCancelHandler handler) → bool - Calls a callback when the library cancels a resource request.
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited