FirebaseAILogic Framework Reference

LiveSessionResumptionUpdate

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

An update of the session resumption state.

This message is only sent if SessionResumptionConfig was set in the session setup.

  • The new handle that represents the state that can be resumed. Empty if resumable is false.

    Declaration

    Swift

    public var newHandle: String? { get }
  • Indicates if the session can be resumed at this point.

    Declaration

    Swift

    public var resumable: Bool { get }
  • The index of the last client message that is included in the state represented by this update.

    Declaration

    Swift

    public var lastConsumedClientMessageIndex: Int? { get }