@@ -5337,6 +5337,15 @@ public func FfiConverterTypeNotificationSettings_lower(_ value: NotificationSett
5337
5337
*/
5338
5338
public protocol QrCodeDataProtocol : AnyObject {
5339
5339
5340
+ /**
5341
+ * The server name contained within the scanned QR code data.
5342
+ *
5343
+ * Note: This value is only present when scanning a QR code the belongs to
5344
+ * a logged in client. The mode where the new client shows the QR code
5345
+ * will return `None`.
5346
+ */
5347
+ func serverName() -> String?
5348
+
5340
5349
}
5341
5350
5342
5351
/**
@@ -5399,6 +5408,20 @@ public static func fromBytes(bytes: Data)throws -> QrCodeData {
5399
5408
5400
5409
5401
5410
5411
+ /**
5412
+ * The server name contained within the scanned QR code data.
5413
+ *
5414
+ * Note: This value is only present when scanning a QR code the belongs to
5415
+ * a logged in client. The mode where the new client shows the QR code
5416
+ * will return `None`.
5417
+ */
5418
+ open func serverName() -> String? {
5419
+ return try! FfiConverterOptionString.lift(try! rustCall() {
5420
+ uniffi_matrix_sdk_ffi_fn_method_qrcodedata_server_name(self.uniffiClonePointer(),$0
5421
+ )
5422
+ })
5423
+ }
5424
+
5402
5425
5403
5426
}
5404
5427
@@ -28768,11 +28791,6 @@ public enum WidgetEventFilter {
28768
28791
*/
28769
28792
case stateWithTypeAndStateKey(eventType: String, stateKey: String
28770
28793
)
28771
- /**
28772
- * Matches to-device events with the given `event_type`.
28773
- */
28774
- case toDevice(eventType: String
28775
- )
28776
28794
}
28777
28795
28778
28796
@@ -28795,9 +28813,6 @@ public struct FfiConverterTypeWidgetEventFilter: FfiConverterRustBuffer {
28795
28813
case 4: return .stateWithTypeAndStateKey(eventType: try FfiConverterString.read(from: &buf), stateKey: try FfiConverterString.read(from: &buf)
28796
28814
)
28797
28815
28798
- case 5: return .toDevice(eventType: try FfiConverterString.read(from: &buf)
28799
- )
28800
-
28801
28816
default: throw UniffiInternalError.unexpectedEnumCase
28802
28817
}
28803
28818
}
@@ -28826,11 +28841,6 @@ public struct FfiConverterTypeWidgetEventFilter: FfiConverterRustBuffer {
28826
28841
FfiConverterString.write(eventType, into: &buf)
28827
28842
FfiConverterString.write(stateKey, into: &buf)
28828
28843
28829
-
28830
- case let .toDevice(eventType):
28831
- writeInt(&buf, Int32(5))
28832
- FfiConverterString.write(eventType, into: &buf)
28833
-
28834
28844
}
28835
28845
}
28836
28846
}
@@ -34584,6 +34594,9 @@ private var initializationResult: InitializationResult = {
34584
34594
if (uniffi_matrix_sdk_ffi_checksum_method_notificationsettings_unmute_room() != 47580) {
34585
34595
return InitializationResult.apiChecksumMismatch
34586
34596
}
34597
+ if (uniffi_matrix_sdk_ffi_checksum_method_qrcodedata_server_name() != 30173) {
34598
+ return InitializationResult.apiChecksumMismatch
34599
+ }
34587
34600
if (uniffi_matrix_sdk_ffi_checksum_method_room_active_members_count() != 61905) {
34588
34601
return InitializationResult.apiChecksumMismatch
34589
34602
}
0 commit comments