ภาษา

ProjectsRealtimeClient Class

Definition

The extended real time client.

public class ProjectsRealtimeClient : OpenAI.Realtime.RealtimeClient
type ProjectsRealtimeClient = class
    inherit RealtimeClient
Public Class ProjectsRealtimeClient
Inherits RealtimeClient
Inheritance
OpenAI.Realtime.RealtimeClient
ProjectsRealtimeClient

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.

Applies to