Skip to content

Commit 97d4acd

Browse files
committed
Merge branch 'main' of https://github.com/firebase/firebase-ios-sdk into ah/dynamic-simulator-selection
2 parents 1b56013 + 1887f61 commit 97d4acd

File tree

2 files changed

+10
-24
lines changed

2 files changed

+10
-24
lines changed

Firestore/Swift/Source/ExpressionImplementation.swift

Lines changed: 4 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,6 @@ extension Expression {
2727
/// Creates an expression applying bitwise AND between this expression and an integer literal.
2828
/// Assumes `self` evaluates to an Integer or Bytes.
2929
///
30-
/// - Note: This API is in beta.
31-
///
3230
/// ```swift
3331
/// // Bitwise AND of "flags" field and 0xFF
3432
/// Field("flags").bitAnd(0xFF)
@@ -46,7 +44,7 @@ extension Expression {
4644
/// Creates an expression applying bitwise AND between this expression and a UInt8 literal (often
4745
/// for byte masks).
4846
/// Assumes `self` evaluates to an Integer or Bytes.
49-
/// - Note: This API is in beta.
47+
///
5048
/// ```swift
5149
/// // Bitwise AND of "byteFlags" field and a byte mask
5250
/// Field("byteFlags").bitAnd(0b00001111 as UInt8)
@@ -62,7 +60,6 @@ extension Expression {
6260

6361
/// Creates an expression applying bitwise AND between this expression and another expression.
6462
/// Assumes `self` and `bitsExpression` evaluate to Integer or Bytes.
65-
/// - Note: This API is in beta.
6663
///
6764
/// ```swift
6865
/// // Bitwise AND of "mask1" and "mask2" fields
@@ -77,8 +74,6 @@ extension Expression {
7774
/// Creates an expression applying bitwise OR between this expression and an integer literal.
7875
/// Assumes `self` evaluates to an Integer or Bytes.
7976
///
80-
/// - Note: This API is in beta.
81-
///
8277
/// ```swift
8378
/// // Bitwise OR of "flags" field and 0x01
8479
/// Field("flags").bitOr(0x01)
@@ -95,7 +90,7 @@ extension Expression {
9590

9691
/// Creates an expression applying bitwise OR between this expression and a UInt8 literal.
9792
/// Assumes `self` evaluates to an Integer or Bytes.
98-
/// - Note: This API is in beta.
93+
///
9994
/// ```swift
10095
/// // Set specific bits in "controlByte"
10196
/// Field("controlByte").bitOr(0b10000001 as UInt8)
@@ -111,7 +106,6 @@ extension Expression {
111106

112107
/// Creates an expression applying bitwise OR between this expression and another expression.
113108
/// Assumes `self` and `bitsExpression` evaluate to Integer or Bytes.
114-
/// - Note: This API is in beta.
115109
///
116110
/// ```swift
117111
/// // Bitwise OR of "permissionSet1" and "permissionSet2" fields
@@ -126,8 +120,6 @@ extension Expression {
126120
/// Creates an expression applying bitwise XOR between this expression and an integer literal.
127121
/// Assumes `self` evaluates to an Integer or Bytes.
128122
///
129-
/// - Note: This API is in beta.
130-
///
131123
/// ```swift
132124
/// // Bitwise XOR of "toggle" field and 0xFFFF
133125
/// Field("toggle").bitXor(0xFFFF)
@@ -144,7 +136,7 @@ extension Expression {
144136

145137
/// Creates an expression applying bitwise XOR between this expression and a UInt8 literal.
146138
/// Assumes `self` evaluates to an Integer or Bytes.
147-
/// - Note: This API is in beta.
139+
///
148140
/// ```swift
149141
/// // Toggle bits in "statusByte" using a XOR mask
150142
/// Field("statusByte").bitXor(0b01010101 as UInt8)
@@ -160,7 +152,6 @@ extension Expression {
160152

161153
/// Creates an expression applying bitwise XOR between this expression and another expression.
162154
/// Assumes `self` and `bitsExpression` evaluate to Integer or Bytes.
163-
/// - Note: This API is in beta.
164155
///
165156
/// ```swift
166157
/// // Bitwise XOR of "key1" and "key2" fields (assuming Bytes)
@@ -175,8 +166,6 @@ extension Expression {
175166
/// Creates an expression applying bitwise NOT to this expression.
176167
/// Assumes `self` evaluates to an Integer or Bytes.
177168
///
178-
/// - Note: This API is in beta.
179-
///
180169
/// ```swift
181170
/// // Bitwise NOT of "mask" field
182171
/// Field("mask").bitNot()
@@ -191,8 +180,6 @@ extension Expression {
191180
/// bits.
192181
/// Assumes `self` evaluates to Integer or Bytes.
193182
///
194-
/// - Note: This API is in beta.
195-
///
196183
/// ```swift
197184
/// // Left shift "value" field by 2 bits
198185
/// Field("value").bitLeftShift(2)
@@ -210,7 +197,6 @@ extension Expression {
210197
/// Creates an expression applying bitwise left shift to this expression by a number of bits
211198
/// specified by an expression.
212199
/// Assumes `self` evaluates to Integer or Bytes, and `numberExpr` evaluates to an Integer.
213-
/// - Note: This API is in beta.
214200
///
215201
/// ```swift
216202
/// // Left shift "data" by number of bits in "shiftCount" field
@@ -226,8 +212,6 @@ extension Expression {
226212
/// bits.
227213
/// Assumes `self` evaluates to Integer or Bytes.
228214
///
229-
/// - Note: This API is in beta.
230-
///
231215
/// ```swift
232216
/// // Right shift "value" field by 4 bits
233217
/// Field("value").bitRightShift(4)
@@ -245,7 +229,6 @@ extension Expression {
245229
/// Creates an expression applying bitwise right shift to this expression by a number of bits
246230
/// specified by an expression.
247231
/// Assumes `self` evaluates to Integer or Bytes, and `numberExpr` evaluates to an Integer.
248-
/// - Note: This API is in beta.
249232
///
250233
/// ```swift
251234
/// // Right shift "data" by number of bits in "shiftCount" field
@@ -261,8 +244,6 @@ extension Expression {
261244
/// expression.
262245
/// Assumes both `self` and `other` evaluate to Vectors.
263246
///
264-
/// - Note: This API is in beta.
265-
///
266247
/// ```swift
267248
/// // Manhattan distance between "vector1" field and "vector2" field
268249
/// Field("vector1").manhattanDistance(Field("vector2"))
@@ -277,7 +258,7 @@ extension Expression {
277258
/// Calculates the Manhattan (L1) distance between this vector expression and another vector
278259
/// literal (`VectorValue`).
279260
/// Assumes `self` evaluates to a Vector.
280-
/// - Note: This API is in beta.
261+
///
281262
/// ```swift
282263
/// let referencePoint = VectorValue(vector: [5.0, 10.0])
283264
/// Field("dataPoint").manhattanDistance(referencePoint)
@@ -294,7 +275,6 @@ extension Expression {
294275
/// Calculates the Manhattan (L1) distance between this vector expression and another vector
295276
/// literal (`[Double]`).
296277
/// Assumes `self` evaluates to a Vector.
297-
/// - Note: This API is in beta.
298278
///
299279
/// ```swift
300280
/// // Manhattan distance between "point" field and a target point

GeneratedFirebaseAI/Sources/Types.swift

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1826,6 +1826,7 @@ public struct TurnCoverage: CodableProtoEnum, Sendable {
18261826
case unspecified = "TURN_COVERAGE_UNSPECIFIED"
18271827
case turnIncludesOnlyActivity = "TURN_INCLUDES_ONLY_ACTIVITY"
18281828
case turnIncludesAllInput = "TURN_INCLUDES_ALL_INPUT"
1829+
case turnIncludesAudioActivityAndAllVideo = "TURN_INCLUDES_AUDIO_ACTIVITY_AND_ALL_VIDEO"
18291830
}
18301831

18311832
/// If unspecified, the default behavior is `TURN_INCLUDES_ONLY_ACTIVITY`.
@@ -1839,6 +1840,11 @@ public struct TurnCoverage: CodableProtoEnum, Sendable {
18391840
/// inactivity (e.g. silence on the audio stream).
18401841
public static let turnIncludesAllInput = TurnCoverage(kind: .turnIncludesAllInput)
18411842

1843+
/// Includes audio activity and all video since the last turn. With automatic
1844+
/// activity detection, audio activity means speech and excludes silence.
1845+
public static let turnIncludesAudioActivityAndAllVideo = TurnCoverage(
1846+
kind: .turnIncludesAudioActivityAndAllVideo)
1847+
18421848
let rawValue: String
18431849
}
18441850

0 commit comments

Comments
 (0)