AudioTaskBackend class abstract interface

Google's Audio Classifier, created and run by a platform backend.

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

classify(Float32List samples, double sampleRate) → Future<List<Object?>>
Classifies mono samples at sampleRate and returns Google's JavaScript results (one per chunk), as JSON values.
dispose() → Future<void>
Waits for queued requests, then closes Google's task.
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