From 8f5a196adb1baffa8162a1e7459e09c9fa1eb51b Mon Sep 17 00:00:00 2001 From: Daymon Date: Fri, 3 Oct 2025 13:08:17 -0500 Subject: [PATCH] Remove watchos from availables --- .../Internal/Live/BidiGenerateContentServerMessage.swift | 4 ++-- FirebaseAI/Sources/Types/Public/Live/LiveServerToolCall.swift | 2 +- FirebaseAI/Sources/Types/Public/Live/LiveSession.swift | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/FirebaseAI/Sources/Types/Internal/Live/BidiGenerateContentServerMessage.swift b/FirebaseAI/Sources/Types/Internal/Live/BidiGenerateContentServerMessage.swift index 8c7c628ebdb..e2240406f26 100644 --- a/FirebaseAI/Sources/Types/Internal/Live/BidiGenerateContentServerMessage.swift +++ b/FirebaseAI/Sources/Types/Internal/Live/BidiGenerateContentServerMessage.swift @@ -15,7 +15,7 @@ import Foundation /// Response message for BidiGenerateContent RPC call. -@available(iOS 15.0, macOS 12.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +@available(iOS 15.0, macOS 12.0, macCatalyst 15.0, tvOS 15.0, *) @available(watchOS, unavailable) struct BidiGenerateContentServerMessage: Sendable { /// The type of the message. @@ -48,7 +48,7 @@ struct BidiGenerateContentServerMessage: Sendable { // MARK: - Decodable -@available(iOS 15.0, macOS 12.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +@available(iOS 15.0, macOS 12.0, macCatalyst 15.0, tvOS 15.0, *) @available(watchOS, unavailable) extension BidiGenerateContentServerMessage: Decodable { enum CodingKeys: String, CodingKey { diff --git a/FirebaseAI/Sources/Types/Public/Live/LiveServerToolCall.swift b/FirebaseAI/Sources/Types/Public/Live/LiveServerToolCall.swift index 7209e312c76..dc19c90b89b 100644 --- a/FirebaseAI/Sources/Types/Public/Live/LiveServerToolCall.swift +++ b/FirebaseAI/Sources/Types/Public/Live/LiveServerToolCall.swift @@ -16,7 +16,7 @@ /// /// The client should return matching ``FunctionResponsePart``, where the `functionId` fields /// correspond to individual ``FunctionCallPart``s. -@available(iOS 15.0, macOS 12.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +@available(iOS 15.0, macOS 12.0, macCatalyst 15.0, tvOS 15.0, *) @available(watchOS, unavailable) public struct LiveServerToolCall: Sendable { let serverToolCall: BidiGenerateContentToolCall diff --git a/FirebaseAI/Sources/Types/Public/Live/LiveSession.swift b/FirebaseAI/Sources/Types/Public/Live/LiveSession.swift index 3e5e6923a59..2471c51b142 100644 --- a/FirebaseAI/Sources/Types/Public/Live/LiveSession.swift +++ b/FirebaseAI/Sources/Types/Public/Live/LiveSession.swift @@ -21,7 +21,7 @@ import Foundation /// through the incremental API (such as ``sendContent(_:turnComplete:)``). /// /// To create an instance of this class, see ``LiveGenerativeModel``. -@available(iOS 15.0, macOS 12.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) +@available(iOS 15.0, macOS 12.0, macCatalyst 15.0, tvOS 15.0, *) @available(watchOS, unavailable) public final class LiveSession: Sendable { private let service: LiveSessionService