ProjectsRealtimeClient Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
The extended real time client.
public class ProjectsRealtimeClient : OpenAI.Realtime.RealtimeClient
type ProjectsRealtimeClient = class
inherit RealtimeClient
Public Class ProjectsRealtimeClient
Inherits RealtimeClient
- Inheritance
-
OpenAI.Realtime.RealtimeClientProjectsRealtimeClient
Constructors
| Name | Description |
|---|---|
| ProjectsRealtimeClient() |
Internal empty constructor for mocking. |
Methods
| Name | Description |
|---|---|
| StartSessionAsync(String, String, RealtimeSessionClientOptions, CancellationToken) |
Starts and connects a realtime session for the named voice agent. Overrides OpenAI.Realtime.RealtimeClient.StartSessionAsync(System.String,System.String,OpenAI.Realtime.RealtimeSessionClientOptions,System.Threading.CancellationToken) rather than introducing a differently-named method: this is the public, documented way to start a voice-agent session -- get a ProjectsRealtimeClient from ProjectsRealtimeClient, then call this (inherited/overridden) method on it, the same way an OpenAI OpenAI.Realtime.RealtimeClient consumer would. |