AI Session Events
AI audio recording, simultaneous interpretation, and AI chat publish related but distinct event enums. Match the callback model to its own enum type:
Event Reference
Shared session events
A common lifecycle used by AI audio recording and simultaneous interpretation. AI chat uses the same event names but has different raw values after its chat-specific events.
16.userInitiatedToStartAI Audio RecordingSimultaneous InterpretationThe user requested that the session start.
.sessionStartedAI Audio RecordingSimultaneous InterpretationThe session started successfully.
.sessionStartFailedAI Audio RecordingSimultaneous InterpretationThe session could not start.
.aiServiceConnectedAI Audio RecordingSimultaneous InterpretationThe selected AI service connected.
.autoEndSessionTriggeredAI Audio RecordingSimultaneous InterpretationThe configured inactivity rule requested session termination.
.userInitiatedToEndSessionAI Audio RecordingSimultaneous InterpretationThe user requested that the session end.
.sessionEndedAI Audio RecordingSimultaneous InterpretationThe session ended.
.aiServiceUnauthorizedAI Audio RecordingSimultaneous InterpretationAI service authentication failed.
.aiServiceDisconnectedAI Audio RecordingSimultaneous InterpretationThe AI service disconnected.
.aiServiceNetworkErrorAI Audio RecordingSimultaneous InterpretationThe AI service reported a network error.
.aiServiceStartRecordingAI Audio RecordingSimultaneous InterpretationThe AI service started recording.
.aiServiceEndRecordingAI Audio RecordingSimultaneous InterpretationThe AI service stopped recording.
.aiServiceRecordingErrorAI Audio RecordingSimultaneous InterpretationThe AI service reported a recording error.
.aiServiceResponseErrorAI Audio RecordingSimultaneous InterpretationThe AI service reported a response error.
.bleDisconnectedAI Audio RecordingSimultaneous InterpretationThe device BLE connection was lost.
.appWillTerminateAI Audio RecordingSimultaneous InterpretationThe host application is about to terminate.
AI chat event sequence
The complete AIChatEventType sequence, including SCO, VAD, intent, and response-playback events.
25.userInitiatedToStartAI ChatThe user requested that the session start.
.sessionStartedAI ChatThe session started successfully.
.sessionStartFailedAI ChatThe session could not start.
.aiServiceConnectedAI ChatThe selected AI service connected.
.scoRecordingLinkEstablishedAI ChatThe SCO recording link was established.
.scoRecordingStartFailedAI ChatSCO recording could not start.
.vadStartSpeakingAI ChatVAD detected that the user started speaking.
.triggerNewQuestionAI ChatA new user question began.
.vadEndSpeakingAI ChatVAD detected that the user stopped speaking.
.triggerEndQuestionAI ChatThe current user question ended.
.autoEndSessionTriggeredAI ChatThe configured inactivity rule requested session termination.
.userInitiatedToEndSessionAI ChatThe user requested that the session end.
.sessionEndedAI ChatThe AI chat session ended.
.aiServiceUnauthorizedAI ChatAI service authentication failed.
.aiServiceDisconnectedAI ChatThe AI service disconnected.
.aiServiceNetworkErrorAI ChatThe AI service reported a network error.
.aiServiceStartRecordingAI ChatThe AI service started recording.
.aiServiceEndRecordingAI ChatThe AI service stopped recording.
.aiServiceRecordingErrorAI ChatThe AI service reported a recording error.
.aiServiceResponseErrorAI ChatThe AI service reported a response error.
.aiIntentReceivedAI ChatThe provider delivered a recognized AI intent.
.aiRespondVoicePlaybackDidStartAI ChatPlayback of the AI voice response started.
.aiRespondVoicePlaybackDidStopAI ChatPlayback of the AI voice response stopped.
.bleDisconnectedAI ChatThe device BLE connection was lost.
.appWillTerminateAI ChatThe host application is about to terminate.