QhexrtBindings class

FFI bindings for the private QHexRT (Qualcomm Hexagon NPU) backend.

Registration symbols live in librac_backend_qhexrt.so; the pre-flight NPU probe (rac_npu_probe_proto) lives in librac_commons.so and returns serialized runanywhere.v1.NpuCapability proto bytes decoded with the generated NpuCapability type. Android/Snapdragon only.

Constructors

QhexrtBindings()

Properties

hashCode int
The hash code for this object.
no setterinherited
isAvailable bool
no setter
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
probeProto() NpuCapability
Probe the Hexagon NPU via commons' rac_npu_probe_proto, decoding the serialized runanywhere.v1.NpuCapability. Throws when the symbol is missing or the native call fails; callers map that to the unknown fallback.
register() int
toString() String
A string representation of this object.
inherited
unregister() int

Operators

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

Static Methods

checkAvailability() bool
True on Android when the backend registration symbol resolves.