Skip to main content

ProcessorState

Tracks the lifecycle of an IAudioProcessor: kUnknownkInitializingkReady, or kFailed / kDisconnected on error.

ProcessorStateChange

Returned by GetNextStateChange and WaitForStateChange when polling.

Callbacks

Both callbacks run on background threads managed by the SDK. Keep them fast, non-blocking, and thread-safe.

ProcessorStateCallback

Invoked whenever the processor’s state changes.

TranscriptCallback

Invoked each time a transcript JSON event is received from the server. See Transcripts for the payload schema.
Both are passed to CreateAudioProcessor: