イベント
例
window.addEventListener( 'UneeqMessage', (event) => {
const msg = event.detail;
console.log('UneeQ Message: ', msg);
switch( msg.uneeqMessageType ){
case 'SessionStateUpdate':
if( msg.live ) {
document.body.classList.add('uneeq-session-live');
} else {
document.body.classList.remove('uneeq-session-live');
}
break;
// Add additional event handlers here...
default:
break;
}
});AvatarAnswer
AvatarInterrupted
AvatarStartedSpeaking
AvatarStoppedSpeaking
AvatarUnavailable
CallToActionDismissed
CreateSessionFailed
CustomData
CustomerConcurrencyLimitReached
CustomMetadataUpdated
DataProcessingWarning
DeviceError
DigitalHumanMuted
DigitalHumanPlayedInMutedModeSuccess
DigitalHumanUnmuted
DisplayContentUpdated
EnableMicrophoneUpdated
FrameReady
FrameResize
Instructions
LayoutModeUpdate
MicPermissionDenied
NetworkQuality
プロパティ
型
説明
Notification
PromptRequest
PromptResult
PromptUpdated
ReadyToStart
RecordingStarted
RecordingStopped
RendererError
SceneReady
ServiceUnavailable
SessionBackendError
SessionConnecting
SessionDisconnected
SessionEnded
SessionError
SessionLive
SessionReconnecting
SessionReconnectingFinished
SessionStateUpdate
SoftSwitchFinished
SoftSwitchStarting
SpeechEvent
SpeechRecognitionTransientError
SpeechStarted
SpeechTranscription
UnhandledMessage
UserDismissedSession
UserStartedSpeaking
UserStoppedSpeaking
VadInterruptionAllowed
VideoAutoplayBlocked
VideoInitialized
VideoLayoutConfiguring
WaitingForRenderer
WaitingForStartRequest
WaitingInQueue
WaitingToStart
WebRtcConnected
WebRtcStats
最終更新
