Declared in BZMediaParams.h

BZSREngineState

This constant enumerator defines the real-time Speech Recognizer (SR) Engine State(SRES). An application accesses the speech recognizer via BZMediaController interface. During speech recognition and when the speech recognizer changes state, events describing its changed state are posted asynchronously and in real-time to the main thread of a registered client or application.

Definition

typedef NS_ENUM(NSInteger, BZSREngineState ) {
   SRES_NOT_VALID = -1,
   SRES_IDLE = 0,
   SRES_STARTING = 1,
   SRES_ACTIVE = 2,
   SRES_STOPPING = 3,
   SRES_FINISHING = 4,
   SRES_NOT_AVAILABLE = 5,
};

Constants

SRES_NOT_VALID

Speech Recognizer state is not valid. This is the initial state of the Speech Recognizer before it’s initialized.

Declared In BZMediaParams.h.

SRES_IDLE

Speech Recognizer state is idle. The Audio Recorder state must be ARS_IDLE for a request to recognize audio to be accepted.

Declared In BZMediaParams.h.

SRES_STARTING

Speech Recognizer state is starting. Speech Recognizer has accepted a request to recognize audio.

Declared In BZMediaParams.h.

SRES_ACTIVE

Speech Recognizer state is active. Speech Recognizer is recognizing recorded audio.

Declared In BZMediaParams.h.

SRES_STOPPING

Speech Recognizer state is stopping. Speech Recognizer transitions to this state after receiving a request to stop Speech Recognition. Speech Recognizer state then transitions from SRES_STOPPING to SRES_IDLE.

Declared In BZMediaParams.h.

SRES_FINISHING

Speech Recognizer state is finishing. Speech Recognizer transitions to this state after successfully recognizing audio. Speech Recognizer state then transitions from SRES_FINISHING to SRES_IDLE.

Declared In BZMediaParams.h.

SRES_NOT_AVAILABLE

Speech Recognizer state is not available.

Declared In BZMediaParams.h.

Declared In

BZMediaParams.h