Skip to content

Commit 9a9ec94

Browse files
committed
Bump SDK version to 0.2.42 (matrix-rust-sdk to d12c4c748a902bbed9e07c9fa71b89a4da058550)
1 parent 65c388a commit 9a9ec94

File tree

2 files changed

+76
-2
lines changed

2 files changed

+76
-2
lines changed
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
object BuildVersionsSDK {
22
const val majorVersion = 0
33
const val minorVersion = 2
4-
const val patchVersion = 41
4+
const val patchVersion = 42
55
}

sdk/sdk-android/src/main/kotlin/org/matrix/rustcomponents/sdk/matrix_sdk_ffi.kt

+75-1
Original file line numberDiff line numberDiff line change
@@ -2188,6 +2188,10 @@ internal open class UniffiVTableCallbackInterfaceWidgetCapabilitiesProvider(
21882188

21892189

21902190

2191+
2192+
2193+
2194+
21912195

21922196

21932197

@@ -2610,6 +2614,8 @@ internal interface UniffiLib : Library {
26102614
): Long
26112615
fun uniffi_matrix_sdk_ffi_fn_method_room_active_room_call_participants(`ptr`: Pointer,uniffi_out_err: UniffiRustCallStatus,
26122616
): RustBuffer.ByValue
2617+
fun uniffi_matrix_sdk_ffi_fn_method_room_add_space_child(`ptr`: Pointer,`childRoomId`: RustBuffer.ByValue,
2618+
): Long
26132619
fun uniffi_matrix_sdk_ffi_fn_method_room_alternative_aliases(`ptr`: Pointer,uniffi_out_err: UniffiRustCallStatus,
26142620
): RustBuffer.ByValue
26152621
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 {
27182724
): Long
27192725
fun uniffi_matrix_sdk_ffi_fn_method_room_remove_avatar(`ptr`: Pointer,
27202726
): Long
2727+
fun uniffi_matrix_sdk_ffi_fn_method_room_remove_space_child(`ptr`: Pointer,`childRoomId`: RustBuffer.ByValue,
2728+
): Long
27212729
fun uniffi_matrix_sdk_ffi_fn_method_room_report_content(`ptr`: Pointer,`eventId`: RustBuffer.ByValue,`score`: RustBuffer.ByValue,`reason`: RustBuffer.ByValue,
27222730
): Long
27232731
fun uniffi_matrix_sdk_ffi_fn_method_room_reset_power_levels(`ptr`: Pointer,
@@ -3688,6 +3696,8 @@ internal interface UniffiLib : Library {
36883696
): Short
36893697
fun uniffi_matrix_sdk_ffi_checksum_method_room_active_room_call_participants(
36903698
): Short
3699+
fun uniffi_matrix_sdk_ffi_checksum_method_room_add_space_child(
3700+
): Short
36913701
fun uniffi_matrix_sdk_ffi_checksum_method_room_alternative_aliases(
36923702
): Short
36933703
fun uniffi_matrix_sdk_ffi_checksum_method_room_apply_power_level_changes(
@@ -3796,6 +3806,8 @@ internal interface UniffiLib : Library {
37963806
): Short
37973807
fun uniffi_matrix_sdk_ffi_checksum_method_room_remove_avatar(
37983808
): Short
3809+
fun uniffi_matrix_sdk_ffi_checksum_method_room_remove_space_child(
3810+
): Short
37993811
fun uniffi_matrix_sdk_ffi_checksum_method_room_report_content(
38003812
): Short
38013813
fun uniffi_matrix_sdk_ffi_checksum_method_room_reset_power_levels(
@@ -4722,6 +4734,9 @@ private fun uniffiCheckApiChecksums(lib: UniffiLib) {
47224734
if (lib.uniffi_matrix_sdk_ffi_checksum_method_room_active_room_call_participants() != 41533.toShort()) {
47234735
throw RuntimeException("UniFFI API checksum mismatch: try cleaning and rebuilding your project")
47244736
}
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+
}
47254740
if (lib.uniffi_matrix_sdk_ffi_checksum_method_room_alternative_aliases() != 28555.toShort()) {
47264741
throw RuntimeException("UniFFI API checksum mismatch: try cleaning and rebuilding your project")
47274742
}
@@ -4884,6 +4899,9 @@ private fun uniffiCheckApiChecksums(lib: UniffiLib) {
48844899
if (lib.uniffi_matrix_sdk_ffi_checksum_method_room_remove_avatar() != 7230.toShort()) {
48854900
throw RuntimeException("UniFFI API checksum mismatch: try cleaning and rebuilding your project")
48864901
}
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+
}
48874905
if (lib.uniffi_matrix_sdk_ffi_checksum_method_room_report_content() != 16529.toShort()) {
48884906
throw RuntimeException("UniFFI API checksum mismatch: try cleaning and rebuilding your project")
48894907
}
@@ -4899,7 +4917,7 @@ private fun uniffiCheckApiChecksums(lib: UniffiLib) {
48994917
if (lib.uniffi_matrix_sdk_ffi_checksum_method_room_send_call_notification() != 43366.toShort()) {
49004918
throw RuntimeException("UniFFI API checksum mismatch: try cleaning and rebuilding your project")
49014919
}
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()) {
49034921
throw RuntimeException("UniFFI API checksum mismatch: try cleaning and rebuilding your project")
49044922
}
49054923
if (lib.uniffi_matrix_sdk_ffi_checksum_method_room_set_is_favourite() != 64403.toShort()) {
@@ -12424,6 +12442,11 @@ public interface RoomInterface {
1242412442
*/
1242512443
fun `activeRoomCallParticipants`(): List<kotlin.String>
1242612444

12445+
/**
12446+
* SC start
12447+
*/
12448+
suspend fun `addSpaceChild`(`childRoomId`: kotlin.String)
12449+
1242712450
fun `alternativeAliases`(): List<kotlin.String>
1242812451

1242912452
suspend fun `applyPowerLevelChanges`(`changes`: RoomPowerLevelChanges)
@@ -12643,6 +12666,8 @@ public interface RoomInterface {
1264312666
*/
1264412667
suspend fun `removeAvatar`()
1264512668

12669+
suspend fun `removeSpaceChild`(`childRoomId`: kotlin.String)
12670+
1264612671
/**
1264712672
* Reports an event from the room.
1264812673
*
@@ -12683,6 +12708,7 @@ public interface RoomInterface {
1268312708
suspend fun `sendCallNotification`(`callId`: kotlin.String, `application`: RtcApplicationType, `notifyType`: NotifyType, `mentions`: Mentions)
1268412709

1268512710
/**
12711+
* SC end
1268612712
* This will only send a call notification event if appropriate.
1268712713
*
1268812714
* This function is supposed to be called whenever the user creates a room
@@ -12911,6 +12937,31 @@ open class Room: Disposable, AutoCloseable, RoomInterface {
1291112937
}
1291212938

1291312939

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+
1291412965
override fun `alternativeAliases`(): List<kotlin.String> {
1291512966
return FfiConverterSequenceString.lift(
1291612967
callWithPointer {
@@ -13999,6 +14050,28 @@ open class Room: Disposable, AutoCloseable, RoomInterface {
1399914050
}
1400014051

1400114052

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+
1400214075
/**
1400314076
* Reports an event from the room.
1400414077
*
@@ -14137,6 +14210,7 @@ open class Room: Disposable, AutoCloseable, RoomInterface {
1413714210

1413814211

1413914212
/**
14213+
* SC end
1414014214
* This will only send a call notification event if appropriate.
1414114215
*
1414214216
* This function is supposed to be called whenever the user creates a room

0 commit comments

Comments
 (0)