@@ -2188,6 +2188,10 @@ internal open class UniffiVTableCallbackInterfaceWidgetCapabilitiesProvider(
2188
2188
2189
2189
2190
2190
2191
+
2192
+
2193
+
2194
+
2191
2195
2192
2196
2193
2197
@@ -2610,6 +2614,8 @@ internal interface UniffiLib : Library {
2610
2614
): Long
2611
2615
fun uniffi_matrix_sdk_ffi_fn_method_room_active_room_call_participants(`ptr`: Pointer,uniffi_out_err: UniffiRustCallStatus,
2612
2616
): RustBuffer.ByValue
2617
+ fun uniffi_matrix_sdk_ffi_fn_method_room_add_space_child(`ptr`: Pointer,`childRoomId`: RustBuffer.ByValue,
2618
+ ): Long
2613
2619
fun uniffi_matrix_sdk_ffi_fn_method_room_alternative_aliases(`ptr`: Pointer,uniffi_out_err: UniffiRustCallStatus,
2614
2620
): RustBuffer.ByValue
2615
2621
fun uniffi_matrix_sdk_ffi_fn_method_room_apply_power_level_changes(`ptr`: Pointer,`changes`: RustBufferRoomPowerLevelChanges.ByValue,
@@ -2718,6 +2724,8 @@ internal interface UniffiLib : Library {
2718
2724
): Long
2719
2725
fun uniffi_matrix_sdk_ffi_fn_method_room_remove_avatar(`ptr`: Pointer,
2720
2726
): Long
2727
+ fun uniffi_matrix_sdk_ffi_fn_method_room_remove_space_child(`ptr`: Pointer,`childRoomId`: RustBuffer.ByValue,
2728
+ ): Long
2721
2729
fun uniffi_matrix_sdk_ffi_fn_method_room_report_content(`ptr`: Pointer,`eventId`: RustBuffer.ByValue,`score`: RustBuffer.ByValue,`reason`: RustBuffer.ByValue,
2722
2730
): Long
2723
2731
fun uniffi_matrix_sdk_ffi_fn_method_room_reset_power_levels(`ptr`: Pointer,
@@ -3688,6 +3696,8 @@ internal interface UniffiLib : Library {
3688
3696
): Short
3689
3697
fun uniffi_matrix_sdk_ffi_checksum_method_room_active_room_call_participants(
3690
3698
): Short
3699
+ fun uniffi_matrix_sdk_ffi_checksum_method_room_add_space_child(
3700
+ ): Short
3691
3701
fun uniffi_matrix_sdk_ffi_checksum_method_room_alternative_aliases(
3692
3702
): Short
3693
3703
fun uniffi_matrix_sdk_ffi_checksum_method_room_apply_power_level_changes(
@@ -3796,6 +3806,8 @@ internal interface UniffiLib : Library {
3796
3806
): Short
3797
3807
fun uniffi_matrix_sdk_ffi_checksum_method_room_remove_avatar(
3798
3808
): Short
3809
+ fun uniffi_matrix_sdk_ffi_checksum_method_room_remove_space_child(
3810
+ ): Short
3799
3811
fun uniffi_matrix_sdk_ffi_checksum_method_room_report_content(
3800
3812
): Short
3801
3813
fun uniffi_matrix_sdk_ffi_checksum_method_room_reset_power_levels(
@@ -4722,6 +4734,9 @@ private fun uniffiCheckApiChecksums(lib: UniffiLib) {
4722
4734
if (lib.uniffi_matrix_sdk_ffi_checksum_method_room_active_room_call_participants() != 41533.toShort()) {
4723
4735
throw RuntimeException("UniFFI API checksum mismatch: try cleaning and rebuilding your project")
4724
4736
}
4737
+ if (lib.uniffi_matrix_sdk_ffi_checksum_method_room_add_space_child() != 15024.toShort()) {
4738
+ throw RuntimeException("UniFFI API checksum mismatch: try cleaning and rebuilding your project")
4739
+ }
4725
4740
if (lib.uniffi_matrix_sdk_ffi_checksum_method_room_alternative_aliases() != 28555.toShort()) {
4726
4741
throw RuntimeException("UniFFI API checksum mismatch: try cleaning and rebuilding your project")
4727
4742
}
@@ -4884,6 +4899,9 @@ private fun uniffiCheckApiChecksums(lib: UniffiLib) {
4884
4899
if (lib.uniffi_matrix_sdk_ffi_checksum_method_room_remove_avatar() != 7230.toShort()) {
4885
4900
throw RuntimeException("UniFFI API checksum mismatch: try cleaning and rebuilding your project")
4886
4901
}
4902
+ if (lib.uniffi_matrix_sdk_ffi_checksum_method_room_remove_space_child() != 39605.toShort()) {
4903
+ throw RuntimeException("UniFFI API checksum mismatch: try cleaning and rebuilding your project")
4904
+ }
4887
4905
if (lib.uniffi_matrix_sdk_ffi_checksum_method_room_report_content() != 16529.toShort()) {
4888
4906
throw RuntimeException("UniFFI API checksum mismatch: try cleaning and rebuilding your project")
4889
4907
}
@@ -4899,7 +4917,7 @@ private fun uniffiCheckApiChecksums(lib: UniffiLib) {
4899
4917
if (lib.uniffi_matrix_sdk_ffi_checksum_method_room_send_call_notification() != 43366.toShort()) {
4900
4918
throw RuntimeException("UniFFI API checksum mismatch: try cleaning and rebuilding your project")
4901
4919
}
4902
- if (lib.uniffi_matrix_sdk_ffi_checksum_method_room_send_call_notification_if_needed() != 53551 .toShort()) {
4920
+ if (lib.uniffi_matrix_sdk_ffi_checksum_method_room_send_call_notification_if_needed() != 51729 .toShort()) {
4903
4921
throw RuntimeException("UniFFI API checksum mismatch: try cleaning and rebuilding your project")
4904
4922
}
4905
4923
if (lib.uniffi_matrix_sdk_ffi_checksum_method_room_set_is_favourite() != 64403.toShort()) {
@@ -12424,6 +12442,11 @@ public interface RoomInterface {
12424
12442
*/
12425
12443
fun `activeRoomCallParticipants`(): List<kotlin.String>
12426
12444
12445
+ /**
12446
+ * SC start
12447
+ */
12448
+ suspend fun `addSpaceChild`(`childRoomId`: kotlin.String)
12449
+
12427
12450
fun `alternativeAliases`(): List<kotlin.String>
12428
12451
12429
12452
suspend fun `applyPowerLevelChanges`(`changes`: RoomPowerLevelChanges)
@@ -12643,6 +12666,8 @@ public interface RoomInterface {
12643
12666
*/
12644
12667
suspend fun `removeAvatar`()
12645
12668
12669
+ suspend fun `removeSpaceChild`(`childRoomId`: kotlin.String)
12670
+
12646
12671
/**
12647
12672
* Reports an event from the room.
12648
12673
*
@@ -12683,6 +12708,7 @@ public interface RoomInterface {
12683
12708
suspend fun `sendCallNotification`(`callId`: kotlin.String, `application`: RtcApplicationType, `notifyType`: NotifyType, `mentions`: Mentions)
12684
12709
12685
12710
/**
12711
+ * SC end
12686
12712
* This will only send a call notification event if appropriate.
12687
12713
*
12688
12714
* This function is supposed to be called whenever the user creates a room
@@ -12911,6 +12937,31 @@ open class Room: Disposable, AutoCloseable, RoomInterface {
12911
12937
}
12912
12938
12913
12939
12940
+
12941
+ /**
12942
+ * SC start
12943
+ */
12944
+ @Throws(ClientException::class)
12945
+ @Suppress("ASSIGNED_BUT_NEVER_ACCESSED_VARIABLE")
12946
+ override suspend fun `addSpaceChild`(`childRoomId`: kotlin.String) {
12947
+ return uniffiRustCallAsync(
12948
+ callWithPointer { thisPtr ->
12949
+ UniffiLib.INSTANCE.uniffi_matrix_sdk_ffi_fn_method_room_add_space_child(
12950
+ thisPtr,
12951
+ FfiConverterString.lower(`childRoomId`),
12952
+ )
12953
+ },
12954
+ { future, callback, continuation -> UniffiLib.INSTANCE.ffi_matrix_sdk_ffi_rust_future_poll_void(future, callback, continuation) },
12955
+ { future, continuation -> UniffiLib.INSTANCE.ffi_matrix_sdk_ffi_rust_future_complete_void(future, continuation) },
12956
+ { future -> UniffiLib.INSTANCE.ffi_matrix_sdk_ffi_rust_future_free_void(future) },
12957
+ // lift function
12958
+ { Unit },
12959
+
12960
+ // Error FFI converter
12961
+ ClientException.ErrorHandler,
12962
+ )
12963
+ }
12964
+
12914
12965
override fun `alternativeAliases`(): List<kotlin.String> {
12915
12966
return FfiConverterSequenceString.lift(
12916
12967
callWithPointer {
@@ -13999,6 +14050,28 @@ open class Room: Disposable, AutoCloseable, RoomInterface {
13999
14050
}
14000
14051
14001
14052
14053
+ @Throws(ClientException::class)
14054
+ @Suppress("ASSIGNED_BUT_NEVER_ACCESSED_VARIABLE")
14055
+ override suspend fun `removeSpaceChild`(`childRoomId`: kotlin.String) {
14056
+ return uniffiRustCallAsync(
14057
+ callWithPointer { thisPtr ->
14058
+ UniffiLib.INSTANCE.uniffi_matrix_sdk_ffi_fn_method_room_remove_space_child(
14059
+ thisPtr,
14060
+ FfiConverterString.lower(`childRoomId`),
14061
+ )
14062
+ },
14063
+ { future, callback, continuation -> UniffiLib.INSTANCE.ffi_matrix_sdk_ffi_rust_future_poll_void(future, callback, continuation) },
14064
+ { future, continuation -> UniffiLib.INSTANCE.ffi_matrix_sdk_ffi_rust_future_complete_void(future, continuation) },
14065
+ { future -> UniffiLib.INSTANCE.ffi_matrix_sdk_ffi_rust_future_free_void(future) },
14066
+ // lift function
14067
+ { Unit },
14068
+
14069
+ // Error FFI converter
14070
+ ClientException.ErrorHandler,
14071
+ )
14072
+ }
14073
+
14074
+
14002
14075
/**
14003
14076
* Reports an event from the room.
14004
14077
*
@@ -14137,6 +14210,7 @@ open class Room: Disposable, AutoCloseable, RoomInterface {
14137
14210
14138
14211
14139
14212
/**
14213
+ * SC end
14140
14214
* This will only send a call notification event if appropriate.
14141
14215
*
14142
14216
* This function is supposed to be called whenever the user creates a room
0 commit comments