Member Junction
    Preparing search index...

    Host-supplied inputs that accompany an already-minted session on RealtimeSessionService.StartRealtimeSessionFromResult — the values the RUN half needs that a StartRealtimeClientSessionResult cannot carry. Every field is optional and mirrors the same-named RealtimeSessionService.StartRealtimeSession parameter, defaults included: omit one and the session behaves exactly as the all-in-one entry point does when that parameter is omitted.

    interface RealtimeSessionRunOptions {
        agentName?: string | null;
        appContext?: AppContextSnapshot | null;
        applicationId?: string | null;
        conversationId?: string | null;
        recordingConsent?: boolean | null;
    }
    Index

    Properties

    agentName?: string | null

    Display name of the target agent, surfaced on RealtimeSessionService.AgentName$ so any host can render it without re-resolving. Omitted ⇒ the previous name stands.

    appContext?: AppContextSnapshot | null

    Live app-context snapshot. Omitted/null ⇒ the snapshot the host has already pushed via RealtimeSessionService.UpdateAppContext stands (never clobber a good value with null).

    applicationId?: string | null

    The application the session runs in. Stored so the live ClientContextChannel can stream subsequent context deltas under it. Omitted ⇒ no app layer (the pre-app behavior).

    conversationId?: string | null

    The conversation the host asked its OWN mint for, or null/omitted when it asked the server to create one. Only the ORIGINAL request tells the two apart: a null here plus a ConversationId on the result means the server created that conversation for this session, which the host is told about via RealtimeSessionService.SessionCreatedConversationId.

    recordingConsent?: boolean | null

    EXPLICIT "record this call" consent for THIS session. Omitted/null ⇒ the per-user persisted preference (mj.realtimeVoice.recordingConsent.v1) is read as the default; false never records. The host is responsible for reporting its own choice to its own mint.