RhinoManager 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>
Releases Rhino and audio resources. Throws a RhinoException if there was a problem stopping audio recording.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
process() Future<void>
Starts audio recording and processing with the Rhino engine until a inference result is sent via the inferenceCallback Throws a RhinoException if there was a problem starting audio recording.
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, InferenceCallback inferenceCallback, {String? modelPath, double sensitivity = 0.5, double endpointDurationSec = 1.0, bool requireEndpoint = true, ProcessErrorCallback? processErrorCallback}) Future<RhinoManager>
Static creator for initializing Rhino