ResourceCallbackArgs class

Contains resource callback data.

Implemented types

Constructors

ResourceCallbackArgs()
Creates a new instance of the ResourceCallbackArgs class.
ResourceCallbackArgs.fromHandle(Pointer<id3BiosealResourceCallbackArgs> handle)
Creates a new instance of the ResourceCallbackArgs class.

Properties

handle Pointer<id3BiosealResourceCallbackArgs>
Gets the native handle. return The native handle.
no setter
hashCode int
The hash code for this object.
no setterinherited
outputData Uint8List
The external resource data as a byte array.
getter/setter pair
requiresUpdate bool
The external resource data must be updated.
no setter
resourceName String
The resource name corresponing to the uri.
no setter
resourceType ResourceType
The resource type corresponding to the uri.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
uri String
The URI used to retrieve the external resource.
no setter

Methods

computeSha256() String
Computes the SHA-256 of the external resource's data.
dispose() → void
Releases all resources used by this ResourceCallbackArgs.
download() → void
Downloads a resource.
downloadStringFile(String? url) String
Downloads a file from the specified URL and returns a string.
getOutputData() Uint8List
Gets the the external resource data as a byte array.
getRequiresUpdate() bool
Gets the the external resource data must be updated.
getResourceName() String
Gets the the resource name corresponing to the uri.
getResourceType() ResourceType
Gets the the resource type corresponding to the uri.
getUri() String
Gets the the URI used to retrieve the external resource.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
setOutputData(Uint8List? outputData) → void
Sets the the external resource data as a byte array.
toString() String
A string representation of this object.
inherited

Operators

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