RealtimeEvent class sealed
Base class for all realtime events.
Events are sent and received over the WebSocket connection.
- Implementers
- ConversationCreatedEvent
- ConversationItemCreatedEvent
- ConversationItemDeletedEvent
- ConversationItemTruncatedEvent
- ErrorEvent
- InputAudioBufferClearedEvent
- InputAudioBufferCommittedEvent
- InputAudioBufferSpeechStartedEvent
- InputAudioBufferSpeechStoppedEvent
- InputAudioTranscriptionCompletedEvent
- InputAudioTranscriptionDeltaEvent
- InputAudioTranscriptionFailedEvent
- InputAudioTranscriptionSegmentEvent
- RateLimitsUpdatedEvent
- ResponseAudioDeltaEvent
- ResponseAudioDoneEvent
- ResponseAudioTranscriptDeltaEvent
- ResponseAudioTranscriptDoneEvent
- ResponseContentPartAddedEvent
- ResponseContentPartDoneEvent
- ResponseCreatedEvent
- ResponseDoneEvent
- ResponseFunctionCallArgumentsDeltaEvent
- ResponseFunctionCallArgumentsDoneEvent
- ResponseOutputItemAddedEvent
- ResponseOutputItemDoneEvent
- ResponseTextDeltaEvent
- ResponseTextDoneEvent
- SessionCreatedEvent
- SessionUpdatedEvent
Constructors
-
RealtimeEvent.fromJson(Map<
String, dynamic> json) -
Creates a RealtimeEvent from JSON.
factory
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> - Converts to JSON.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited