@@ -3095,6 +3095,8 @@ public protocol IdentityResetHandleProtocol : AnyObject {
3095
3095
*/
3096
3096
func authType() -> CrossSigningResetAuthType
3097
3097
3098
+ func cancel() async
3099
+
3098
3100
/**
3099
3101
* This method starts the identity reset process and
3100
3102
* will go through the following steps:
@@ -3160,6 +3162,24 @@ open func authType() -> CrossSigningResetAuthType {
3160
3162
})
3161
3163
}
3162
3164
3165
+ open func cancel()async {
3166
+ return
3167
+ try! await uniffiRustCallAsync(
3168
+ rustFutureFunc: {
3169
+ uniffi_matrix_sdk_ffi_fn_method_identityresethandle_cancel(
3170
+ self.uniffiClonePointer()
3171
+
3172
+ )
3173
+ },
3174
+ pollFunc: ffi_matrix_sdk_ffi_rust_future_poll_void,
3175
+ completeFunc: ffi_matrix_sdk_ffi_rust_future_complete_void,
3176
+ freeFunc: ffi_matrix_sdk_ffi_rust_future_free_void,
3177
+ liftFunc: { $0 },
3178
+ errorHandler: nil
3179
+
3180
+ )
3181
+ }
3182
+
3163
3183
/**
3164
3184
* This method starts the identity reset process and
3165
3185
* will go through the following steps:
@@ -6749,8 +6769,6 @@ public protocol RoomListItemProtocol : AnyObject {
6749
6769
6750
6770
func roomInfo() async throws -> RoomInfo
6751
6771
6752
- func subscribe(settings: RoomSubscription?)
6753
-
6754
6772
}
6755
6773
6756
6774
open class RoomListItem:
@@ -6942,13 +6960,6 @@ open func roomInfo()async throws -> RoomInfo {
6942
6960
)
6943
6961
}
6944
6962
6945
- open func subscribe(settings: RoomSubscription?) {try! rustCall() {
6946
- uniffi_matrix_sdk_ffi_fn_method_roomlistitem_subscribe(self.uniffiClonePointer(),
6947
- FfiConverterOptionTypeRoomSubscription.lower(settings),$0
6948
- )
6949
- }
6950
- }
6951
-
6952
6963
6953
6964
}
6954
6965
@@ -7005,6 +7016,8 @@ public protocol RoomListServiceProtocol : AnyObject {
7005
7016
7006
7017
func state(listener: RoomListServiceStateListener) -> TaskHandle
7007
7018
7019
+ func subscribeToRooms(roomIds: [String], settings: RoomSubscription?) throws
7020
+
7008
7021
func syncIndicator(delayBeforeShowingInMs: UInt32, delayBeforeHidingInMs: UInt32, listener: RoomListServiceSyncIndicatorListener) -> TaskHandle
7009
7022
7010
7023
}
@@ -7083,6 +7096,14 @@ open func state(listener: RoomListServiceStateListener) -> TaskHandle {
7083
7096
})
7084
7097
}
7085
7098
7099
+ open func subscribeToRooms(roomIds: [String], settings: RoomSubscription?)throws {try rustCallWithError(FfiConverterTypeRoomListError.lift) {
7100
+ uniffi_matrix_sdk_ffi_fn_method_roomlistservice_subscribe_to_rooms(self.uniffiClonePointer(),
7101
+ FfiConverterSequenceString.lower(roomIds),
7102
+ FfiConverterOptionTypeRoomSubscription.lower(settings),$0
7103
+ )
7104
+ }
7105
+ }
7106
+
7086
7107
open func syncIndicator(delayBeforeShowingInMs: UInt32, delayBeforeHidingInMs: UInt32, listener: RoomListServiceSyncIndicatorListener) -> TaskHandle {
7087
7108
return try! FfiConverterTypeTaskHandle.lift(try! rustCall() {
7088
7109
uniffi_matrix_sdk_ffi_fn_method_roomlistservice_sync_indicator(self.uniffiClonePointer(),
@@ -26813,6 +26834,9 @@ private var initializationResult: InitializationResult = {
26813
26834
if (uniffi_matrix_sdk_ffi_checksum_method_identityresethandle_auth_type() != 43501) {
26814
26835
return InitializationResult.apiChecksumMismatch
26815
26836
}
26837
+ if (uniffi_matrix_sdk_ffi_checksum_method_identityresethandle_cancel() != 57622) {
26838
+ return InitializationResult.apiChecksumMismatch
26839
+ }
26816
26840
if (uniffi_matrix_sdk_ffi_checksum_method_identityresethandle_reset() != 11997) {
26817
26841
return InitializationResult.apiChecksumMismatch
26818
26842
}
@@ -27206,9 +27230,6 @@ private var initializationResult: InitializationResult = {
27206
27230
if (uniffi_matrix_sdk_ffi_checksum_method_roomlistitem_room_info() != 32985) {
27207
27231
return InitializationResult.apiChecksumMismatch
27208
27232
}
27209
- if (uniffi_matrix_sdk_ffi_checksum_method_roomlistitem_subscribe() != 60003) {
27210
- return InitializationResult.apiChecksumMismatch
27211
- }
27212
27233
if (uniffi_matrix_sdk_ffi_checksum_method_roomlistservice_all_rooms() != 49704) {
27213
27234
return InitializationResult.apiChecksumMismatch
27214
27235
}
@@ -27218,6 +27239,9 @@ private var initializationResult: InitializationResult = {
27218
27239
if (uniffi_matrix_sdk_ffi_checksum_method_roomlistservice_state() != 64650) {
27219
27240
return InitializationResult.apiChecksumMismatch
27220
27241
}
27242
+ if (uniffi_matrix_sdk_ffi_checksum_method_roomlistservice_subscribe_to_rooms() != 21360) {
27243
+ return InitializationResult.apiChecksumMismatch
27244
+ }
27221
27245
if (uniffi_matrix_sdk_ffi_checksum_method_roomlistservice_sync_indicator() != 16821) {
27222
27246
return InitializationResult.apiChecksumMismatch
27223
27247
}
0 commit comments