Picovoice 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
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

delete() → void
Release the resources acquired by Picovoice (via Porcupine and Rhino engines).
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
process(List<int> frame) → void
Processes a frame of the incoming audio stream. Upon detection of wake word and completion of follow-on command inference invokes user-defined callbacks.
toString() String
A string representation of this object.
inherited

Operators

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

Static Properties

frameLength int
The required number of audio samples per frame
no setter
porcupineVersion String
Version of Porcupine
no setter
rhinoVersion String
Version of Rhino
no setter
sampleRate int
The required audio sample rate
no setter
version String
Version of Picovoice
no setter

Static Methods

create(String keywordPath, WakeWordCallback wakeWordCallback, String contextPath, InferenceCallback inferenceCallback, {double porcupineSensitivity = 0.5, double rhinoSensitivity = 0.5, String? porcupineModelPath, String? rhinoModelPath}) → dynamic
Picovoice constructor