@@ -3828,8 +3828,6 @@ public func FfiConverterTypeMediaFileHandle_lower(_ value: MediaFileHandle) -> U
3828
3828
3829
3829
public protocol MediaSourceProtocol : AnyObject {
3830
3830
3831
- func toJson() -> String
3832
-
3833
3831
func url() -> String
3834
3832
3835
3833
}
@@ -3873,23 +3871,8 @@ open class MediaSource:
3873
3871
}
3874
3872
3875
3873
3876
- public static func fromJson(json: String)throws -> MediaSource {
3877
- return try FfiConverterTypeMediaSource.lift(try rustCallWithError(FfiConverterTypeClientError.lift) {
3878
- uniffi_matrix_sdk_ffi_fn_constructor_mediasource_from_json(
3879
- FfiConverterString.lower(json),$0
3880
- )
3881
- })
3882
- }
3883
-
3884
3874
3885
3875
3886
- open func toJson() -> String {
3887
- return try! FfiConverterString.lift(try! rustCall() {
3888
- uniffi_matrix_sdk_ffi_fn_method_mediasource_to_json(self.uniffiClonePointer(),$0
3889
- )
3890
- })
3891
- }
3892
-
3893
3876
open func url() -> String {
3894
3877
return try! FfiConverterString.lift(try! rustCall() {
3895
3878
uniffi_matrix_sdk_ffi_fn_method_mediasource_url(self.uniffiClonePointer(),$0
@@ -28953,12 +28936,6 @@ private var initializationResult: InitializationResult = {
28953
28936
if (uniffi_matrix_sdk_ffi_checksum_func_suggested_role_for_power_level() != 48532) {
28954
28937
return InitializationResult.apiChecksumMismatch
28955
28938
}
28956
- if (uniffi_matrix_sdk_ffi_checksum_method_mediasource_to_json() != 2998) {
28957
- return InitializationResult.apiChecksumMismatch
28958
- }
28959
- if (uniffi_matrix_sdk_ffi_checksum_method_mediasource_url() != 34026) {
28960
- return InitializationResult.apiChecksumMismatch
28961
- }
28962
28939
if (uniffi_matrix_sdk_ffi_checksum_method_roommessageeventcontentwithoutrelation_with_mentions() != 8867) {
28963
28940
return InitializationResult.apiChecksumMismatch
28964
28941
}
@@ -29340,6 +29317,9 @@ private var initializationResult: InitializationResult = {
29340
29317
if (uniffi_matrix_sdk_ffi_checksum_method_mediafilehandle_persist() != 12883) {
29341
29318
return InitializationResult.apiChecksumMismatch
29342
29319
}
29320
+ if (uniffi_matrix_sdk_ffi_checksum_method_mediasource_url() != 62692) {
29321
+ return InitializationResult.apiChecksumMismatch
29322
+ }
29343
29323
if (uniffi_matrix_sdk_ffi_checksum_method_notificationclient_get_notification() != 2524) {
29344
29324
return InitializationResult.apiChecksumMismatch
29345
29325
}
@@ -29994,9 +29974,6 @@ private var initializationResult: InitializationResult = {
29994
29974
if (uniffi_matrix_sdk_ffi_checksum_method_widgetdriverhandle_send() != 18689) {
29995
29975
return InitializationResult.apiChecksumMismatch
29996
29976
}
29997
- if (uniffi_matrix_sdk_ffi_checksum_constructor_mediasource_from_json() != 29216) {
29998
- return InitializationResult.apiChecksumMismatch
29999
- }
30000
29977
if (uniffi_matrix_sdk_ffi_checksum_constructor_clientbuilder_new() != 27991) {
30001
29978
return InitializationResult.apiChecksumMismatch
30002
29979
}
0 commit comments