| Package | Description |
|---|---|
| ai.z.openapi.service.realtime | |
| ai.z.openapi.service.realtime.server |
| Modifier and Type | Method and Description |
|---|---|
static RealtimeServerEvent |
JasonUtil.fromJsonToServerEvent(String json)
Converts JSON string to RealtimeServerEvent object.
|
| Modifier and Type | Method and Description |
|---|---|
static String |
JasonUtil.toJsonFromServerEvent(RealtimeServerEvent event)
Converts RealtimeServerEvent object to JSON string.
|
| Constructor and Description |
|---|
OkHttpRealtimeClient(OkHttpRealtimeClient.CommunicationProvider communicationProvider,
Consumer<RealtimeServerEvent> serverEventHandler) |
OkHttpRealtimeClient(OkHttpRealtimeClient.CommunicationProvider communicationProvider,
Consumer<RealtimeServerEvent> serverEventHandler,
okhttp3.OkHttpClient client) |
OkHttpRealtimeClient(OkHttpRealtimeClient.CommunicationProvider communicationProvider,
Consumer<RealtimeServerEvent> serverEventHandler,
okhttp3.OkHttpClient client,
boolean closeClientOnClose) |
| Modifier and Type | Class and Description |
|---|---|
class |
ConversationCreated
Server event indicating that a new conversation has been created.
|
class |
ConversationItemCreated |
class |
ConversationItemDeleted |
class |
ConversationItemInputAudioTranscriptionCompleted |
class |
ConversationItemInputAudioTranscriptionFailed |
class |
ConversationItemTruncated |
class |
InputAudioBufferCleared |
class |
InputAudioBufferCommitted |
class |
InputAudioBufferSpeechStarted |
class |
InputAudioBufferSpeechStopped |
class |
RateLimitsUpdated
Server event indicating that rate limits have been updated.
|
class |
RealtimeError
Server event indicating that an error has occurred.
|
class |
RealtimeHeartBeat |
class |
ResponseAudioDelta |
class |
ResponseAudioDone
Server event indicating that model-generated audio is complete.
|
class |
ResponseAudioTranscriptDelta |
class |
ResponseAudioTranscriptDone |
class |
ResponseContentPartAdded |
class |
ResponseContentPartDone |
class |
ResponseCreated
Server event indicating that a new response has been created.
|
class |
ResponseDone
Server event indicating that response generation is complete.
|
class |
ResponseFunctionCallArgumentsDelta |
class |
ResponseFunctionCallArgumentsDone
Server event indicating that model-generated function call arguments are complete.
|
class |
ResponseOutputItemAdded |
class |
ResponseOutputItemDone |
class |
ResponseTextDelta |
class |
ResponseTextDone |
class |
SessionCreated
Server event indicating that a new session has been created.
|
class |
SessionUpdated
Server event indicating that the session configuration has been updated.
|
Copyright © 2025. All rights reserved.