ClassifierConfigMessage class

Which classifier to run and how to window the audio.

Constructors

ClassifierConfigMessage({String? modelPath, double? windowDurationSeconds, double? overlapFactor})

Properties

hashCode → int
The hash code for this object.
no setteroverride
modelPath ↔ String?
A Core ML sound classifier (.mlmodel, .mlpackage or .mlmodelc), or null for Apple's built-in classifier.
getter/setter pair
overlapFactor ↔ double?
Overlap between windows, 0 (none) up to 1, or null for the default.
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
windowDurationSeconds ↔ double?
Window length in seconds, or null for the classifier's default.
getter/setter pair

Methods

encode() → Object
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
override

Operators

operator ==(Object other) → bool
The equality operator.
override

Static Methods

decode(Object result) → ClassifierConfigMessage