LiveServerMessage
@available(watchOS, unavailable)
public struct LiveServerMessage : SendableUpdate from the server, generated from the model in response to client messages.
-
The type of message sent from the server.
Declaration
Swift
public enum Payload : Sendable -
The message sent from the server.
Declaration
Swift
public let payload: Payload -
Metadata on the usage of the cached content.
Declaration
Swift
public var usageMetadata: GenerateContentResponse.UsageMetadata? { get }