FirebaseAILogic Framework Reference

SessionResumptionConfig

@available(watchOS, unavailable)
public struct SessionResumptionConfig : Sendable

Configuration for the session resumption mechanism.

When included in the session setup, the server will send LiveSessionResumptionUpdate messages in the response stream.

  • Resumes a SessionResumptionConfig instance.

    To start a new session, use init() instead.

    Declaration

    Swift

    public init(handle: String)

    Parameters

    handle

    The session resumption handle of the previous session to restore.

  • Creates a new SessionResumptionConfig instance.

    To resume a previously started session, use init(handle:) instead.

    Declaration

    Swift

    public init()