PicovoiceManager 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. Only available after a call to .start().
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

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
start() Future<void>
Opens audio input stream and sends audio frames to Picovoice. Throws a PicovoiceException if an instance of Picovoice could not be created.
stop() Future<void>
Closes audio stream and stops Picovoice processing. Throws a PorcupineException if there was a problem stopping 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 keywordPath, WakeWordCallback wakeWordCallback, String contextPath, InferenceCallback inferenceCallback, {double porcupineSensitivity = 0.5, double rhinoSensitivity = 0.5, String? porcupineModelPath, String? rhinoModelPath, double endpointDurationSec = 1.0, bool requireEndpoint = true, ProcessErrorCallback? processErrorCallback}) → dynamic
Picovoice constructor