RealtimeEventInputAudioBufferClear class abstract

Inheritance

Constructors

RealtimeEventInputAudioBufferClear.new({@JsonKey(name: 'event_id') required String eventId, RealtimeEventType type})
const
factory
RealtimeEventInputAudioBufferClear.fromJson(Map<String, dynamic> json)
factory

Properties

copyWith → _$$RealtimeEventInputAudioBufferClearImplCopyWith<_$RealtimeEventInputAudioBufferClearImpl>
Create a copy of RealtimeEvent with the given fields replaced by the non-null parameter values.
no setter
eventId String
Optional client-generated ID used to identify this event.
no setter
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
type RealtimeEventType
The type of the event.
no setter

Methods

map<TResult extends Object?>({required TResult conversationItemCreate(RealtimeEventConversationItemCreate value), required TResult conversationItemDelete(RealtimeEventConversationItemDelete value), required TResult conversationItemTruncate(RealtimeEventConversationItemTruncate value), required TResult inputAudioBufferAppend(RealtimeEventInputAudioBufferAppend value), required TResult inputAudioBufferClear(RealtimeEventInputAudioBufferClear value), required TResult inputAudioBufferCommit(RealtimeEventInputAudioBufferCommit value), required TResult responseCancel(RealtimeEventResponseCancel value), required TResult responseCreate(RealtimeEventResponseCreate value), required TResult sessionUpdate(RealtimeEventSessionUpdate value), required TResult conversationCreated(RealtimeEventConversationCreated value), required TResult conversationItemCreated(RealtimeEventConversationItemCreated value), required TResult conversationItemDeleted(RealtimeEventConversationItemDeleted value), required TResult conversationItemInputAudioTranscriptionCompleted(RealtimeEventConversationItemInputAudioTranscriptionCompleted value), required TResult conversationItemInputAudioTranscriptionFailed(RealtimeEventConversationItemInputAudioTranscriptionFailed value), required TResult conversationItemInputAudioTranscriptionDelta(RealtimeEventConversationItemInputAudioTranscriptionDelta value), required TResult conversationItemTruncated(RealtimeEventConversationItemTruncated value), required TResult error(RealtimeEventError value), required TResult inputAudioBufferCleared(RealtimeEventInputAudioBufferCleared value), required TResult inputAudioBufferCommitted(RealtimeEventInputAudioBufferCommitted value), required TResult inputAudioBufferSpeechStarted(RealtimeEventInputAudioBufferSpeechStarted value), required TResult inputAudioBufferSpeechStopped(RealtimeEventInputAudioBufferSpeechStopped value), required TResult rateLimitsUpdated(RealtimeEventRateLimitsUpdated value), required TResult responseAudioDelta(RealtimeEventResponseAudioDelta value), required TResult responseAudioDone(RealtimeEventResponseAudioDone value), required TResult responseAudioTranscriptDelta(RealtimeEventResponseAudioTranscriptDelta value), required TResult responseAudioTranscriptDone(RealtimeEventResponseAudioTranscriptDone value), required TResult responseContentPartAdded(RealtimeEventResponseContentPartAdded value), required TResult responseContentPartDone(RealtimeEventResponseContentPartDone value), required TResult responseCreated(RealtimeEventResponseCreated value), required TResult responseDone(RealtimeEventResponseDone value), required TResult responseFunctionCallArgumentsDelta(RealtimeEventResponseFunctionCallArgumentsDelta value), required TResult responseFunctionCallArgumentsDone(RealtimeEventResponseFunctionCallArgumentsDone value), required TResult responseOutputItemAdded(RealtimeEventResponseOutputItemAdded value), required TResult responseOutputItemDone(RealtimeEventResponseOutputItemDone value), required TResult responseTextDelta(RealtimeEventResponseTextDelta value), required TResult responseTextDone(RealtimeEventResponseTextDone value), required TResult sessionCreated(RealtimeEventSessionCreated value), required TResult sessionUpdated(RealtimeEventSessionUpdated value), required TResult close(RealtimeEventClose value), required TResult conversationInterrupted(RealtimeEventConversationInterrupted value), required TResult conversationUpdated(RealtimeEventConversationUpdated value), required TResult conversationItemAppended(RealtimeEventConversationItemAppended value), required TResult conversationItemCompleted(RealtimeEventConversationItemCompleted value), required TResult generic(RealtimeEventGeneric value)}) → TResult
inherited
mapOrNull<TResult extends Object?>({TResult? conversationItemCreate(RealtimeEventConversationItemCreate value)?, TResult? conversationItemDelete(RealtimeEventConversationItemDelete value)?, TResult? conversationItemTruncate(RealtimeEventConversationItemTruncate value)?, TResult? inputAudioBufferAppend(RealtimeEventInputAudioBufferAppend value)?, TResult? inputAudioBufferClear(RealtimeEventInputAudioBufferClear value)?, TResult? inputAudioBufferCommit(RealtimeEventInputAudioBufferCommit value)?, TResult? responseCancel(RealtimeEventResponseCancel value)?, TResult? responseCreate(RealtimeEventResponseCreate value)?, TResult? sessionUpdate(RealtimeEventSessionUpdate value)?, TResult? conversationCreated(RealtimeEventConversationCreated value)?, TResult? conversationItemCreated(RealtimeEventConversationItemCreated value)?, TResult? conversationItemDeleted(RealtimeEventConversationItemDeleted value)?, TResult? conversationItemInputAudioTranscriptionCompleted(RealtimeEventConversationItemInputAudioTranscriptionCompleted value)?, TResult? conversationItemInputAudioTranscriptionFailed(RealtimeEventConversationItemInputAudioTranscriptionFailed value)?, TResult? conversationItemInputAudioTranscriptionDelta(RealtimeEventConversationItemInputAudioTranscriptionDelta value)?, TResult? conversationItemTruncated(RealtimeEventConversationItemTruncated value)?, TResult? error(RealtimeEventError value)?, TResult? inputAudioBufferCleared(RealtimeEventInputAudioBufferCleared value)?, TResult? inputAudioBufferCommitted(RealtimeEventInputAudioBufferCommitted value)?, TResult? inputAudioBufferSpeechStarted(RealtimeEventInputAudioBufferSpeechStarted value)?, TResult? inputAudioBufferSpeechStopped(RealtimeEventInputAudioBufferSpeechStopped value)?, TResult? rateLimitsUpdated(RealtimeEventRateLimitsUpdated value)?, TResult? responseAudioDelta(RealtimeEventResponseAudioDelta value)?, TResult? responseAudioDone(RealtimeEventResponseAudioDone value)?, TResult? responseAudioTranscriptDelta(RealtimeEventResponseAudioTranscriptDelta value)?, TResult? responseAudioTranscriptDone(RealtimeEventResponseAudioTranscriptDone value)?, TResult? responseContentPartAdded(RealtimeEventResponseContentPartAdded value)?, TResult? responseContentPartDone(RealtimeEventResponseContentPartDone value)?, TResult? responseCreated(RealtimeEventResponseCreated value)?, TResult? responseDone(RealtimeEventResponseDone value)?, TResult? responseFunctionCallArgumentsDelta(RealtimeEventResponseFunctionCallArgumentsDelta value)?, TResult? responseFunctionCallArgumentsDone(RealtimeEventResponseFunctionCallArgumentsDone value)?, TResult? responseOutputItemAdded(RealtimeEventResponseOutputItemAdded value)?, TResult? responseOutputItemDone(RealtimeEventResponseOutputItemDone value)?, TResult? responseTextDelta(RealtimeEventResponseTextDelta value)?, TResult? responseTextDone(RealtimeEventResponseTextDone value)?, TResult? sessionCreated(RealtimeEventSessionCreated value)?, TResult? sessionUpdated(RealtimeEventSessionUpdated value)?, TResult? close(RealtimeEventClose value)?, TResult? conversationInterrupted(RealtimeEventConversationInterrupted value)?, TResult? conversationUpdated(RealtimeEventConversationUpdated value)?, TResult? conversationItemAppended(RealtimeEventConversationItemAppended value)?, TResult? conversationItemCompleted(RealtimeEventConversationItemCompleted value)?, TResult? generic(RealtimeEventGeneric value)?}) → TResult?
inherited
maybeMap<TResult extends Object?>({TResult conversationItemCreate(RealtimeEventConversationItemCreate value)?, TResult conversationItemDelete(RealtimeEventConversationItemDelete value)?, TResult conversationItemTruncate(RealtimeEventConversationItemTruncate value)?, TResult inputAudioBufferAppend(RealtimeEventInputAudioBufferAppend value)?, TResult inputAudioBufferClear(RealtimeEventInputAudioBufferClear value)?, TResult inputAudioBufferCommit(RealtimeEventInputAudioBufferCommit value)?, TResult responseCancel(RealtimeEventResponseCancel value)?, TResult responseCreate(RealtimeEventResponseCreate value)?, TResult sessionUpdate(RealtimeEventSessionUpdate value)?, TResult conversationCreated(RealtimeEventConversationCreated value)?, TResult conversationItemCreated(RealtimeEventConversationItemCreated value)?, TResult conversationItemDeleted(RealtimeEventConversationItemDeleted value)?, TResult conversationItemInputAudioTranscriptionCompleted(RealtimeEventConversationItemInputAudioTranscriptionCompleted value)?, TResult conversationItemInputAudioTranscriptionFailed(RealtimeEventConversationItemInputAudioTranscriptionFailed value)?, TResult conversationItemInputAudioTranscriptionDelta(RealtimeEventConversationItemInputAudioTranscriptionDelta value)?, TResult conversationItemTruncated(RealtimeEventConversationItemTruncated value)?, TResult error(RealtimeEventError value)?, TResult inputAudioBufferCleared(RealtimeEventInputAudioBufferCleared value)?, TResult inputAudioBufferCommitted(RealtimeEventInputAudioBufferCommitted value)?, TResult inputAudioBufferSpeechStarted(RealtimeEventInputAudioBufferSpeechStarted value)?, TResult inputAudioBufferSpeechStopped(RealtimeEventInputAudioBufferSpeechStopped value)?, TResult rateLimitsUpdated(RealtimeEventRateLimitsUpdated value)?, TResult responseAudioDelta(RealtimeEventResponseAudioDelta value)?, TResult responseAudioDone(RealtimeEventResponseAudioDone value)?, TResult responseAudioTranscriptDelta(RealtimeEventResponseAudioTranscriptDelta value)?, TResult responseAudioTranscriptDone(RealtimeEventResponseAudioTranscriptDone value)?, TResult responseContentPartAdded(RealtimeEventResponseContentPartAdded value)?, TResult responseContentPartDone(RealtimeEventResponseContentPartDone value)?, TResult responseCreated(RealtimeEventResponseCreated value)?, TResult responseDone(RealtimeEventResponseDone value)?, TResult responseFunctionCallArgumentsDelta(RealtimeEventResponseFunctionCallArgumentsDelta value)?, TResult responseFunctionCallArgumentsDone(RealtimeEventResponseFunctionCallArgumentsDone value)?, TResult responseOutputItemAdded(RealtimeEventResponseOutputItemAdded value)?, TResult responseOutputItemDone(RealtimeEventResponseOutputItemDone value)?, TResult responseTextDelta(RealtimeEventResponseTextDelta value)?, TResult responseTextDone(RealtimeEventResponseTextDone value)?, TResult sessionCreated(RealtimeEventSessionCreated value)?, TResult sessionUpdated(RealtimeEventSessionUpdated value)?, TResult close(RealtimeEventClose value)?, TResult conversationInterrupted(RealtimeEventConversationInterrupted value)?, TResult conversationUpdated(RealtimeEventConversationUpdated value)?, TResult conversationItemAppended(RealtimeEventConversationItemAppended value)?, TResult conversationItemCompleted(RealtimeEventConversationItemCompleted value)?, TResult generic(RealtimeEventGeneric value)?, required TResult orElse()}) → TResult
inherited
maybeWhen<TResult extends Object?>({TResult conversationItemCreate(String eventId, RealtimeEventType type, String? previousItemId, Item item)?, TResult conversationItemDelete(String eventId, RealtimeEventType type, String itemId)?, TResult conversationItemTruncate(String eventId, RealtimeEventType type, String itemId, int contentIndex, int audioEndMs)?, TResult inputAudioBufferAppend(String eventId, RealtimeEventType type, String audio)?, TResult inputAudioBufferClear(String eventId, RealtimeEventType type)?, TResult inputAudioBufferCommit(String eventId, RealtimeEventType type)?, TResult responseCancel(String eventId, RealtimeEventType type, String? responseId)?, TResult responseCreate(String eventId, RealtimeEventType type, ResponseConfig? response)?, TResult sessionUpdate(String? eventId, RealtimeEventType type, SessionConfig session)?, TResult conversationCreated(String eventId, RealtimeEventType type, Conversation conversation)?, TResult conversationItemCreated(String eventId, RealtimeEventType type, String? previousItemId, Item item)?, TResult conversationItemDeleted(String eventId, RealtimeEventType type, String itemId)?, TResult conversationItemInputAudioTranscriptionCompleted(String eventId, RealtimeEventType type, String itemId, int contentIndex, String transcript)?, TResult conversationItemInputAudioTranscriptionFailed(String eventId, RealtimeEventType type, String itemId, int contentIndex, TranscriptionError error)?, TResult conversationItemInputAudioTranscriptionDelta(String eventId, RealtimeEventType type, String itemId, int? contentIndex, String? delta)?, TResult conversationItemTruncated(String eventId, RealtimeEventType type, String itemId, int contentIndex, int audioEndMs)?, TResult error(String eventId, RealtimeEventType type, APIError error)?, TResult inputAudioBufferCleared(String eventId, RealtimeEventType type)?, TResult inputAudioBufferCommitted(String eventId, RealtimeEventType type, String? previousItemId, String itemId)?, TResult inputAudioBufferSpeechStarted(String eventId, RealtimeEventType type, int audioStartMs, String itemId)?, TResult inputAudioBufferSpeechStopped(String eventId, RealtimeEventType type, int audioEndMs, String itemId)?, TResult rateLimitsUpdated(String eventId, RealtimeEventType type, List<RateLimit> rateLimits)?, TResult responseAudioDelta(String eventId, RealtimeEventType type, String responseId, String itemId, int outputIndex, int contentIndex, String delta)?, TResult responseAudioDone(String eventId, RealtimeEventType type, String responseId, String itemId, int outputIndex, int contentIndex)?, TResult responseAudioTranscriptDelta(String eventId, RealtimeEventType type, String responseId, String itemId, int outputIndex, int contentIndex, String delta)?, TResult responseAudioTranscriptDone(String eventId, RealtimeEventType type, String responseId, String itemId, int outputIndex, int contentIndex, String transcript)?, TResult responseContentPartAdded(String eventId, RealtimeEventType type, String responseId, String itemId, int outputIndex, int contentIndex, ContentPart part)?, TResult responseContentPartDone(String eventId, RealtimeEventType type, String responseId, String itemId, int outputIndex, int contentIndex, ContentPart part)?, TResult responseCreated(String eventId, RealtimeEventType type, Response response)?, TResult responseDone(String eventId, RealtimeEventType type, Response response)?, TResult responseFunctionCallArgumentsDelta(String eventId, RealtimeEventType type, String responseId, String itemId, int outputIndex, String callId, String delta)?, TResult responseFunctionCallArgumentsDone(String eventId, RealtimeEventType type, String responseId, String itemId, int outputIndex, String callId, String arguments)?, TResult responseOutputItemAdded(String eventId, RealtimeEventType type, String responseId, int outputIndex, Item item)?, TResult responseOutputItemDone(String eventId, RealtimeEventType type, String responseId, int outputIndex, Item item)?, TResult responseTextDelta(String eventId, RealtimeEventType type, String responseId, String itemId, int outputIndex, int contentIndex, String delta)?, TResult responseTextDone(String eventId, RealtimeEventType type, String responseId, String itemId, int outputIndex, int contentIndex, String text)?, TResult sessionCreated(String eventId, RealtimeEventType type, Session session)?, TResult sessionUpdated(String eventId, RealtimeEventType type, Session session)?, TResult close(String eventId, RealtimeEventType type, bool error)?, TResult conversationInterrupted(String eventId, RealtimeEventType type)?, TResult conversationUpdated(String eventId, RealtimeEventType type, EventHandlerResult result)?, TResult conversationItemAppended(String eventId, RealtimeEventType type, FormattedItem item)?, TResult conversationItemCompleted(String eventId, RealtimeEventType type, FormattedItem item)?, TResult generic(String eventId, RealtimeEventType type, RealtimeEvent event)?, required TResult orElse()}) → TResult
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
Serializes this RealtimeEvent to a JSON map.
inherited
toString() String
A string representation of this object.
inherited
when<TResult extends Object?>({required TResult conversationItemCreate(String eventId, RealtimeEventType type, String? previousItemId, Item item), required TResult conversationItemDelete(String eventId, RealtimeEventType type, String itemId), required TResult conversationItemTruncate(String eventId, RealtimeEventType type, String itemId, int contentIndex, int audioEndMs), required TResult inputAudioBufferAppend(String eventId, RealtimeEventType type, String audio), required TResult inputAudioBufferClear(String eventId, RealtimeEventType type), required TResult inputAudioBufferCommit(String eventId, RealtimeEventType type), required TResult responseCancel(String eventId, RealtimeEventType type, String? responseId), required TResult responseCreate(String eventId, RealtimeEventType type, ResponseConfig? response), required TResult sessionUpdate(String? eventId, RealtimeEventType type, SessionConfig session), required TResult conversationCreated(String eventId, RealtimeEventType type, Conversation conversation), required TResult conversationItemCreated(String eventId, RealtimeEventType type, String? previousItemId, Item item), required TResult conversationItemDeleted(String eventId, RealtimeEventType type, String itemId), required TResult conversationItemInputAudioTranscriptionCompleted(String eventId, RealtimeEventType type, String itemId, int contentIndex, String transcript), required TResult conversationItemInputAudioTranscriptionFailed(String eventId, RealtimeEventType type, String itemId, int contentIndex, TranscriptionError error), required TResult conversationItemInputAudioTranscriptionDelta(String eventId, RealtimeEventType type, String itemId, int? contentIndex, String? delta), required TResult conversationItemTruncated(String eventId, RealtimeEventType type, String itemId, int contentIndex, int audioEndMs), required TResult error(String eventId, RealtimeEventType type, APIError error), required TResult inputAudioBufferCleared(String eventId, RealtimeEventType type), required TResult inputAudioBufferCommitted(String eventId, RealtimeEventType type, String? previousItemId, String itemId), required TResult inputAudioBufferSpeechStarted(String eventId, RealtimeEventType type, int audioStartMs, String itemId), required TResult inputAudioBufferSpeechStopped(String eventId, RealtimeEventType type, int audioEndMs, String itemId), required TResult rateLimitsUpdated(String eventId, RealtimeEventType type, List<RateLimit> rateLimits), required TResult responseAudioDelta(String eventId, RealtimeEventType type, String responseId, String itemId, int outputIndex, int contentIndex, String delta), required TResult responseAudioDone(String eventId, RealtimeEventType type, String responseId, String itemId, int outputIndex, int contentIndex), required TResult responseAudioTranscriptDelta(String eventId, RealtimeEventType type, String responseId, String itemId, int outputIndex, int contentIndex, String delta), required TResult responseAudioTranscriptDone(String eventId, RealtimeEventType type, String responseId, String itemId, int outputIndex, int contentIndex, String transcript), required TResult responseContentPartAdded(String eventId, RealtimeEventType type, String responseId, String itemId, int outputIndex, int contentIndex, ContentPart part), required TResult responseContentPartDone(String eventId, RealtimeEventType type, String responseId, String itemId, int outputIndex, int contentIndex, ContentPart part), required TResult responseCreated(String eventId, RealtimeEventType type, Response response), required TResult responseDone(String eventId, RealtimeEventType type, Response response), required TResult responseFunctionCallArgumentsDelta(String eventId, RealtimeEventType type, String responseId, String itemId, int outputIndex, String callId, String delta), required TResult responseFunctionCallArgumentsDone(String eventId, RealtimeEventType type, String responseId, String itemId, int outputIndex, String callId, String arguments), required TResult responseOutputItemAdded(String eventId, RealtimeEventType type, String responseId, int outputIndex, Item item), required TResult responseOutputItemDone(String eventId, RealtimeEventType type, String responseId, int outputIndex, Item item), required TResult responseTextDelta(String eventId, RealtimeEventType type, String responseId, String itemId, int outputIndex, int contentIndex, String delta), required TResult responseTextDone(String eventId, RealtimeEventType type, String responseId, String itemId, int outputIndex, int contentIndex, String text), required TResult sessionCreated(String eventId, RealtimeEventType type, Session session), required TResult sessionUpdated(String eventId, RealtimeEventType type, Session session), required TResult close(String eventId, RealtimeEventType type, bool error), required TResult conversationInterrupted(String eventId, RealtimeEventType type), required TResult conversationUpdated(String eventId, RealtimeEventType type, EventHandlerResult result), required TResult conversationItemAppended(String eventId, RealtimeEventType type, FormattedItem item), required TResult conversationItemCompleted(String eventId, RealtimeEventType type, FormattedItem item), required TResult generic(String eventId, RealtimeEventType type, RealtimeEvent event)}) → TResult
inherited
whenOrNull<TResult extends Object?>({TResult? conversationItemCreate(String eventId, RealtimeEventType type, String? previousItemId, Item item)?, TResult? conversationItemDelete(String eventId, RealtimeEventType type, String itemId)?, TResult? conversationItemTruncate(String eventId, RealtimeEventType type, String itemId, int contentIndex, int audioEndMs)?, TResult? inputAudioBufferAppend(String eventId, RealtimeEventType type, String audio)?, TResult? inputAudioBufferClear(String eventId, RealtimeEventType type)?, TResult? inputAudioBufferCommit(String eventId, RealtimeEventType type)?, TResult? responseCancel(String eventId, RealtimeEventType type, String? responseId)?, TResult? responseCreate(String eventId, RealtimeEventType type, ResponseConfig? response)?, TResult? sessionUpdate(String? eventId, RealtimeEventType type, SessionConfig session)?, TResult? conversationCreated(String eventId, RealtimeEventType type, Conversation conversation)?, TResult? conversationItemCreated(String eventId, RealtimeEventType type, String? previousItemId, Item item)?, TResult? conversationItemDeleted(String eventId, RealtimeEventType type, String itemId)?, TResult? conversationItemInputAudioTranscriptionCompleted(String eventId, RealtimeEventType type, String itemId, int contentIndex, String transcript)?, TResult? conversationItemInputAudioTranscriptionFailed(String eventId, RealtimeEventType type, String itemId, int contentIndex, TranscriptionError error)?, TResult? conversationItemInputAudioTranscriptionDelta(String eventId, RealtimeEventType type, String itemId, int? contentIndex, String? delta)?, TResult? conversationItemTruncated(String eventId, RealtimeEventType type, String itemId, int contentIndex, int audioEndMs)?, TResult? error(String eventId, RealtimeEventType type, APIError error)?, TResult? inputAudioBufferCleared(String eventId, RealtimeEventType type)?, TResult? inputAudioBufferCommitted(String eventId, RealtimeEventType type, String? previousItemId, String itemId)?, TResult? inputAudioBufferSpeechStarted(String eventId, RealtimeEventType type, int audioStartMs, String itemId)?, TResult? inputAudioBufferSpeechStopped(String eventId, RealtimeEventType type, int audioEndMs, String itemId)?, TResult? rateLimitsUpdated(String eventId, RealtimeEventType type, List<RateLimit> rateLimits)?, TResult? responseAudioDelta(String eventId, RealtimeEventType type, String responseId, String itemId, int outputIndex, int contentIndex, String delta)?, TResult? responseAudioDone(String eventId, RealtimeEventType type, String responseId, String itemId, int outputIndex, int contentIndex)?, TResult? responseAudioTranscriptDelta(String eventId, RealtimeEventType type, String responseId, String itemId, int outputIndex, int contentIndex, String delta)?, TResult? responseAudioTranscriptDone(String eventId, RealtimeEventType type, String responseId, String itemId, int outputIndex, int contentIndex, String transcript)?, TResult? responseContentPartAdded(String eventId, RealtimeEventType type, String responseId, String itemId, int outputIndex, int contentIndex, ContentPart part)?, TResult? responseContentPartDone(String eventId, RealtimeEventType type, String responseId, String itemId, int outputIndex, int contentIndex, ContentPart part)?, TResult? responseCreated(String eventId, RealtimeEventType type, Response response)?, TResult? responseDone(String eventId, RealtimeEventType type, Response response)?, TResult? responseFunctionCallArgumentsDelta(String eventId, RealtimeEventType type, String responseId, String itemId, int outputIndex, String callId, String delta)?, TResult? responseFunctionCallArgumentsDone(String eventId, RealtimeEventType type, String responseId, String itemId, int outputIndex, String callId, String arguments)?, TResult? responseOutputItemAdded(String eventId, RealtimeEventType type, String responseId, int outputIndex, Item item)?, TResult? responseOutputItemDone(String eventId, RealtimeEventType type, String responseId, int outputIndex, Item item)?, TResult? responseTextDelta(String eventId, RealtimeEventType type, String responseId, String itemId, int outputIndex, int contentIndex, String delta)?, TResult? responseTextDone(String eventId, RealtimeEventType type, String responseId, String itemId, int outputIndex, int contentIndex, String text)?, TResult? sessionCreated(String eventId, RealtimeEventType type, Session session)?, TResult? sessionUpdated(String eventId, RealtimeEventType type, Session session)?, TResult? close(String eventId, RealtimeEventType type, bool error)?, TResult? conversationInterrupted(String eventId, RealtimeEventType type)?, TResult? conversationUpdated(String eventId, RealtimeEventType type, EventHandlerResult result)?, TResult? conversationItemAppended(String eventId, RealtimeEventType type, FormattedItem item)?, TResult? conversationItemCompleted(String eventId, RealtimeEventType type, FormattedItem item)?, TResult? generic(String eventId, RealtimeEventType type, RealtimeEvent event)?}) → TResult?
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited