QHexRT class

QHexRT NPU module — runs prebuilt QNN context binaries on Snapdragon v75+ NPUs. Android/Snapdragon only; on unsupported parts it stays unavailable.

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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

Static Properties

isAvailable bool
Whether the native backend library can be loaded on this device.
no setter

Static Methods

autoRegister() → void
dispose() → void
probeNpu() NpuCapability
Probe the Hexagon NPU without loading QNN. Safe on any device.
register() Future<void>
Register the QHexRT backend with the C++ plugin registry. Safe to call multiple times; on unsupported devices registration is rejected.
unregister() Future<void>
Unregister the QHexRT backend. Async for symmetry with register.

Constants

version → const String