SORIRecognitionControlOutcome enum

What a pause or resume request did. Calls in the wrong state, and calls on a platform without a real pause, complete with an outcome instead of throwing.

Inheritance
Available extensions

Values

applied → const SORIRecognitionControlOutcome

The request changed the state: a pause released the microphone (or will, once a pending start comes up), a resume re-opened it.

alreadyInState → const SORIRecognitionControlOutcome

Recognition was already in the requested state: paused for a pause, running for a resume. Nothing changed and no event is emitted.

notRunning → const SORIRecognitionControlOutcome

Recognition is not running (never started, or stopped). Nothing changed; a resume never starts recognition. Call startRecognition instead.

unsupported → const SORIRecognitionControlOutcome

This platform has no real pause (iOS, Web, custom platforms without the capability). Nothing changed: recognition and the microphone keep running.

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<SORIRecognitionControlOutcome>
A constant List of the values in this enum, in order of their declaration.