SORIRecognitionMode enum
Which recognizer identifies the audio.
The same three modes, with the same validation, exist in the native Android and iOS SDKs.
Values
- onDevice → const SORIRecognitionMode
-
On-device recognition only, with no server traffic: the behaviour of every release up to 0.4.2.
serverRecognitionmust be null. - server → const SORIRecognitionMode
-
Server recognition: no on-device material matcher; every query is sent to SORI Console (
POST /api/v1/recognize), which recognizes and records it.serverRecognitionis optional; null means continuous queries with the default delay. - onDeviceWithPeriodicServer → const SORIRecognitionMode
-
On-device recognition of every capture window, plus server queries on the period (and burst) of
serverRecognition, which is required and needs a positive SORIServerRecognitionOptions.intervalMillis.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- index → int
-
A numeric identifier for the enumerated value.
no setterinherited
- name → String
-
Available on Enum, provided by the EnumName extension
The name of the enum value.no setter - 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
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
-
values
→ const List<
SORIRecognitionMode> - A constant List of the values in this enum, in order of their declaration.