Rhino class

Properties

contextInfo String
Gets the source of the Rhino context in YAML format. Shows the list of intents, which expressions map to those intents, as well as slots and their possible values.
no setter
frameLength int
The number of audio samples per frame required by Rhino
no setter
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sampleRate int
The audio sample rate required by Rhino
no setter
version String
Rhino version string
no setter

Methods

delete() Future<void>
Frees memory that was allocated for Rhino
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
process(List<int>? frame) Future<RhinoInference>
Process a frame of pcm audio with the speech-to-intent engine.
reset() Future<void>
Resets the internal state of the engine. It should be called before the engine can be used to infer intent from a new stream of audio.
toString() String
A string representation of this object.
inherited

Operators

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

Static Methods

create(String accessKey, String contextPath, {String? modelPath, double sensitivity = 0.5, double endpointDurationSec = 1.0, bool requireEndpoint = true}) Future<Rhino>
Static creator for initializing Rhino