PorcupineManager class

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

delete() Future<void>
Releases Porcupine and audio resources
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 Porcupine Throws a PvAudioException if there was a problem starting the audio engine
stop() Future<void>
Closes audio stream
toString() String
A string representation of this object.
inherited

Operators

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

Static Methods

fromKeywordPaths(List<String> keywordPaths, WakeWordCallback wakeWordCallback, {String? modelPath, List<double>? sensitivities, ErrorCallback? errorCallback}) Future<PorcupineManager>
Static creator for initializing PorcupineManager from a list of paths to custom keyword files
fromKeywords(List<String> keywords, WakeWordCallback wakeWordCallback, {String? modelPath, List<double>? sensitivities, ErrorCallback? errorCallback}) Future<PorcupineManager>
Static creator for initializing PorcupineManager from a selection of built-in keywords

Constants

BUILT_IN_KEYWORDS → const List<String>
a list of built-in keywords