@offline-protocol/mesh-sdk 0.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +195 -0
- package/android/.cxx/Debug/04o6o112/arm64-v8a/.cmake/api/v1/query/client-agp/cache-v2 +0 -0
- package/android/.cxx/Debug/04o6o112/arm64-v8a/.cmake/api/v1/query/client-agp/cmakeFiles-v1 +0 -0
- package/android/.cxx/Debug/04o6o112/arm64-v8a/.cmake/api/v1/query/client-agp/codemodel-v2 +0 -0
- package/android/.cxx/Debug/04o6o112/arm64-v8a/.cmake/api/v1/reply/cache-v2-f94a2fa18daa925ecfe6.json +1311 -0
- package/android/.cxx/Debug/04o6o112/arm64-v8a/.cmake/api/v1/reply/cmakeFiles-v1-958753898817403d4994.json +188 -0
- package/android/.cxx/Debug/04o6o112/arm64-v8a/.cmake/api/v1/reply/codemodel-v2-816c877d05f061ba32ff.json +69 -0
- package/android/.cxx/Debug/04o6o112/arm64-v8a/.cmake/api/v1/reply/directory-.-Debug-f5ebdc15457944623624.json +14 -0
- package/android/.cxx/Debug/04o6o112/arm64-v8a/.cmake/api/v1/reply/index-2025-11-06T08-13-13-0701.json +92 -0
- package/android/.cxx/Debug/04o6o112/arm64-v8a/.cmake/api/v1/reply/target-copy_ffi_lib-Debug-031dfd8abe9dbf81c4d6.json +73 -0
- package/android/.cxx/Debug/04o6o112/arm64-v8a/.cmake/api/v1/reply/target-offline_protocol_jni-Debug-1c8e9f9c4754307ecff9.json +166 -0
- package/android/.cxx/Debug/04o6o112/arm64-v8a/.ninja_deps +0 -0
- package/android/.cxx/Debug/04o6o112/arm64-v8a/.ninja_log +43 -0
- package/android/.cxx/Debug/04o6o112/arm64-v8a/CMakeCache.txt +395 -0
- package/android/.cxx/Debug/04o6o112/arm64-v8a/CMakeFiles/3.22.1-g37088a8/CMakeCCompiler.cmake +72 -0
- package/android/.cxx/Debug/04o6o112/arm64-v8a/CMakeFiles/3.22.1-g37088a8/CMakeCXXCompiler.cmake +83 -0
- package/android/.cxx/Debug/04o6o112/arm64-v8a/CMakeFiles/3.22.1-g37088a8/CMakeDetermineCompilerABI_C.bin +0 -0
- package/android/.cxx/Debug/04o6o112/arm64-v8a/CMakeFiles/3.22.1-g37088a8/CMakeDetermineCompilerABI_CXX.bin +0 -0
- package/android/.cxx/Debug/04o6o112/arm64-v8a/CMakeFiles/3.22.1-g37088a8/CMakeSystem.cmake +15 -0
- package/android/.cxx/Debug/04o6o112/arm64-v8a/CMakeFiles/3.22.1-g37088a8/CompilerIdC/CMakeCCompilerId.c +803 -0
- package/android/.cxx/Debug/04o6o112/arm64-v8a/CMakeFiles/3.22.1-g37088a8/CompilerIdC/CMakeCCompilerId.o +0 -0
- package/android/.cxx/Debug/04o6o112/arm64-v8a/CMakeFiles/3.22.1-g37088a8/CompilerIdCXX/CMakeCXXCompilerId.cpp +791 -0
- package/android/.cxx/Debug/04o6o112/arm64-v8a/CMakeFiles/3.22.1-g37088a8/CompilerIdCXX/CMakeCXXCompilerId.o +0 -0
- package/android/.cxx/Debug/04o6o112/arm64-v8a/CMakeFiles/CMakeOutput.log +264 -0
- package/android/.cxx/Debug/04o6o112/arm64-v8a/CMakeFiles/TargetDirectories.txt +4 -0
- package/android/.cxx/Debug/04o6o112/arm64-v8a/CMakeFiles/cmake.check_cache +1 -0
- package/android/.cxx/Debug/04o6o112/arm64-v8a/CMakeFiles/rules.ninja +64 -0
- package/android/.cxx/Debug/04o6o112/arm64-v8a/additional_project_files.txt +3 -0
- package/android/.cxx/Debug/04o6o112/arm64-v8a/android_gradle_build.json +43 -0
- package/android/.cxx/Debug/04o6o112/arm64-v8a/android_gradle_build_mini.json +32 -0
- package/android/.cxx/Debug/04o6o112/arm64-v8a/build.ninja +183 -0
- package/android/.cxx/Debug/04o6o112/arm64-v8a/build_file_index.txt +1 -0
- package/android/.cxx/Debug/04o6o112/arm64-v8a/cmake_install.cmake +54 -0
- package/android/.cxx/Debug/04o6o112/arm64-v8a/compile_commands.json +12 -0
- package/android/.cxx/Debug/04o6o112/arm64-v8a/compile_commands.json.bin +0 -0
- package/android/.cxx/Debug/04o6o112/arm64-v8a/configure_fingerprint.bin +29 -0
- package/android/.cxx/Debug/04o6o112/arm64-v8a/metadata_generation_command.txt +18 -0
- package/android/.cxx/Debug/04o6o112/arm64-v8a/prefab_config.json +4 -0
- package/android/.cxx/Debug/04o6o112/arm64-v8a/symbol_folder_index.txt +1 -0
- package/android/.cxx/Debug/04o6o112/armeabi-v7a/.cmake/api/v1/query/client-agp/cache-v2 +0 -0
- package/android/.cxx/Debug/04o6o112/armeabi-v7a/.cmake/api/v1/query/client-agp/cmakeFiles-v1 +0 -0
- package/android/.cxx/Debug/04o6o112/armeabi-v7a/.cmake/api/v1/query/client-agp/codemodel-v2 +0 -0
- package/android/.cxx/Debug/04o6o112/armeabi-v7a/.cmake/api/v1/reply/cache-v2-7c41548ba7f7a262f089.json +1311 -0
- package/android/.cxx/Debug/04o6o112/armeabi-v7a/.cmake/api/v1/reply/cmakeFiles-v1-e55c72281fbc2be8d645.json +188 -0
- package/android/.cxx/Debug/04o6o112/armeabi-v7a/.cmake/api/v1/reply/codemodel-v2-bdf1c220ad895f5774fb.json +69 -0
- package/android/.cxx/Debug/04o6o112/armeabi-v7a/.cmake/api/v1/reply/directory-.-Debug-f5ebdc15457944623624.json +14 -0
- package/android/.cxx/Debug/04o6o112/armeabi-v7a/.cmake/api/v1/reply/index-2025-11-06T08-13-14-0558.json +92 -0
- package/android/.cxx/Debug/04o6o112/armeabi-v7a/.cmake/api/v1/reply/target-copy_ffi_lib-Debug-63cd85708f54328e2a33.json +73 -0
- package/android/.cxx/Debug/04o6o112/armeabi-v7a/.cmake/api/v1/reply/target-offline_protocol_jni-Debug-860ad59938b7faec5754.json +166 -0
- package/android/.cxx/Debug/04o6o112/armeabi-v7a/.ninja_deps +0 -0
- package/android/.cxx/Debug/04o6o112/armeabi-v7a/.ninja_log +43 -0
- package/android/.cxx/Debug/04o6o112/armeabi-v7a/CMakeCache.txt +395 -0
- package/android/.cxx/Debug/04o6o112/armeabi-v7a/CMakeFiles/3.22.1-g37088a8/CMakeCCompiler.cmake +72 -0
- package/android/.cxx/Debug/04o6o112/armeabi-v7a/CMakeFiles/3.22.1-g37088a8/CMakeCXXCompiler.cmake +83 -0
- package/android/.cxx/Debug/04o6o112/armeabi-v7a/CMakeFiles/3.22.1-g37088a8/CMakeDetermineCompilerABI_C.bin +0 -0
- package/android/.cxx/Debug/04o6o112/armeabi-v7a/CMakeFiles/3.22.1-g37088a8/CMakeDetermineCompilerABI_CXX.bin +0 -0
- package/android/.cxx/Debug/04o6o112/armeabi-v7a/CMakeFiles/3.22.1-g37088a8/CMakeSystem.cmake +15 -0
- package/android/.cxx/Debug/04o6o112/armeabi-v7a/CMakeFiles/3.22.1-g37088a8/CompilerIdC/CMakeCCompilerId.c +803 -0
- package/android/.cxx/Debug/04o6o112/armeabi-v7a/CMakeFiles/3.22.1-g37088a8/CompilerIdC/CMakeCCompilerId.o +0 -0
- package/android/.cxx/Debug/04o6o112/armeabi-v7a/CMakeFiles/3.22.1-g37088a8/CompilerIdCXX/CMakeCXXCompilerId.cpp +791 -0
- package/android/.cxx/Debug/04o6o112/armeabi-v7a/CMakeFiles/3.22.1-g37088a8/CompilerIdCXX/CMakeCXXCompilerId.o +0 -0
- package/android/.cxx/Debug/04o6o112/armeabi-v7a/CMakeFiles/CMakeOutput.log +268 -0
- package/android/.cxx/Debug/04o6o112/armeabi-v7a/CMakeFiles/TargetDirectories.txt +4 -0
- package/android/.cxx/Debug/04o6o112/armeabi-v7a/CMakeFiles/cmake.check_cache +1 -0
- package/android/.cxx/Debug/04o6o112/armeabi-v7a/CMakeFiles/rules.ninja +64 -0
- package/android/.cxx/Debug/04o6o112/armeabi-v7a/additional_project_files.txt +3 -0
- package/android/.cxx/Debug/04o6o112/armeabi-v7a/android_gradle_build.json +43 -0
- package/android/.cxx/Debug/04o6o112/armeabi-v7a/android_gradle_build_mini.json +32 -0
- package/android/.cxx/Debug/04o6o112/armeabi-v7a/build.ninja +183 -0
- package/android/.cxx/Debug/04o6o112/armeabi-v7a/build_file_index.txt +1 -0
- package/android/.cxx/Debug/04o6o112/armeabi-v7a/cmake_install.cmake +54 -0
- package/android/.cxx/Debug/04o6o112/armeabi-v7a/compile_commands.json +12 -0
- package/android/.cxx/Debug/04o6o112/armeabi-v7a/compile_commands.json.bin +0 -0
- package/android/.cxx/Debug/04o6o112/armeabi-v7a/configure_fingerprint.bin +29 -0
- package/android/.cxx/Debug/04o6o112/armeabi-v7a/metadata_generation_command.txt +18 -0
- package/android/.cxx/Debug/04o6o112/armeabi-v7a/prefab_config.json +4 -0
- package/android/.cxx/Debug/04o6o112/armeabi-v7a/symbol_folder_index.txt +1 -0
- package/android/.cxx/Debug/04o6o112/hash_key.txt +25 -0
- package/android/.cxx/Debug/04o6o112/x86/.cmake/api/v1/query/client-agp/cache-v2 +0 -0
- package/android/.cxx/Debug/04o6o112/x86/.cmake/api/v1/query/client-agp/cmakeFiles-v1 +0 -0
- package/android/.cxx/Debug/04o6o112/x86/.cmake/api/v1/query/client-agp/codemodel-v2 +0 -0
- package/android/.cxx/Debug/04o6o112/x86/.cmake/api/v1/reply/cache-v2-42023ee6505d9fa49dd4.json +1311 -0
- package/android/.cxx/Debug/04o6o112/x86/.cmake/api/v1/reply/cmakeFiles-v1-f45c3ac26c419160b148.json +188 -0
- package/android/.cxx/Debug/04o6o112/x86/.cmake/api/v1/reply/codemodel-v2-49c1f5aaac8de9fc8d04.json +69 -0
- package/android/.cxx/Debug/04o6o112/x86/.cmake/api/v1/reply/directory-.-Debug-f5ebdc15457944623624.json +14 -0
- package/android/.cxx/Debug/04o6o112/x86/.cmake/api/v1/reply/index-2025-11-06T08-13-15-0078.json +92 -0
- package/android/.cxx/Debug/04o6o112/x86/.cmake/api/v1/reply/target-copy_ffi_lib-Debug-954878eb814cfeb88ac9.json +73 -0
- package/android/.cxx/Debug/04o6o112/x86/.cmake/api/v1/reply/target-offline_protocol_jni-Debug-599396bfe047610845e0.json +166 -0
- package/android/.cxx/Debug/04o6o112/x86/.ninja_deps +0 -0
- package/android/.cxx/Debug/04o6o112/x86/.ninja_log +43 -0
- package/android/.cxx/Debug/04o6o112/x86/CMakeCache.txt +395 -0
- package/android/.cxx/Debug/04o6o112/x86/CMakeFiles/3.22.1-g37088a8/CMakeCCompiler.cmake +72 -0
- package/android/.cxx/Debug/04o6o112/x86/CMakeFiles/3.22.1-g37088a8/CMakeCXXCompiler.cmake +83 -0
- package/android/.cxx/Debug/04o6o112/x86/CMakeFiles/3.22.1-g37088a8/CMakeDetermineCompilerABI_C.bin +0 -0
- package/android/.cxx/Debug/04o6o112/x86/CMakeFiles/3.22.1-g37088a8/CMakeDetermineCompilerABI_CXX.bin +0 -0
- package/android/.cxx/Debug/04o6o112/x86/CMakeFiles/3.22.1-g37088a8/CMakeSystem.cmake +15 -0
- package/android/.cxx/Debug/04o6o112/x86/CMakeFiles/3.22.1-g37088a8/CompilerIdC/CMakeCCompilerId.c +803 -0
- package/android/.cxx/Debug/04o6o112/x86/CMakeFiles/3.22.1-g37088a8/CompilerIdC/CMakeCCompilerId.o +0 -0
- package/android/.cxx/Debug/04o6o112/x86/CMakeFiles/3.22.1-g37088a8/CompilerIdCXX/CMakeCXXCompilerId.cpp +791 -0
- package/android/.cxx/Debug/04o6o112/x86/CMakeFiles/3.22.1-g37088a8/CompilerIdCXX/CMakeCXXCompilerId.o +0 -0
- package/android/.cxx/Debug/04o6o112/x86/CMakeFiles/CMakeOutput.log +258 -0
- package/android/.cxx/Debug/04o6o112/x86/CMakeFiles/TargetDirectories.txt +4 -0
- package/android/.cxx/Debug/04o6o112/x86/CMakeFiles/cmake.check_cache +1 -0
- package/android/.cxx/Debug/04o6o112/x86/CMakeFiles/rules.ninja +64 -0
- package/android/.cxx/Debug/04o6o112/x86/additional_project_files.txt +3 -0
- package/android/.cxx/Debug/04o6o112/x86/android_gradle_build.json +43 -0
- package/android/.cxx/Debug/04o6o112/x86/android_gradle_build_mini.json +32 -0
- package/android/.cxx/Debug/04o6o112/x86/build.ninja +183 -0
- package/android/.cxx/Debug/04o6o112/x86/build_file_index.txt +1 -0
- package/android/.cxx/Debug/04o6o112/x86/cmake_install.cmake +54 -0
- package/android/.cxx/Debug/04o6o112/x86/compile_commands.json +12 -0
- package/android/.cxx/Debug/04o6o112/x86/compile_commands.json.bin +0 -0
- package/android/.cxx/Debug/04o6o112/x86/configure_fingerprint.bin +29 -0
- package/android/.cxx/Debug/04o6o112/x86/metadata_generation_command.txt +18 -0
- package/android/.cxx/Debug/04o6o112/x86/prefab_config.json +4 -0
- package/android/.cxx/Debug/04o6o112/x86/symbol_folder_index.txt +1 -0
- package/android/.cxx/Debug/04o6o112/x86_64/.cmake/api/v1/query/client-agp/cache-v2 +0 -0
- package/android/.cxx/Debug/04o6o112/x86_64/.cmake/api/v1/query/client-agp/cmakeFiles-v1 +0 -0
- package/android/.cxx/Debug/04o6o112/x86_64/.cmake/api/v1/query/client-agp/codemodel-v2 +0 -0
- package/android/.cxx/Debug/04o6o112/x86_64/.cmake/api/v1/reply/cache-v2-9c2dffc78a4d85163abd.json +1311 -0
- package/android/.cxx/Debug/04o6o112/x86_64/.cmake/api/v1/reply/cmakeFiles-v1-6fd660d496ad526b3e02.json +188 -0
- package/android/.cxx/Debug/04o6o112/x86_64/.cmake/api/v1/reply/codemodel-v2-2d53a88f7e3a85d1db68.json +69 -0
- package/android/.cxx/Debug/04o6o112/x86_64/.cmake/api/v1/reply/directory-.-Debug-f5ebdc15457944623624.json +14 -0
- package/android/.cxx/Debug/04o6o112/x86_64/.cmake/api/v1/reply/index-2025-11-06T08-13-15-0649.json +92 -0
- package/android/.cxx/Debug/04o6o112/x86_64/.cmake/api/v1/reply/target-copy_ffi_lib-Debug-aa91273acb422e0d2606.json +73 -0
- package/android/.cxx/Debug/04o6o112/x86_64/.cmake/api/v1/reply/target-offline_protocol_jni-Debug-d6267ba86ac88964cb2f.json +166 -0
- package/android/.cxx/Debug/04o6o112/x86_64/.ninja_deps +0 -0
- package/android/.cxx/Debug/04o6o112/x86_64/.ninja_log +43 -0
- package/android/.cxx/Debug/04o6o112/x86_64/CMakeCache.txt +395 -0
- package/android/.cxx/Debug/04o6o112/x86_64/CMakeFiles/3.22.1-g37088a8/CMakeCCompiler.cmake +72 -0
- package/android/.cxx/Debug/04o6o112/x86_64/CMakeFiles/3.22.1-g37088a8/CMakeCXXCompiler.cmake +83 -0
- package/android/.cxx/Debug/04o6o112/x86_64/CMakeFiles/3.22.1-g37088a8/CMakeDetermineCompilerABI_C.bin +0 -0
- package/android/.cxx/Debug/04o6o112/x86_64/CMakeFiles/3.22.1-g37088a8/CMakeDetermineCompilerABI_CXX.bin +0 -0
- package/android/.cxx/Debug/04o6o112/x86_64/CMakeFiles/3.22.1-g37088a8/CMakeSystem.cmake +15 -0
- package/android/.cxx/Debug/04o6o112/x86_64/CMakeFiles/3.22.1-g37088a8/CompilerIdC/CMakeCCompilerId.c +803 -0
- package/android/.cxx/Debug/04o6o112/x86_64/CMakeFiles/3.22.1-g37088a8/CompilerIdC/CMakeCCompilerId.o +0 -0
- package/android/.cxx/Debug/04o6o112/x86_64/CMakeFiles/3.22.1-g37088a8/CompilerIdCXX/CMakeCXXCompilerId.cpp +791 -0
- package/android/.cxx/Debug/04o6o112/x86_64/CMakeFiles/3.22.1-g37088a8/CompilerIdCXX/CMakeCXXCompilerId.o +0 -0
- package/android/.cxx/Debug/04o6o112/x86_64/CMakeFiles/CMakeOutput.log +258 -0
- package/android/.cxx/Debug/04o6o112/x86_64/CMakeFiles/TargetDirectories.txt +4 -0
- package/android/.cxx/Debug/04o6o112/x86_64/CMakeFiles/cmake.check_cache +1 -0
- package/android/.cxx/Debug/04o6o112/x86_64/CMakeFiles/rules.ninja +64 -0
- package/android/.cxx/Debug/04o6o112/x86_64/additional_project_files.txt +3 -0
- package/android/.cxx/Debug/04o6o112/x86_64/android_gradle_build.json +43 -0
- package/android/.cxx/Debug/04o6o112/x86_64/android_gradle_build_mini.json +32 -0
- package/android/.cxx/Debug/04o6o112/x86_64/build.ninja +183 -0
- package/android/.cxx/Debug/04o6o112/x86_64/build_file_index.txt +1 -0
- package/android/.cxx/Debug/04o6o112/x86_64/cmake_install.cmake +54 -0
- package/android/.cxx/Debug/04o6o112/x86_64/compile_commands.json +12 -0
- package/android/.cxx/Debug/04o6o112/x86_64/compile_commands.json.bin +0 -0
- package/android/.cxx/Debug/04o6o112/x86_64/configure_fingerprint.bin +29 -0
- package/android/.cxx/Debug/04o6o112/x86_64/metadata_generation_command.txt +18 -0
- package/android/.cxx/Debug/04o6o112/x86_64/prefab_config.json +4 -0
- package/android/.cxx/Debug/04o6o112/x86_64/symbol_folder_index.txt +1 -0
- package/android/.cxx/tools/debug/arm64-v8a/compile_commands.json +12 -0
- package/android/.cxx/tools/debug/armeabi-v7a/compile_commands.json +12 -0
- package/android/.cxx/tools/debug/x86/compile_commands.json +12 -0
- package/android/.cxx/tools/debug/x86_64/compile_commands.json +12 -0
- package/android/.gradle/8.9/checksums/checksums.lock +0 -0
- package/android/.gradle/8.9/checksums/md5-checksums.bin +0 -0
- package/android/.gradle/8.9/checksums/sha1-checksums.bin +0 -0
- package/android/.gradle/8.9/dependencies-accessors/gc.properties +0 -0
- package/android/.gradle/8.9/executionHistory/executionHistory.lock +0 -0
- package/android/.gradle/8.9/fileChanges/last-build.bin +0 -0
- package/android/.gradle/8.9/fileHashes/fileHashes.lock +0 -0
- package/android/.gradle/8.9/gc.properties +0 -0
- package/android/.gradle/buildOutputCleanup/buildOutputCleanup.lock +0 -0
- package/android/.gradle/buildOutputCleanup/cache.properties +2 -0
- package/android/.gradle/vcs-1/gc.properties +0 -0
- package/android/.vscode/README.md +36 -0
- package/android/.vscode/settings.json +14 -0
- package/android/build/.transforms/53efb3d4d9f00d92cbf4ba76c24820df/results.bin +1 -0
- package/android/build/.transforms/53efb3d4d9f00d92cbf4ba76c24820df/transformed/classes/classes_dex/classes.dex +0 -0
- package/android/build/.transforms/da3557589d4a483a1399f2bb7c5d79d9/results.bin +1 -0
- package/android/build/.transforms/da3557589d4a483a1399f2bb7c5d79d9/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/offlineprotocol/BleManager$Companion.dex +0 -0
- package/android/build/.transforms/da3557589d4a483a1399f2bb7c5d79d9/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/offlineprotocol/BleManager$MeshObservation.dex +0 -0
- package/android/build/.transforms/da3557589d4a483a1399f2bb7c5d79d9/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/offlineprotocol/BleManager$PendingFragment.dex +0 -0
- package/android/build/.transforms/da3557589d4a483a1399f2bb7c5d79d9/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/offlineprotocol/BleManager$WhenMappings.dex +0 -0
- package/android/build/.transforms/da3557589d4a483a1399f2bb7c5d79d9/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/offlineprotocol/BleManager$fragmentPollingRunnable$1.dex +0 -0
- package/android/build/.transforms/da3557589d4a483a1399f2bb7c5d79d9/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/offlineprotocol/BleManager$gattClientCallback$1.dex +0 -0
- package/android/build/.transforms/da3557589d4a483a1399f2bb7c5d79d9/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/offlineprotocol/BleManager$gattServerCallback$1$WhenMappings.dex +0 -0
- package/android/build/.transforms/da3557589d4a483a1399f2bb7c5d79d9/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/offlineprotocol/BleManager$gattServerCallback$1.dex +0 -0
- package/android/build/.transforms/da3557589d4a483a1399f2bb7c5d79d9/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/offlineprotocol/BleManager$resolveTargetAddress$$inlined$sortedBy$1.dex +0 -0
- package/android/build/.transforms/da3557589d4a483a1399f2bb7c5d79d9/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/offlineprotocol/BleManager$routingCleanupRunnable$1.dex +0 -0
- package/android/build/.transforms/da3557589d4a483a1399f2bb7c5d79d9/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/offlineprotocol/BleManager$scanWatchdogRunnable$1.dex +0 -0
- package/android/build/.transforms/da3557589d4a483a1399f2bb7c5d79d9/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/offlineprotocol/BleManager$startAdvertising$1.dex +0 -0
- package/android/build/.transforms/da3557589d4a483a1399f2bb7c5d79d9/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/offlineprotocol/BleManager$startScanning$1.dex +0 -0
- package/android/build/.transforms/da3557589d4a483a1399f2bb7c5d79d9/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/offlineprotocol/BleManager.dex +0 -0
- package/android/build/.transforms/da3557589d4a483a1399f2bb7c5d79d9/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/offlineprotocol/BuildConfig.dex +0 -0
- package/android/build/.transforms/da3557589d4a483a1399f2bb7c5d79d9/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/offlineprotocol/InternetManager$Companion.dex +0 -0
- package/android/build/.transforms/da3557589d4a483a1399f2bb7c5d79d9/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/offlineprotocol/InternetManager$messagePollingRunnable$1.dex +0 -0
- package/android/build/.transforms/da3557589d4a483a1399f2bb7c5d79d9/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/offlineprotocol/InternetManager$pingRunnable$1.dex +0 -0
- package/android/build/.transforms/da3557589d4a483a1399f2bb7c5d79d9/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/offlineprotocol/InternetManager$webSocketListener$1.dex +0 -0
- package/android/build/.transforms/da3557589d4a483a1399f2bb7c5d79d9/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/offlineprotocol/InternetManager.dex +0 -0
- package/android/build/.transforms/da3557589d4a483a1399f2bb7c5d79d9/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/offlineprotocol/LogThrottler.dex +0 -0
- package/android/build/.transforms/da3557589d4a483a1399f2bb7c5d79d9/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/offlineprotocol/OfflineProtocolModule$Companion.dex +0 -0
- package/android/build/.transforms/da3557589d4a483a1399f2bb7c5d79d9/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/offlineprotocol/OfflineProtocolModule$Constants.dex +0 -0
- package/android/build/.transforms/da3557589d4a483a1399f2bb7c5d79d9/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/offlineprotocol/OfflineProtocolModule$ParsedConfig.dex +0 -0
- package/android/build/.transforms/da3557589d4a483a1399f2bb7c5d79d9/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/offlineprotocol/OfflineProtocolModule$WhenMappings.dex +0 -0
- package/android/build/.transforms/da3557589d4a483a1399f2bb7c5d79d9/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/offlineprotocol/OfflineProtocolModule$create$1.dex +0 -0
- package/android/build/.transforms/da3557589d4a483a1399f2bb7c5d79d9/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/offlineprotocol/OfflineProtocolModule$create$3$1.dex +0 -0
- package/android/build/.transforms/da3557589d4a483a1399f2bb7c5d79d9/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/offlineprotocol/OfflineProtocolModule$create$5$1.dex +0 -0
- package/android/build/.transforms/da3557589d4a483a1399f2bb7c5d79d9/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/offlineprotocol/OfflineProtocolModule.dex +0 -0
- package/android/build/.transforms/da3557589d4a483a1399f2bb7c5d79d9/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/offlineprotocol/OfflineProtocolPackage.dex +0 -0
- package/android/build/.transforms/da3557589d4a483a1399f2bb7c5d79d9/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/offlineprotocol/TransportException$AlreadyRunning.dex +0 -0
- package/android/build/.transforms/da3557589d4a483a1399f2bb7c5d79d9/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/offlineprotocol/TransportException$InvalidState.dex +0 -0
- package/android/build/.transforms/da3557589d4a483a1399f2bb7c5d79d9/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/offlineprotocol/TransportException$NotAvailable.dex +0 -0
- package/android/build/.transforms/da3557589d4a483a1399f2bb7c5d79d9/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/offlineprotocol/TransportException$NotRunning.dex +0 -0
- package/android/build/.transforms/da3557589d4a483a1399f2bb7c5d79d9/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/offlineprotocol/TransportException$PermissionDenied.dex +0 -0
- package/android/build/.transforms/da3557589d4a483a1399f2bb7c5d79d9/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/offlineprotocol/TransportException$PlatformError.dex +0 -0
- package/android/build/.transforms/da3557589d4a483a1399f2bb7c5d79d9/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/offlineprotocol/TransportException$StartFailed.dex +0 -0
- package/android/build/.transforms/da3557589d4a483a1399f2bb7c5d79d9/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/offlineprotocol/TransportException.dex +0 -0
- package/android/build/.transforms/da3557589d4a483a1399f2bb7c5d79d9/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/offlineprotocol/TransportManager$DefaultImpls.dex +0 -0
- package/android/build/.transforms/da3557589d4a483a1399f2bb7c5d79d9/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/offlineprotocol/TransportManager.dex +0 -0
- package/android/build/.transforms/da3557589d4a483a1399f2bb7c5d79d9/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/offlineprotocol/TransportManagerListener.dex +0 -0
- package/android/build/.transforms/da3557589d4a483a1399f2bb7c5d79d9/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/offlineprotocol/TransportState.dex +0 -0
- package/android/build/.transforms/da3557589d4a483a1399f2bb7c5d79d9/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/offlineprotocol/WifiDirectManager$Companion.dex +0 -0
- package/android/build/.transforms/da3557589d4a483a1399f2bb7c5d79d9/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/offlineprotocol/WifiDirectManager$messagePollingRunnable$1.dex +0 -0
- package/android/build/.transforms/da3557589d4a483a1399f2bb7c5d79d9/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/offlineprotocol/WifiDirectManager$p2pReceiver$1.dex +0 -0
- package/android/build/.transforms/da3557589d4a483a1399f2bb7c5d79d9/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/offlineprotocol/WifiDirectManager$startPeerDiscovery$1.dex +0 -0
- package/android/build/.transforms/da3557589d4a483a1399f2bb7c5d79d9/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/offlineprotocol/WifiDirectManager$stopPeerDiscovery$1.dex +0 -0
- package/android/build/.transforms/da3557589d4a483a1399f2bb7c5d79d9/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/offlineprotocol/WifiDirectManager.dex +0 -0
- package/android/build/.transforms/da3557589d4a483a1399f2bb7c5d79d9/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/offlineprotocol/ble/MeshConnectionRegistry.dex +0 -0
- package/android/build/.transforms/da3557589d4a483a1399f2bb7c5d79d9/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/offlineprotocol/mesh/MeshAdvertisementData$Companion.dex +0 -0
- package/android/build/.transforms/da3557589d4a483a1399f2bb7c5d79d9/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/offlineprotocol/mesh/MeshAdvertisementData.dex +0 -0
- package/android/build/.transforms/da3557589d4a483a1399f2bb7c5d79d9/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/offlineprotocol/mesh/MeshController$Companion.dex +0 -0
- package/android/build/.transforms/da3557589d4a483a1399f2bb7c5d79d9/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/offlineprotocol/mesh/MeshController$ConnectionIntent.dex +0 -0
- package/android/build/.transforms/da3557589d4a483a1399f2bb7c5d79d9/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/offlineprotocol/mesh/MeshController$MeshConfig.dex +0 -0
- package/android/build/.transforms/da3557589d4a483a1399f2bb7c5d79d9/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/offlineprotocol/mesh/MeshController$MeshDecision.dex +0 -0
- package/android/build/.transforms/da3557589d4a483a1399f2bb7c5d79d9/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/offlineprotocol/mesh/MeshController$MeshRole.dex +0 -0
- package/android/build/.transforms/da3557589d4a483a1399f2bb7c5d79d9/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/offlineprotocol/mesh/MeshController$PeerMetrics.dex +0 -0
- package/android/build/.transforms/da3557589d4a483a1399f2bb7c5d79d9/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/offlineprotocol/mesh/MeshController$PeerState.dex +0 -0
- package/android/build/.transforms/da3557589d4a483a1399f2bb7c5d79d9/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/offlineprotocol/mesh/MeshController$RebalanceDirective.dex +0 -0
- package/android/build/.transforms/da3557589d4a483a1399f2bb7c5d79d9/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/offlineprotocol/mesh/MeshController$RemoteCandidate.dex +0 -0
- package/android/build/.transforms/da3557589d4a483a1399f2bb7c5d79d9/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/offlineprotocol/mesh/MeshController$ScoreWeights.dex +0 -0
- package/android/build/.transforms/da3557589d4a483a1399f2bb7c5d79d9/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/offlineprotocol/mesh/MeshController$pruneCandidateCache$$inlined$sortedBy$1.dex +0 -0
- package/android/build/.transforms/da3557589d4a483a1399f2bb7c5d79d9/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/offlineprotocol/mesh/MeshController$prunePeerCache$$inlined$sortBy$1.dex +0 -0
- package/android/build/.transforms/da3557589d4a483a1399f2bb7c5d79d9/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/offlineprotocol/mesh/MeshController$prunePeerCache$$inlined$sortBy$2.dex +0 -0
- package/android/build/.transforms/da3557589d4a483a1399f2bb7c5d79d9/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/offlineprotocol/mesh/MeshController.dex +0 -0
- package/android/build/.transforms/da3557589d4a483a1399f2bb7c5d79d9/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/offline_protocol/AckConfig$Companion.dex +0 -0
- package/android/build/.transforms/da3557589d4a483a1399f2bb7c5d79d9/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/offline_protocol/AckConfig.dex +0 -0
- package/android/build/.transforms/da3557589d4a483a1399f2bb7c5d79d9/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/offline_protocol/BleFragment$Companion.dex +0 -0
- package/android/build/.transforms/da3557589d4a483a1399f2bb7c5d79d9/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/offline_protocol/BleFragment.dex +0 -0
- package/android/build/.transforms/da3557589d4a483a1399f2bb7c5d79d9/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/offline_protocol/DedupConfig$Companion.dex +0 -0
- package/android/build/.transforms/da3557589d4a483a1399f2bb7c5d79d9/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/offline_protocol/DedupConfig.dex +0 -0
- package/android/build/.transforms/da3557589d4a483a1399f2bb7c5d79d9/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/offline_protocol/DedupStats$Companion.dex +0 -0
- package/android/build/.transforms/da3557589d4a483a1399f2bb7c5d79d9/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/offline_protocol/DedupStats.dex +0 -0
- package/android/build/.transforms/da3557589d4a483a1399f2bb7c5d79d9/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/offline_protocol/Disposable$Companion.dex +0 -0
- package/android/build/.transforms/da3557589d4a483a1399f2bb7c5d79d9/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/offline_protocol/Disposable.dex +0 -0
- package/android/build/.transforms/da3557589d4a483a1399f2bb7c5d79d9/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/offline_protocol/DorsConfig$Companion.dex +0 -0
- package/android/build/.transforms/da3557589d4a483a1399f2bb7c5d79d9/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/offline_protocol/DorsConfig.dex +0 -0
- package/android/build/.transforms/da3557589d4a483a1399f2bb7c5d79d9/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/offline_protocol/EventCallback$Companion.dex +0 -0
- package/android/build/.transforms/da3557589d4a483a1399f2bb7c5d79d9/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/offline_protocol/EventCallback.dex +0 -0
- package/android/build/.transforms/da3557589d4a483a1399f2bb7c5d79d9/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/offline_protocol/FfiConverter$DefaultImpls.dex +0 -0
- package/android/build/.transforms/da3557589d4a483a1399f2bb7c5d79d9/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/offline_protocol/FfiConverter.dex +0 -0
- package/android/build/.transforms/da3557589d4a483a1399f2bb7c5d79d9/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/offline_protocol/FfiConverterBoolean.dex +0 -0
- package/android/build/.transforms/da3557589d4a483a1399f2bb7c5d79d9/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/offline_protocol/FfiConverterCallbackInterface.dex +0 -0
- package/android/build/.transforms/da3557589d4a483a1399f2bb7c5d79d9/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/offline_protocol/FfiConverterFloat.dex +0 -0
- package/android/build/.transforms/da3557589d4a483a1399f2bb7c5d79d9/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/offline_protocol/FfiConverterOptionalShort.dex +0 -0
- package/android/build/.transforms/da3557589d4a483a1399f2bb7c5d79d9/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/offline_protocol/FfiConverterOptionalString.dex +0 -0
- package/android/build/.transforms/da3557589d4a483a1399f2bb7c5d79d9/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/offline_protocol/FfiConverterOptionalTypeBleFragment.dex +0 -0
- package/android/build/.transforms/da3557589d4a483a1399f2bb7c5d79d9/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/offline_protocol/FfiConverterOptionalTypeFileProgress.dex +0 -0
- package/android/build/.transforms/da3557589d4a483a1399f2bb7c5d79d9/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/offline_protocol/FfiConverterOptionalTypeInternetMessage.dex +0 -0
- package/android/build/.transforms/da3557589d4a483a1399f2bb7c5d79d9/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/offline_protocol/FfiConverterOptionalTypeRouteEntry.dex +0 -0
- package/android/build/.transforms/da3557589d4a483a1399f2bb7c5d79d9/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/offline_protocol/FfiConverterOptionalTypeTransportMetrics.dex +0 -0
- package/android/build/.transforms/da3557589d4a483a1399f2bb7c5d79d9/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/offline_protocol/FfiConverterOptionalTypeWifiDirectMessage.dex +0 -0
- package/android/build/.transforms/da3557589d4a483a1399f2bb7c5d79d9/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/offline_protocol/FfiConverterOptionalUByte.dex +0 -0
- package/android/build/.transforms/da3557589d4a483a1399f2bb7c5d79d9/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/offline_protocol/FfiConverterOptionalULong.dex +0 -0
- package/android/build/.transforms/da3557589d4a483a1399f2bb7c5d79d9/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/offline_protocol/FfiConverterRustBuffer$DefaultImpls.dex +0 -0
- package/android/build/.transforms/da3557589d4a483a1399f2bb7c5d79d9/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/offline_protocol/FfiConverterRustBuffer.dex +0 -0
- package/android/build/.transforms/da3557589d4a483a1399f2bb7c5d79d9/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/offline_protocol/FfiConverterSequenceString.dex +0 -0
- package/android/build/.transforms/da3557589d4a483a1399f2bb7c5d79d9/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/offline_protocol/FfiConverterSequenceTypeMessageStats.dex +0 -0
- package/android/build/.transforms/da3557589d4a483a1399f2bb7c5d79d9/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/offline_protocol/FfiConverterSequenceTypeNetworkLink.dex +0 -0
- package/android/build/.transforms/da3557589d4a483a1399f2bb7c5d79d9/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/offline_protocol/FfiConverterSequenceTypeNetworkNode.dex +0 -0
- package/android/build/.transforms/da3557589d4a483a1399f2bb7c5d79d9/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/offline_protocol/FfiConverterSequenceTypeRouteEntry.dex +0 -0
- package/android/build/.transforms/da3557589d4a483a1399f2bb7c5d79d9/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/offline_protocol/FfiConverterSequenceUByte.dex +0 -0
- package/android/build/.transforms/da3557589d4a483a1399f2bb7c5d79d9/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/offline_protocol/FfiConverterShort.dex +0 -0
- package/android/build/.transforms/da3557589d4a483a1399f2bb7c5d79d9/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/offline_protocol/FfiConverterString.dex +0 -0
- package/android/build/.transforms/da3557589d4a483a1399f2bb7c5d79d9/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/offline_protocol/FfiConverterTypeAckConfig.dex +0 -0
- package/android/build/.transforms/da3557589d4a483a1399f2bb7c5d79d9/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/offline_protocol/FfiConverterTypeBleFragment.dex +0 -0
- package/android/build/.transforms/da3557589d4a483a1399f2bb7c5d79d9/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/offline_protocol/FfiConverterTypeDedupConfig.dex +0 -0
- package/android/build/.transforms/da3557589d4a483a1399f2bb7c5d79d9/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/offline_protocol/FfiConverterTypeDedupStats.dex +0 -0
- package/android/build/.transforms/da3557589d4a483a1399f2bb7c5d79d9/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/offline_protocol/FfiConverterTypeDorsConfig.dex +0 -0
- package/android/build/.transforms/da3557589d4a483a1399f2bb7c5d79d9/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/offline_protocol/FfiConverterTypeEventCallback.dex +0 -0
- package/android/build/.transforms/da3557589d4a483a1399f2bb7c5d79d9/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/offline_protocol/FfiConverterTypeFileProgress.dex +0 -0
- package/android/build/.transforms/da3557589d4a483a1399f2bb7c5d79d9/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/offline_protocol/FfiConverterTypeGradientRoutingConfig.dex +0 -0
- package/android/build/.transforms/da3557589d4a483a1399f2bb7c5d79d9/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/offline_protocol/FfiConverterTypeInternetMessage.dex +0 -0
- package/android/build/.transforms/da3557589d4a483a1399f2bb7c5d79d9/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/offline_protocol/FfiConverterTypeMessagePriority.dex +0 -0
- package/android/build/.transforms/da3557589d4a483a1399f2bb7c5d79d9/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/offline_protocol/FfiConverterTypeMessageStats.dex +0 -0
- package/android/build/.transforms/da3557589d4a483a1399f2bb7c5d79d9/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/offline_protocol/FfiConverterTypeNetworkLink.dex +0 -0
- package/android/build/.transforms/da3557589d4a483a1399f2bb7c5d79d9/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/offline_protocol/FfiConverterTypeNetworkNode.dex +0 -0
- package/android/build/.transforms/da3557589d4a483a1399f2bb7c5d79d9/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/offline_protocol/FfiConverterTypeNetworkTopology.dex +0 -0
- package/android/build/.transforms/da3557589d4a483a1399f2bb7c5d79d9/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/offline_protocol/FfiConverterTypeOfflineProtocol.dex +0 -0
- package/android/build/.transforms/da3557589d4a483a1399f2bb7c5d79d9/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/offline_protocol/FfiConverterTypePathConfig.dex +0 -0
- package/android/build/.transforms/da3557589d4a483a1399f2bb7c5d79d9/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/offline_protocol/FfiConverterTypePeerDevice.dex +0 -0
- package/android/build/.transforms/da3557589d4a483a1399f2bb7c5d79d9/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/offline_protocol/FfiConverterTypeProtocolConfig.dex +0 -0
- package/android/build/.transforms/da3557589d4a483a1399f2bb7c5d79d9/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/offline_protocol/FfiConverterTypeProtocolConfigExtended.dex +0 -0
- package/android/build/.transforms/da3557589d4a483a1399f2bb7c5d79d9/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/offline_protocol/FfiConverterTypeProtocolError.dex +0 -0
- package/android/build/.transforms/da3557589d4a483a1399f2bb7c5d79d9/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/offline_protocol/FfiConverterTypeProtocolState.dex +0 -0
- package/android/build/.transforms/da3557589d4a483a1399f2bb7c5d79d9/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/offline_protocol/FfiConverterTypeRelayConfig.dex +0 -0
- package/android/build/.transforms/da3557589d4a483a1399f2bb7c5d79d9/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/offline_protocol/FfiConverterTypeRelayPriority.dex +0 -0
- package/android/build/.transforms/da3557589d4a483a1399f2bb7c5d79d9/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/offline_protocol/FfiConverterTypeReliabilityConfig.dex +0 -0
- package/android/build/.transforms/da3557589d4a483a1399f2bb7c5d79d9/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/offline_protocol/FfiConverterTypeRetryConfig.dex +0 -0
- package/android/build/.transforms/da3557589d4a483a1399f2bb7c5d79d9/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/offline_protocol/FfiConverterTypeRouteEntry.dex +0 -0
- package/android/build/.transforms/da3557589d4a483a1399f2bb7c5d79d9/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/offline_protocol/FfiConverterTypeRoutingStats.dex +0 -0
- package/android/build/.transforms/da3557589d4a483a1399f2bb7c5d79d9/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/offline_protocol/FfiConverterTypeTransportConfig.dex +0 -0
- package/android/build/.transforms/da3557589d4a483a1399f2bb7c5d79d9/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/offline_protocol/FfiConverterTypeTransportMetrics.dex +0 -0
- package/android/build/.transforms/da3557589d4a483a1399f2bb7c5d79d9/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/offline_protocol/FfiConverterTypeTransportType.dex +0 -0
- package/android/build/.transforms/da3557589d4a483a1399f2bb7c5d79d9/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/offline_protocol/FfiConverterTypeWifiDirectMessage.dex +0 -0
- package/android/build/.transforms/da3557589d4a483a1399f2bb7c5d79d9/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/offline_protocol/FfiConverterUByte.dex +0 -0
- package/android/build/.transforms/da3557589d4a483a1399f2bb7c5d79d9/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/offline_protocol/FfiConverterUInt.dex +0 -0
- package/android/build/.transforms/da3557589d4a483a1399f2bb7c5d79d9/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/offline_protocol/FfiConverterULong.dex +0 -0
- package/android/build/.transforms/da3557589d4a483a1399f2bb7c5d79d9/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/offline_protocol/FfiConverterUShort.dex +0 -0
- package/android/build/.transforms/da3557589d4a483a1399f2bb7c5d79d9/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/offline_protocol/FileProgress$Companion.dex +0 -0
- package/android/build/.transforms/da3557589d4a483a1399f2bb7c5d79d9/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/offline_protocol/FileProgress.dex +0 -0
- package/android/build/.transforms/da3557589d4a483a1399f2bb7c5d79d9/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/offline_protocol/ForeignBytes$ByValue.dex +0 -0
- package/android/build/.transforms/da3557589d4a483a1399f2bb7c5d79d9/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/offline_protocol/ForeignBytes.dex +0 -0
- package/android/build/.transforms/da3557589d4a483a1399f2bb7c5d79d9/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/offline_protocol/GradientRoutingConfig$Companion.dex +0 -0
- package/android/build/.transforms/da3557589d4a483a1399f2bb7c5d79d9/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/offline_protocol/GradientRoutingConfig.dex +0 -0
- package/android/build/.transforms/da3557589d4a483a1399f2bb7c5d79d9/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/offline_protocol/IntegrityCheckingUniffiLib.dex +0 -0
- package/android/build/.transforms/da3557589d4a483a1399f2bb7c5d79d9/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/offline_protocol/InternalException.dex +0 -0
- package/android/build/.transforms/da3557589d4a483a1399f2bb7c5d79d9/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/offline_protocol/InternetMessage$Companion.dex +0 -0
- package/android/build/.transforms/da3557589d4a483a1399f2bb7c5d79d9/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/offline_protocol/InternetMessage.dex +0 -0
- package/android/build/.transforms/da3557589d4a483a1399f2bb7c5d79d9/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/offline_protocol/JavaLangRefCleanable.dex +0 -0
- package/android/build/.transforms/da3557589d4a483a1399f2bb7c5d79d9/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/offline_protocol/JavaLangRefCleaner.dex +0 -0
- package/android/build/.transforms/da3557589d4a483a1399f2bb7c5d79d9/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/offline_protocol/MessagePriority$Companion.dex +0 -0
- package/android/build/.transforms/da3557589d4a483a1399f2bb7c5d79d9/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/offline_protocol/MessagePriority.dex +0 -0
- package/android/build/.transforms/da3557589d4a483a1399f2bb7c5d79d9/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/offline_protocol/MessageStats$Companion.dex +0 -0
- package/android/build/.transforms/da3557589d4a483a1399f2bb7c5d79d9/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/offline_protocol/MessageStats.dex +0 -0
- package/android/build/.transforms/da3557589d4a483a1399f2bb7c5d79d9/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/offline_protocol/NetworkLink$Companion.dex +0 -0
- package/android/build/.transforms/da3557589d4a483a1399f2bb7c5d79d9/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/offline_protocol/NetworkLink.dex +0 -0
- package/android/build/.transforms/da3557589d4a483a1399f2bb7c5d79d9/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/offline_protocol/NetworkNode$Companion.dex +0 -0
- package/android/build/.transforms/da3557589d4a483a1399f2bb7c5d79d9/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/offline_protocol/NetworkNode.dex +0 -0
- package/android/build/.transforms/da3557589d4a483a1399f2bb7c5d79d9/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/offline_protocol/NetworkTopology$Companion.dex +0 -0
- package/android/build/.transforms/da3557589d4a483a1399f2bb7c5d79d9/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/offline_protocol/NetworkTopology.dex +0 -0
- package/android/build/.transforms/da3557589d4a483a1399f2bb7c5d79d9/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/offline_protocol/NoHandle.dex +0 -0
- package/android/build/.transforms/da3557589d4a483a1399f2bb7c5d79d9/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/offline_protocol/OfflineProtocol$Companion.dex +0 -0
- package/android/build/.transforms/da3557589d4a483a1399f2bb7c5d79d9/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/offline_protocol/OfflineProtocol$UniffiCleanAction.dex +0 -0
- package/android/build/.transforms/da3557589d4a483a1399f2bb7c5d79d9/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/offline_protocol/OfflineProtocol.dex +0 -0
- package/android/build/.transforms/da3557589d4a483a1399f2bb7c5d79d9/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/offline_protocol/OfflineProtocolInterface$Companion.dex +0 -0
- package/android/build/.transforms/da3557589d4a483a1399f2bb7c5d79d9/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/offline_protocol/OfflineProtocolInterface.dex +0 -0
- package/android/build/.transforms/da3557589d4a483a1399f2bb7c5d79d9/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/offline_protocol/Offline_protocolKt.dex +0 -0
- package/android/build/.transforms/da3557589d4a483a1399f2bb7c5d79d9/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/offline_protocol/PathConfig$Companion.dex +0 -0
- package/android/build/.transforms/da3557589d4a483a1399f2bb7c5d79d9/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/offline_protocol/PathConfig.dex +0 -0
- package/android/build/.transforms/da3557589d4a483a1399f2bb7c5d79d9/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/offline_protocol/PeerDevice$Companion.dex +0 -0
- package/android/build/.transforms/da3557589d4a483a1399f2bb7c5d79d9/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/offline_protocol/PeerDevice.dex +0 -0
- package/android/build/.transforms/da3557589d4a483a1399f2bb7c5d79d9/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/offline_protocol/ProtocolConfig$Companion.dex +0 -0
- package/android/build/.transforms/da3557589d4a483a1399f2bb7c5d79d9/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/offline_protocol/ProtocolConfig.dex +0 -0
- package/android/build/.transforms/da3557589d4a483a1399f2bb7c5d79d9/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/offline_protocol/ProtocolConfigExtended$Companion.dex +0 -0
- package/android/build/.transforms/da3557589d4a483a1399f2bb7c5d79d9/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/offline_protocol/ProtocolConfigExtended.dex +0 -0
- package/android/build/.transforms/da3557589d4a483a1399f2bb7c5d79d9/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/offline_protocol/ProtocolException$AlreadyStarted.dex +0 -0
- package/android/build/.transforms/da3557589d4a483a1399f2bb7c5d79d9/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/offline_protocol/ProtocolException$ErrorHandler.dex +0 -0
- package/android/build/.transforms/da3557589d4a483a1399f2bb7c5d79d9/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/offline_protocol/ProtocolException$InvalidConfiguration.dex +0 -0
- package/android/build/.transforms/da3557589d4a483a1399f2bb7c5d79d9/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/offline_protocol/ProtocolException$InvalidState.dex +0 -0
- package/android/build/.transforms/da3557589d4a483a1399f2bb7c5d79d9/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/offline_protocol/ProtocolException$NotStarted.dex +0 -0
- package/android/build/.transforms/da3557589d4a483a1399f2bb7c5d79d9/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/offline_protocol/ProtocolException$Other.dex +0 -0
- package/android/build/.transforms/da3557589d4a483a1399f2bb7c5d79d9/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/offline_protocol/ProtocolException$SendFailed.dex +0 -0
- package/android/build/.transforms/da3557589d4a483a1399f2bb7c5d79d9/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/offline_protocol/ProtocolException.dex +0 -0
- package/android/build/.transforms/da3557589d4a483a1399f2bb7c5d79d9/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/offline_protocol/ProtocolState$Companion.dex +0 -0
- package/android/build/.transforms/da3557589d4a483a1399f2bb7c5d79d9/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/offline_protocol/ProtocolState.dex +0 -0
- package/android/build/.transforms/da3557589d4a483a1399f2bb7c5d79d9/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/offline_protocol/RelayConfig$Companion.dex +0 -0
- package/android/build/.transforms/da3557589d4a483a1399f2bb7c5d79d9/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/offline_protocol/RelayConfig.dex +0 -0
- package/android/build/.transforms/da3557589d4a483a1399f2bb7c5d79d9/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/offline_protocol/RelayPriority$Companion.dex +0 -0
- package/android/build/.transforms/da3557589d4a483a1399f2bb7c5d79d9/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/offline_protocol/RelayPriority.dex +0 -0
- package/android/build/.transforms/da3557589d4a483a1399f2bb7c5d79d9/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/offline_protocol/ReliabilityConfig$Companion.dex +0 -0
- package/android/build/.transforms/da3557589d4a483a1399f2bb7c5d79d9/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/offline_protocol/ReliabilityConfig.dex +0 -0
- package/android/build/.transforms/da3557589d4a483a1399f2bb7c5d79d9/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/offline_protocol/RetryConfig$Companion.dex +0 -0
- package/android/build/.transforms/da3557589d4a483a1399f2bb7c5d79d9/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/offline_protocol/RetryConfig.dex +0 -0
- package/android/build/.transforms/da3557589d4a483a1399f2bb7c5d79d9/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/offline_protocol/RouteEntry$Companion.dex +0 -0
- package/android/build/.transforms/da3557589d4a483a1399f2bb7c5d79d9/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/offline_protocol/RouteEntry.dex +0 -0
- package/android/build/.transforms/da3557589d4a483a1399f2bb7c5d79d9/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/offline_protocol/RoutingStats$Companion.dex +0 -0
- package/android/build/.transforms/da3557589d4a483a1399f2bb7c5d79d9/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/offline_protocol/RoutingStats.dex +0 -0
- package/android/build/.transforms/da3557589d4a483a1399f2bb7c5d79d9/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/offline_protocol/RustBuffer$ByReference.dex +0 -0
- package/android/build/.transforms/da3557589d4a483a1399f2bb7c5d79d9/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/offline_protocol/RustBuffer$ByValue.dex +0 -0
- package/android/build/.transforms/da3557589d4a483a1399f2bb7c5d79d9/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/offline_protocol/RustBuffer$Companion.dex +0 -0
- package/android/build/.transforms/da3557589d4a483a1399f2bb7c5d79d9/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/offline_protocol/RustBuffer.dex +0 -0
- package/android/build/.transforms/da3557589d4a483a1399f2bb7c5d79d9/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/offline_protocol/TransportConfig$Companion.dex +0 -0
- package/android/build/.transforms/da3557589d4a483a1399f2bb7c5d79d9/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/offline_protocol/TransportConfig.dex +0 -0
- package/android/build/.transforms/da3557589d4a483a1399f2bb7c5d79d9/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/offline_protocol/TransportMetrics$Companion.dex +0 -0
- package/android/build/.transforms/da3557589d4a483a1399f2bb7c5d79d9/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/offline_protocol/TransportMetrics.dex +0 -0
- package/android/build/.transforms/da3557589d4a483a1399f2bb7c5d79d9/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/offline_protocol/TransportType$Companion.dex +0 -0
- package/android/build/.transforms/da3557589d4a483a1399f2bb7c5d79d9/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/offline_protocol/TransportType.dex +0 -0
- package/android/build/.transforms/da3557589d4a483a1399f2bb7c5d79d9/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/offline_protocol/UniffiCallbackInterfaceClone.dex +0 -0
- package/android/build/.transforms/da3557589d4a483a1399f2bb7c5d79d9/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/offline_protocol/UniffiCallbackInterfaceEventCallbackMethod0.dex +0 -0
- package/android/build/.transforms/da3557589d4a483a1399f2bb7c5d79d9/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/offline_protocol/UniffiCallbackInterfaceFree.dex +0 -0
- package/android/build/.transforms/da3557589d4a483a1399f2bb7c5d79d9/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/offline_protocol/UniffiCleaner$Cleanable.dex +0 -0
- package/android/build/.transforms/da3557589d4a483a1399f2bb7c5d79d9/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/offline_protocol/UniffiCleaner$Companion.dex +0 -0
- package/android/build/.transforms/da3557589d4a483a1399f2bb7c5d79d9/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/offline_protocol/UniffiCleaner.dex +0 -0
- package/android/build/.transforms/da3557589d4a483a1399f2bb7c5d79d9/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/offline_protocol/UniffiForeignFutureCompleteF32.dex +0 -0
- package/android/build/.transforms/da3557589d4a483a1399f2bb7c5d79d9/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/offline_protocol/UniffiForeignFutureCompleteF64.dex +0 -0
- package/android/build/.transforms/da3557589d4a483a1399f2bb7c5d79d9/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/offline_protocol/UniffiForeignFutureCompleteI16.dex +0 -0
- package/android/build/.transforms/da3557589d4a483a1399f2bb7c5d79d9/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/offline_protocol/UniffiForeignFutureCompleteI32.dex +0 -0
- package/android/build/.transforms/da3557589d4a483a1399f2bb7c5d79d9/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/offline_protocol/UniffiForeignFutureCompleteI64.dex +0 -0
- package/android/build/.transforms/da3557589d4a483a1399f2bb7c5d79d9/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/offline_protocol/UniffiForeignFutureCompleteI8.dex +0 -0
- package/android/build/.transforms/da3557589d4a483a1399f2bb7c5d79d9/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/offline_protocol/UniffiForeignFutureCompleteRustBuffer.dex +0 -0
- package/android/build/.transforms/da3557589d4a483a1399f2bb7c5d79d9/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/offline_protocol/UniffiForeignFutureCompleteU16.dex +0 -0
- package/android/build/.transforms/da3557589d4a483a1399f2bb7c5d79d9/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/offline_protocol/UniffiForeignFutureCompleteU32.dex +0 -0
- package/android/build/.transforms/da3557589d4a483a1399f2bb7c5d79d9/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/offline_protocol/UniffiForeignFutureCompleteU64.dex +0 -0
- package/android/build/.transforms/da3557589d4a483a1399f2bb7c5d79d9/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/offline_protocol/UniffiForeignFutureCompleteU8.dex +0 -0
- package/android/build/.transforms/da3557589d4a483a1399f2bb7c5d79d9/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/offline_protocol/UniffiForeignFutureCompleteVoid.dex +0 -0
- package/android/build/.transforms/da3557589d4a483a1399f2bb7c5d79d9/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/offline_protocol/UniffiForeignFutureDroppedCallback.dex +0 -0
- package/android/build/.transforms/da3557589d4a483a1399f2bb7c5d79d9/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/offline_protocol/UniffiForeignFutureDroppedCallbackStruct$UniffiByValue.dex +0 -0
- package/android/build/.transforms/da3557589d4a483a1399f2bb7c5d79d9/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/offline_protocol/UniffiForeignFutureDroppedCallbackStruct.dex +0 -0
- package/android/build/.transforms/da3557589d4a483a1399f2bb7c5d79d9/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/offline_protocol/UniffiForeignFutureResultF32$UniffiByValue.dex +0 -0
- package/android/build/.transforms/da3557589d4a483a1399f2bb7c5d79d9/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/offline_protocol/UniffiForeignFutureResultF32.dex +0 -0
- package/android/build/.transforms/da3557589d4a483a1399f2bb7c5d79d9/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/offline_protocol/UniffiForeignFutureResultF64$UniffiByValue.dex +0 -0
- package/android/build/.transforms/da3557589d4a483a1399f2bb7c5d79d9/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/offline_protocol/UniffiForeignFutureResultF64.dex +0 -0
- package/android/build/.transforms/da3557589d4a483a1399f2bb7c5d79d9/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/offline_protocol/UniffiForeignFutureResultI16$UniffiByValue.dex +0 -0
- package/android/build/.transforms/da3557589d4a483a1399f2bb7c5d79d9/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/offline_protocol/UniffiForeignFutureResultI16.dex +0 -0
- package/android/build/.transforms/da3557589d4a483a1399f2bb7c5d79d9/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/offline_protocol/UniffiForeignFutureResultI32$UniffiByValue.dex +0 -0
- package/android/build/.transforms/da3557589d4a483a1399f2bb7c5d79d9/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/offline_protocol/UniffiForeignFutureResultI32.dex +0 -0
- package/android/build/.transforms/da3557589d4a483a1399f2bb7c5d79d9/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/offline_protocol/UniffiForeignFutureResultI64$UniffiByValue.dex +0 -0
- package/android/build/.transforms/da3557589d4a483a1399f2bb7c5d79d9/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/offline_protocol/UniffiForeignFutureResultI64.dex +0 -0
- package/android/build/.transforms/da3557589d4a483a1399f2bb7c5d79d9/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/offline_protocol/UniffiForeignFutureResultI8$UniffiByValue.dex +0 -0
- package/android/build/.transforms/da3557589d4a483a1399f2bb7c5d79d9/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/offline_protocol/UniffiForeignFutureResultI8.dex +0 -0
- package/android/build/.transforms/da3557589d4a483a1399f2bb7c5d79d9/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/offline_protocol/UniffiForeignFutureResultRustBuffer$UniffiByValue.dex +0 -0
- package/android/build/.transforms/da3557589d4a483a1399f2bb7c5d79d9/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/offline_protocol/UniffiForeignFutureResultRustBuffer.dex +0 -0
- package/android/build/.transforms/da3557589d4a483a1399f2bb7c5d79d9/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/offline_protocol/UniffiForeignFutureResultU16$UniffiByValue.dex +0 -0
- package/android/build/.transforms/da3557589d4a483a1399f2bb7c5d79d9/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/offline_protocol/UniffiForeignFutureResultU16.dex +0 -0
- package/android/build/.transforms/da3557589d4a483a1399f2bb7c5d79d9/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/offline_protocol/UniffiForeignFutureResultU32$UniffiByValue.dex +0 -0
- package/android/build/.transforms/da3557589d4a483a1399f2bb7c5d79d9/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/offline_protocol/UniffiForeignFutureResultU32.dex +0 -0
- package/android/build/.transforms/da3557589d4a483a1399f2bb7c5d79d9/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/offline_protocol/UniffiForeignFutureResultU64$UniffiByValue.dex +0 -0
- package/android/build/.transforms/da3557589d4a483a1399f2bb7c5d79d9/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/offline_protocol/UniffiForeignFutureResultU64.dex +0 -0
- package/android/build/.transforms/da3557589d4a483a1399f2bb7c5d79d9/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/offline_protocol/UniffiForeignFutureResultU8$UniffiByValue.dex +0 -0
- package/android/build/.transforms/da3557589d4a483a1399f2bb7c5d79d9/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/offline_protocol/UniffiForeignFutureResultU8.dex +0 -0
- package/android/build/.transforms/da3557589d4a483a1399f2bb7c5d79d9/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/offline_protocol/UniffiForeignFutureResultVoid$UniffiByValue.dex +0 -0
- package/android/build/.transforms/da3557589d4a483a1399f2bb7c5d79d9/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/offline_protocol/UniffiForeignFutureResultVoid.dex +0 -0
- package/android/build/.transforms/da3557589d4a483a1399f2bb7c5d79d9/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/offline_protocol/UniffiHandleMap.dex +0 -0
- package/android/build/.transforms/da3557589d4a483a1399f2bb7c5d79d9/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/offline_protocol/UniffiJnaCleanable.dex +0 -0
- package/android/build/.transforms/da3557589d4a483a1399f2bb7c5d79d9/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/offline_protocol/UniffiJnaCleaner.dex +0 -0
- package/android/build/.transforms/da3557589d4a483a1399f2bb7c5d79d9/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/offline_protocol/UniffiLib.dex +0 -0
- package/android/build/.transforms/da3557589d4a483a1399f2bb7c5d79d9/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/offline_protocol/UniffiNullRustCallStatusErrorHandler.dex +0 -0
- package/android/build/.transforms/da3557589d4a483a1399f2bb7c5d79d9/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/offline_protocol/UniffiRustCallStatus$ByValue.dex +0 -0
- package/android/build/.transforms/da3557589d4a483a1399f2bb7c5d79d9/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/offline_protocol/UniffiRustCallStatus$Companion.dex +0 -0
- package/android/build/.transforms/da3557589d4a483a1399f2bb7c5d79d9/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/offline_protocol/UniffiRustCallStatus.dex +0 -0
- package/android/build/.transforms/da3557589d4a483a1399f2bb7c5d79d9/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/offline_protocol/UniffiRustCallStatusErrorHandler.dex +0 -0
- package/android/build/.transforms/da3557589d4a483a1399f2bb7c5d79d9/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/offline_protocol/UniffiRustFutureContinuationCallback.dex +0 -0
- package/android/build/.transforms/da3557589d4a483a1399f2bb7c5d79d9/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/offline_protocol/UniffiVTableCallbackInterfaceEventCallback$UniffiByValue.dex +0 -0
- package/android/build/.transforms/da3557589d4a483a1399f2bb7c5d79d9/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/offline_protocol/UniffiVTableCallbackInterfaceEventCallback.dex +0 -0
- package/android/build/.transforms/da3557589d4a483a1399f2bb7c5d79d9/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/offline_protocol/UniffiWithHandle.dex +0 -0
- package/android/build/.transforms/da3557589d4a483a1399f2bb7c5d79d9/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/offline_protocol/WifiDirectMessage$Companion.dex +0 -0
- package/android/build/.transforms/da3557589d4a483a1399f2bb7c5d79d9/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/offline_protocol/WifiDirectMessage.dex +0 -0
- package/android/build/.transforms/da3557589d4a483a1399f2bb7c5d79d9/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/offline_protocol/uniffiCallbackInterfaceEventCallback$onEvent.dex +0 -0
- package/android/build/.transforms/da3557589d4a483a1399f2bb7c5d79d9/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/offline_protocol/uniffiCallbackInterfaceEventCallback$uniffiClone.dex +0 -0
- package/android/build/.transforms/da3557589d4a483a1399f2bb7c5d79d9/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/offline_protocol/uniffiCallbackInterfaceEventCallback$uniffiFree.dex +0 -0
- package/android/build/.transforms/da3557589d4a483a1399f2bb7c5d79d9/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/uniffi/offline_protocol/uniffiCallbackInterfaceEventCallback.dex +0 -0
- package/android/build/.transforms/da3557589d4a483a1399f2bb7c5d79d9/transformed/bundleLibRuntimeToDirDebug/desugar_graph.bin +0 -0
- package/android/build/generated/source/buildConfig/debug/com/offlineprotocol/BuildConfig.java +10 -0
- package/android/build/intermediates/aapt_friendly_merged_manifests/debug/processDebugManifest/aapt/AndroidManifest.xml +35 -0
- package/android/build/intermediates/aapt_friendly_merged_manifests/debug/processDebugManifest/aapt/output-metadata.json +18 -0
- package/android/build/intermediates/aar_metadata/debug/writeDebugAarMetadata/aar-metadata.properties +6 -0
- package/android/build/intermediates/annotation_processor_list/debug/javaPreCompileDebug/annotationProcessors.json +1 -0
- package/android/build/intermediates/compile_library_classes_jar/debug/bundleLibCompileToJarDebug/classes.jar +0 -0
- package/android/build/intermediates/compile_r_class_jar/debug/generateDebugRFile/R.jar +0 -0
- package/android/build/intermediates/compile_symbol_list/debug/generateDebugRFile/R.txt +0 -0
- package/android/build/intermediates/incremental/debug/packageDebugResources/compile-file-map.properties +1 -0
- package/android/build/intermediates/incremental/debug/packageDebugResources/merger.xml +2 -0
- package/android/build/intermediates/incremental/mergeDebugAssets/merger.xml +2 -0
- package/android/build/intermediates/incremental/mergeDebugJniLibFolders/merger.xml +2 -0
- package/android/build/intermediates/incremental/mergeDebugShaders/merger.xml +2 -0
- package/android/build/intermediates/java_res/debug/processDebugJavaRes/out/META-INF/offlineprotocol_react-native_debug.kotlin_module +0 -0
- package/android/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes/com/offlineprotocol/BuildConfig.class +0 -0
- package/android/build/intermediates/library_jni/debug/copyDebugJniLibsProjectOnly/jni/arm64-v8a/liboffline_protocol_uniffi.so +0 -0
- package/android/build/intermediates/library_jni/debug/copyDebugJniLibsProjectOnly/jni/arm64-v8a/libuniffi_offline_protocol.so +0 -0
- package/android/build/intermediates/library_jni/debug/copyDebugJniLibsProjectOnly/jni/armeabi-v7a/liboffline_protocol_uniffi.so +0 -0
- package/android/build/intermediates/library_jni/debug/copyDebugJniLibsProjectOnly/jni/armeabi-v7a/libuniffi_offline_protocol.so +0 -0
- package/android/build/intermediates/library_jni/debug/copyDebugJniLibsProjectOnly/jni/x86/liboffline_protocol_uniffi.so +0 -0
- package/android/build/intermediates/library_jni/debug/copyDebugJniLibsProjectOnly/jni/x86/libuniffi_offline_protocol.so +0 -0
- package/android/build/intermediates/library_jni/debug/copyDebugJniLibsProjectOnly/jni/x86_64/liboffline_protocol_uniffi.so +0 -0
- package/android/build/intermediates/library_jni/debug/copyDebugJniLibsProjectOnly/jni/x86_64/libuniffi_offline_protocol.so +0 -0
- package/android/build/intermediates/local_only_symbol_list/debug/parseDebugLocalResources/R-def.txt +2 -0
- package/android/build/intermediates/manifest_merge_blame_file/debug/processDebugManifest/manifest-merger-blame-debug-report.txt +51 -0
- package/android/build/intermediates/merged_jni_libs/debug/mergeDebugJniLibFolders/out/arm64-v8a/liboffline_protocol_uniffi.so +0 -0
- package/android/build/intermediates/merged_jni_libs/debug/mergeDebugJniLibFolders/out/arm64-v8a/libuniffi_offline_protocol.so +0 -0
- package/android/build/intermediates/merged_jni_libs/debug/mergeDebugJniLibFolders/out/armeabi-v7a/liboffline_protocol_uniffi.so +0 -0
- package/android/build/intermediates/merged_jni_libs/debug/mergeDebugJniLibFolders/out/armeabi-v7a/libuniffi_offline_protocol.so +0 -0
- package/android/build/intermediates/merged_jni_libs/debug/mergeDebugJniLibFolders/out/x86/liboffline_protocol_uniffi.so +0 -0
- package/android/build/intermediates/merged_jni_libs/debug/mergeDebugJniLibFolders/out/x86/libuniffi_offline_protocol.so +0 -0
- package/android/build/intermediates/merged_jni_libs/debug/mergeDebugJniLibFolders/out/x86_64/liboffline_protocol_uniffi.so +0 -0
- package/android/build/intermediates/merged_jni_libs/debug/mergeDebugJniLibFolders/out/x86_64/libuniffi_offline_protocol.so +0 -0
- package/android/build/intermediates/merged_manifest/debug/processDebugManifest/AndroidManifest.xml +35 -0
- package/android/build/intermediates/merged_native_libs/debug/mergeDebugNativeLibs/out/lib/arm64-v8a/liboffline_protocol_uniffi.so +0 -0
- package/android/build/intermediates/merged_native_libs/debug/mergeDebugNativeLibs/out/lib/arm64-v8a/libuniffi_offline_protocol.so +0 -0
- package/android/build/intermediates/merged_native_libs/debug/mergeDebugNativeLibs/out/lib/armeabi-v7a/liboffline_protocol_uniffi.so +0 -0
- package/android/build/intermediates/merged_native_libs/debug/mergeDebugNativeLibs/out/lib/armeabi-v7a/libuniffi_offline_protocol.so +0 -0
- package/android/build/intermediates/merged_native_libs/debug/mergeDebugNativeLibs/out/lib/x86/liboffline_protocol_uniffi.so +0 -0
- package/android/build/intermediates/merged_native_libs/debug/mergeDebugNativeLibs/out/lib/x86/libuniffi_offline_protocol.so +0 -0
- package/android/build/intermediates/merged_native_libs/debug/mergeDebugNativeLibs/out/lib/x86_64/liboffline_protocol_uniffi.so +0 -0
- package/android/build/intermediates/merged_native_libs/debug/mergeDebugNativeLibs/out/lib/x86_64/libuniffi_offline_protocol.so +0 -0
- package/android/build/intermediates/navigation_json/debug/extractDeepLinksDebug/navigation.json +1 -0
- package/android/build/intermediates/nested_resources_validation_report/debug/generateDebugResources/nestedResourcesValidationReport.txt +1 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/META-INF/offlineprotocol_react-native_debug.kotlin_module +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/offlineprotocol/BleManager$Companion.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/offlineprotocol/BleManager$MeshObservation.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/offlineprotocol/BleManager$PendingFragment.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/offlineprotocol/BleManager$WhenMappings.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/offlineprotocol/BleManager$fragmentPollingRunnable$1.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/offlineprotocol/BleManager$gattClientCallback$1.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/offlineprotocol/BleManager$gattServerCallback$1$WhenMappings.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/offlineprotocol/BleManager$gattServerCallback$1.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/offlineprotocol/BleManager$resolveTargetAddress$$inlined$sortedBy$1.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/offlineprotocol/BleManager$routingCleanupRunnable$1.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/offlineprotocol/BleManager$scanWatchdogRunnable$1.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/offlineprotocol/BleManager$startAdvertising$1.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/offlineprotocol/BleManager$startScanning$1.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/offlineprotocol/BleManager.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/offlineprotocol/BuildConfig.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/offlineprotocol/InternetManager$Companion.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/offlineprotocol/InternetManager$messagePollingRunnable$1.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/offlineprotocol/InternetManager$pingRunnable$1.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/offlineprotocol/InternetManager$webSocketListener$1.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/offlineprotocol/InternetManager.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/offlineprotocol/LogThrottler.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/offlineprotocol/OfflineProtocolModule$Companion.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/offlineprotocol/OfflineProtocolModule$Constants.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/offlineprotocol/OfflineProtocolModule$ParsedConfig.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/offlineprotocol/OfflineProtocolModule$WhenMappings.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/offlineprotocol/OfflineProtocolModule$create$1.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/offlineprotocol/OfflineProtocolModule$create$3$1.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/offlineprotocol/OfflineProtocolModule$create$5$1.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/offlineprotocol/OfflineProtocolModule.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/offlineprotocol/OfflineProtocolPackage.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/offlineprotocol/TransportException$AlreadyRunning.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/offlineprotocol/TransportException$InvalidState.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/offlineprotocol/TransportException$NotAvailable.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/offlineprotocol/TransportException$NotRunning.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/offlineprotocol/TransportException$PermissionDenied.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/offlineprotocol/TransportException$PlatformError.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/offlineprotocol/TransportException$StartFailed.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/offlineprotocol/TransportException.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/offlineprotocol/TransportManager$DefaultImpls.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/offlineprotocol/TransportManager.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/offlineprotocol/TransportManagerListener.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/offlineprotocol/TransportState.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/offlineprotocol/WifiDirectManager$Companion.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/offlineprotocol/WifiDirectManager$messagePollingRunnable$1.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/offlineprotocol/WifiDirectManager$p2pReceiver$1.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/offlineprotocol/WifiDirectManager$startPeerDiscovery$1.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/offlineprotocol/WifiDirectManager$stopPeerDiscovery$1.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/offlineprotocol/WifiDirectManager.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/offlineprotocol/ble/MeshConnectionRegistry.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/offlineprotocol/mesh/MeshAdvertisementData$Companion.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/offlineprotocol/mesh/MeshAdvertisementData.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/offlineprotocol/mesh/MeshController$Companion.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/offlineprotocol/mesh/MeshController$ConnectionIntent.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/offlineprotocol/mesh/MeshController$MeshConfig.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/offlineprotocol/mesh/MeshController$MeshDecision.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/offlineprotocol/mesh/MeshController$MeshRole.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/offlineprotocol/mesh/MeshController$PeerMetrics.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/offlineprotocol/mesh/MeshController$PeerState.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/offlineprotocol/mesh/MeshController$RebalanceDirective.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/offlineprotocol/mesh/MeshController$RemoteCandidate.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/offlineprotocol/mesh/MeshController$ScoreWeights.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/offlineprotocol/mesh/MeshController$pruneCandidateCache$$inlined$sortedBy$1.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/offlineprotocol/mesh/MeshController$prunePeerCache$$inlined$sortBy$1.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/offlineprotocol/mesh/MeshController$prunePeerCache$$inlined$sortBy$2.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/offlineprotocol/mesh/MeshController.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/offline_protocol/AckConfig$Companion.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/offline_protocol/AckConfig.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/offline_protocol/BleFragment$Companion.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/offline_protocol/BleFragment.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/offline_protocol/DedupConfig$Companion.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/offline_protocol/DedupConfig.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/offline_protocol/DedupStats$Companion.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/offline_protocol/DedupStats.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/offline_protocol/Disposable$Companion.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/offline_protocol/Disposable.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/offline_protocol/DorsConfig$Companion.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/offline_protocol/DorsConfig.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/offline_protocol/EventCallback$Companion.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/offline_protocol/EventCallback.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/offline_protocol/FfiConverter$DefaultImpls.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/offline_protocol/FfiConverter.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/offline_protocol/FfiConverterBoolean.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/offline_protocol/FfiConverterCallbackInterface.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/offline_protocol/FfiConverterFloat.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/offline_protocol/FfiConverterOptionalShort.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/offline_protocol/FfiConverterOptionalString.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/offline_protocol/FfiConverterOptionalTypeBleFragment.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/offline_protocol/FfiConverterOptionalTypeFileProgress.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/offline_protocol/FfiConverterOptionalTypeInternetMessage.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/offline_protocol/FfiConverterOptionalTypeRouteEntry.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/offline_protocol/FfiConverterOptionalTypeTransportMetrics.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/offline_protocol/FfiConverterOptionalTypeWifiDirectMessage.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/offline_protocol/FfiConverterOptionalUByte.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/offline_protocol/FfiConverterOptionalULong.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/offline_protocol/FfiConverterRustBuffer$DefaultImpls.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/offline_protocol/FfiConverterRustBuffer.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/offline_protocol/FfiConverterSequenceString.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/offline_protocol/FfiConverterSequenceTypeMessageStats.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/offline_protocol/FfiConverterSequenceTypeNetworkLink.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/offline_protocol/FfiConverterSequenceTypeNetworkNode.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/offline_protocol/FfiConverterSequenceTypeRouteEntry.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/offline_protocol/FfiConverterSequenceUByte.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/offline_protocol/FfiConverterShort.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/offline_protocol/FfiConverterString.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/offline_protocol/FfiConverterTypeAckConfig.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/offline_protocol/FfiConverterTypeBleFragment.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/offline_protocol/FfiConverterTypeDedupConfig.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/offline_protocol/FfiConverterTypeDedupStats.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/offline_protocol/FfiConverterTypeDorsConfig.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/offline_protocol/FfiConverterTypeEventCallback.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/offline_protocol/FfiConverterTypeFileProgress.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/offline_protocol/FfiConverterTypeGradientRoutingConfig.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/offline_protocol/FfiConverterTypeInternetMessage.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/offline_protocol/FfiConverterTypeMessagePriority.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/offline_protocol/FfiConverterTypeMessageStats.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/offline_protocol/FfiConverterTypeNetworkLink.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/offline_protocol/FfiConverterTypeNetworkNode.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/offline_protocol/FfiConverterTypeNetworkTopology.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/offline_protocol/FfiConverterTypeOfflineProtocol.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/offline_protocol/FfiConverterTypePathConfig.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/offline_protocol/FfiConverterTypePeerDevice.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/offline_protocol/FfiConverterTypeProtocolConfig.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/offline_protocol/FfiConverterTypeProtocolConfigExtended.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/offline_protocol/FfiConverterTypeProtocolError.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/offline_protocol/FfiConverterTypeProtocolState.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/offline_protocol/FfiConverterTypeRelayConfig.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/offline_protocol/FfiConverterTypeRelayPriority.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/offline_protocol/FfiConverterTypeReliabilityConfig.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/offline_protocol/FfiConverterTypeRetryConfig.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/offline_protocol/FfiConverterTypeRouteEntry.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/offline_protocol/FfiConverterTypeRoutingStats.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/offline_protocol/FfiConverterTypeTransportConfig.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/offline_protocol/FfiConverterTypeTransportMetrics.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/offline_protocol/FfiConverterTypeTransportType.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/offline_protocol/FfiConverterTypeWifiDirectMessage.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/offline_protocol/FfiConverterUByte.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/offline_protocol/FfiConverterUInt.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/offline_protocol/FfiConverterULong.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/offline_protocol/FfiConverterUShort.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/offline_protocol/FileProgress$Companion.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/offline_protocol/FileProgress.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/offline_protocol/ForeignBytes$ByValue.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/offline_protocol/ForeignBytes.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/offline_protocol/GradientRoutingConfig$Companion.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/offline_protocol/GradientRoutingConfig.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/offline_protocol/IntegrityCheckingUniffiLib.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/offline_protocol/InternalException.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/offline_protocol/InternetMessage$Companion.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/offline_protocol/InternetMessage.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/offline_protocol/JavaLangRefCleanable.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/offline_protocol/JavaLangRefCleaner.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/offline_protocol/MessagePriority$Companion.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/offline_protocol/MessagePriority.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/offline_protocol/MessageStats$Companion.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/offline_protocol/MessageStats.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/offline_protocol/NetworkLink$Companion.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/offline_protocol/NetworkLink.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/offline_protocol/NetworkNode$Companion.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/offline_protocol/NetworkNode.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/offline_protocol/NetworkTopology$Companion.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/offline_protocol/NetworkTopology.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/offline_protocol/NoHandle.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/offline_protocol/OfflineProtocol$Companion.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/offline_protocol/OfflineProtocol$UniffiCleanAction.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/offline_protocol/OfflineProtocol.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/offline_protocol/OfflineProtocolInterface$Companion.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/offline_protocol/OfflineProtocolInterface.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/offline_protocol/Offline_protocolKt.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/offline_protocol/PathConfig$Companion.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/offline_protocol/PathConfig.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/offline_protocol/PeerDevice$Companion.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/offline_protocol/PeerDevice.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/offline_protocol/ProtocolConfig$Companion.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/offline_protocol/ProtocolConfig.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/offline_protocol/ProtocolConfigExtended$Companion.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/offline_protocol/ProtocolConfigExtended.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/offline_protocol/ProtocolException$AlreadyStarted.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/offline_protocol/ProtocolException$ErrorHandler.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/offline_protocol/ProtocolException$InvalidConfiguration.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/offline_protocol/ProtocolException$InvalidState.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/offline_protocol/ProtocolException$NotStarted.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/offline_protocol/ProtocolException$Other.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/offline_protocol/ProtocolException$SendFailed.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/offline_protocol/ProtocolException.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/offline_protocol/ProtocolState$Companion.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/offline_protocol/ProtocolState.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/offline_protocol/RelayConfig$Companion.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/offline_protocol/RelayConfig.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/offline_protocol/RelayPriority$Companion.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/offline_protocol/RelayPriority.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/offline_protocol/ReliabilityConfig$Companion.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/offline_protocol/ReliabilityConfig.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/offline_protocol/RetryConfig$Companion.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/offline_protocol/RetryConfig.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/offline_protocol/RouteEntry$Companion.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/offline_protocol/RouteEntry.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/offline_protocol/RoutingStats$Companion.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/offline_protocol/RoutingStats.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/offline_protocol/RustBuffer$ByReference.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/offline_protocol/RustBuffer$ByValue.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/offline_protocol/RustBuffer$Companion.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/offline_protocol/RustBuffer.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/offline_protocol/TransportConfig$Companion.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/offline_protocol/TransportConfig.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/offline_protocol/TransportMetrics$Companion.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/offline_protocol/TransportMetrics.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/offline_protocol/TransportType$Companion.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/offline_protocol/TransportType.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/offline_protocol/UniffiCallbackInterfaceClone.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/offline_protocol/UniffiCallbackInterfaceEventCallbackMethod0.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/offline_protocol/UniffiCallbackInterfaceFree.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/offline_protocol/UniffiCleaner$Cleanable.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/offline_protocol/UniffiCleaner$Companion.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/offline_protocol/UniffiCleaner.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/offline_protocol/UniffiForeignFutureCompleteF32.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/offline_protocol/UniffiForeignFutureCompleteF64.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/offline_protocol/UniffiForeignFutureCompleteI16.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/offline_protocol/UniffiForeignFutureCompleteI32.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/offline_protocol/UniffiForeignFutureCompleteI64.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/offline_protocol/UniffiForeignFutureCompleteI8.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/offline_protocol/UniffiForeignFutureCompleteRustBuffer.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/offline_protocol/UniffiForeignFutureCompleteU16.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/offline_protocol/UniffiForeignFutureCompleteU32.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/offline_protocol/UniffiForeignFutureCompleteU64.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/offline_protocol/UniffiForeignFutureCompleteU8.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/offline_protocol/UniffiForeignFutureCompleteVoid.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/offline_protocol/UniffiForeignFutureDroppedCallback.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/offline_protocol/UniffiForeignFutureDroppedCallbackStruct$UniffiByValue.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/offline_protocol/UniffiForeignFutureDroppedCallbackStruct.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/offline_protocol/UniffiForeignFutureResultF32$UniffiByValue.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/offline_protocol/UniffiForeignFutureResultF32.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/offline_protocol/UniffiForeignFutureResultF64$UniffiByValue.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/offline_protocol/UniffiForeignFutureResultF64.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/offline_protocol/UniffiForeignFutureResultI16$UniffiByValue.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/offline_protocol/UniffiForeignFutureResultI16.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/offline_protocol/UniffiForeignFutureResultI32$UniffiByValue.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/offline_protocol/UniffiForeignFutureResultI32.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/offline_protocol/UniffiForeignFutureResultI64$UniffiByValue.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/offline_protocol/UniffiForeignFutureResultI64.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/offline_protocol/UniffiForeignFutureResultI8$UniffiByValue.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/offline_protocol/UniffiForeignFutureResultI8.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/offline_protocol/UniffiForeignFutureResultRustBuffer$UniffiByValue.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/offline_protocol/UniffiForeignFutureResultRustBuffer.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/offline_protocol/UniffiForeignFutureResultU16$UniffiByValue.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/offline_protocol/UniffiForeignFutureResultU16.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/offline_protocol/UniffiForeignFutureResultU32$UniffiByValue.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/offline_protocol/UniffiForeignFutureResultU32.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/offline_protocol/UniffiForeignFutureResultU64$UniffiByValue.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/offline_protocol/UniffiForeignFutureResultU64.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/offline_protocol/UniffiForeignFutureResultU8$UniffiByValue.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/offline_protocol/UniffiForeignFutureResultU8.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/offline_protocol/UniffiForeignFutureResultVoid$UniffiByValue.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/offline_protocol/UniffiForeignFutureResultVoid.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/offline_protocol/UniffiHandleMap.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/offline_protocol/UniffiJnaCleanable.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/offline_protocol/UniffiJnaCleaner.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/offline_protocol/UniffiLib.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/offline_protocol/UniffiNullRustCallStatusErrorHandler.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/offline_protocol/UniffiRustCallStatus$ByValue.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/offline_protocol/UniffiRustCallStatus$Companion.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/offline_protocol/UniffiRustCallStatus.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/offline_protocol/UniffiRustCallStatusErrorHandler.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/offline_protocol/UniffiRustFutureContinuationCallback.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/offline_protocol/UniffiVTableCallbackInterfaceEventCallback$UniffiByValue.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/offline_protocol/UniffiVTableCallbackInterfaceEventCallback.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/offline_protocol/UniffiWithHandle.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/offline_protocol/WifiDirectMessage$Companion.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/offline_protocol/WifiDirectMessage.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/offline_protocol/uniffiCallbackInterfaceEventCallback$onEvent.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/offline_protocol/uniffiCallbackInterfaceEventCallback$uniffiClone.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/offline_protocol/uniffiCallbackInterfaceEventCallback$uniffiFree.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/uniffi/offline_protocol/uniffiCallbackInterfaceEventCallback.class +0 -0
- package/android/build/intermediates/runtime_library_classes_jar/debug/bundleLibRuntimeToJarDebug/classes.jar +0 -0
- package/android/build/intermediates/symbol_list_with_package_name/debug/generateDebugRFile/package-aware-r.txt +1 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/inputs/source-to-output.tab +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/inputs/source-to-output.tab.keystream +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/inputs/source-to-output.tab.keystream.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/inputs/source-to-output.tab.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/inputs/source-to-output.tab.values +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/inputs/source-to-output.tab.values.at +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/inputs/source-to-output.tab.values.s +1 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/inputs/source-to-output.tab_i +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/inputs/source-to-output.tab_i.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab.keystream +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab.keystream.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab.values.at +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab_i +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab_i.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab.keystream +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab.keystream.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab.values +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab.values.at +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab.values.s +1 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab_i +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab_i.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/constants.tab +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/constants.tab.keystream +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/constants.tab.keystream.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/constants.tab.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/constants.tab.values.at +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/constants.tab_i +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/constants.tab_i.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/inline-functions.tab +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/inline-functions.tab.keystream +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/inline-functions.tab.keystream.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/inline-functions.tab.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/inline-functions.tab.values.at +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/inline-functions.tab_i +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/inline-functions.tab_i.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab.keystream +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab.keystream.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab.values +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab.values.at +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab.values.s +1 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab_i +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab_i.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/package-parts.tab +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/package-parts.tab.keystream +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/package-parts.tab.keystream.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/package-parts.tab.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/package-parts.tab.values.at +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/package-parts.tab_i +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/package-parts.tab_i.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab.keystream +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab.keystream.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab.values +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab.values.at +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab.values.s +1 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab_i +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab_i.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/source-to-classes.tab +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/source-to-classes.tab.keystream +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/source-to-classes.tab.keystream.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/source-to-classes.tab.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/source-to-classes.tab.values.at +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/source-to-classes.tab_i +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/source-to-classes.tab_i.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/subtypes.tab +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/subtypes.tab.keystream +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/subtypes.tab.keystream.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/subtypes.tab.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/subtypes.tab.values.at +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/subtypes.tab_i +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/subtypes.tab_i.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/supertypes.tab +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/supertypes.tab.keystream +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/supertypes.tab.keystream.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/supertypes.tab.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/supertypes.tab.values.at +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/supertypes.tab_i +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/supertypes.tab_i.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/counters.tab +2 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/file-to-id.tab +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/file-to-id.tab.keystream +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/file-to-id.tab.keystream.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/file-to-id.tab.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/file-to-id.tab.values.at +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/file-to-id.tab_i +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/file-to-id.tab_i.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/id-to-file.tab +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/id-to-file.tab.keystream +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/id-to-file.tab.keystream.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/id-to-file.tab.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/id-to-file.tab.values.at +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/id-to-file.tab_i +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/id-to-file.tab_i.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/lookups.tab +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/lookups.tab.keystream +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/lookups.tab.keystream.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/lookups.tab.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/lookups.tab.values +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/lookups.tab.values.at +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/lookups.tab.values.s +1 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/lookups.tab_i +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/lookups.tab_i.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/last-build.bin +0 -0
- package/android/build/kotlin/compileDebugKotlin/classpath-snapshot/shrunk-classpath-snapshot.bin +0 -0
- package/android/build/kotlin/compileDebugKotlin/local-state/build-history.bin +0 -0
- package/android/build/outputs/logs/manifest-merger-debug-report.txt +48 -0
- package/android/build/tmp/compileDebugJavaWithJavac/previous-compilation-data.bin +0 -0
- package/android/build/tmp/kotlin-classes/debug/META-INF/offlineprotocol_react-native_debug.kotlin_module +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/offlineprotocol/BleManager$Companion.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/offlineprotocol/BleManager$MeshObservation.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/offlineprotocol/BleManager$PendingFragment.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/offlineprotocol/BleManager$WhenMappings.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/offlineprotocol/BleManager$fragmentPollingRunnable$1.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/offlineprotocol/BleManager$gattClientCallback$1.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/offlineprotocol/BleManager$gattServerCallback$1$WhenMappings.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/offlineprotocol/BleManager$gattServerCallback$1.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/offlineprotocol/BleManager$resolveTargetAddress$$inlined$sortedBy$1.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/offlineprotocol/BleManager$routingCleanupRunnable$1.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/offlineprotocol/BleManager$scanWatchdogRunnable$1.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/offlineprotocol/BleManager$startAdvertising$1.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/offlineprotocol/BleManager$startScanning$1.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/offlineprotocol/BleManager.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/offlineprotocol/InternetManager$Companion.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/offlineprotocol/InternetManager$messagePollingRunnable$1.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/offlineprotocol/InternetManager$pingRunnable$1.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/offlineprotocol/InternetManager$webSocketListener$1.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/offlineprotocol/InternetManager.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/offlineprotocol/LogThrottler.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/offlineprotocol/OfflineProtocolModule$Companion.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/offlineprotocol/OfflineProtocolModule$Constants.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/offlineprotocol/OfflineProtocolModule$ParsedConfig.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/offlineprotocol/OfflineProtocolModule$WhenMappings.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/offlineprotocol/OfflineProtocolModule$create$1.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/offlineprotocol/OfflineProtocolModule$create$3$1.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/offlineprotocol/OfflineProtocolModule$create$5$1.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/offlineprotocol/OfflineProtocolModule.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/offlineprotocol/OfflineProtocolPackage.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/offlineprotocol/TransportException$AlreadyRunning.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/offlineprotocol/TransportException$InvalidState.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/offlineprotocol/TransportException$NotAvailable.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/offlineprotocol/TransportException$NotRunning.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/offlineprotocol/TransportException$PermissionDenied.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/offlineprotocol/TransportException$PlatformError.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/offlineprotocol/TransportException$StartFailed.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/offlineprotocol/TransportException.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/offlineprotocol/TransportManager$DefaultImpls.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/offlineprotocol/TransportManager.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/offlineprotocol/TransportManagerListener.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/offlineprotocol/TransportState.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/offlineprotocol/WifiDirectManager$Companion.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/offlineprotocol/WifiDirectManager$messagePollingRunnable$1.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/offlineprotocol/WifiDirectManager$p2pReceiver$1.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/offlineprotocol/WifiDirectManager$startPeerDiscovery$1.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/offlineprotocol/WifiDirectManager$stopPeerDiscovery$1.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/offlineprotocol/WifiDirectManager.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/offlineprotocol/ble/MeshConnectionRegistry.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/offlineprotocol/mesh/MeshAdvertisementData$Companion.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/offlineprotocol/mesh/MeshAdvertisementData.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/offlineprotocol/mesh/MeshController$Companion.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/offlineprotocol/mesh/MeshController$ConnectionIntent.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/offlineprotocol/mesh/MeshController$MeshConfig.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/offlineprotocol/mesh/MeshController$MeshDecision.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/offlineprotocol/mesh/MeshController$MeshRole.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/offlineprotocol/mesh/MeshController$PeerMetrics.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/offlineprotocol/mesh/MeshController$PeerState.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/offlineprotocol/mesh/MeshController$RebalanceDirective.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/offlineprotocol/mesh/MeshController$RemoteCandidate.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/offlineprotocol/mesh/MeshController$ScoreWeights.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/offlineprotocol/mesh/MeshController$pruneCandidateCache$$inlined$sortedBy$1.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/offlineprotocol/mesh/MeshController$prunePeerCache$$inlined$sortBy$1.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/offlineprotocol/mesh/MeshController$prunePeerCache$$inlined$sortBy$2.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/offlineprotocol/mesh/MeshController.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/uniffi/offline_protocol/AckConfig$Companion.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/uniffi/offline_protocol/AckConfig.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/uniffi/offline_protocol/BleFragment$Companion.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/uniffi/offline_protocol/BleFragment.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/uniffi/offline_protocol/DedupConfig$Companion.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/uniffi/offline_protocol/DedupConfig.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/uniffi/offline_protocol/DedupStats$Companion.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/uniffi/offline_protocol/DedupStats.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/uniffi/offline_protocol/Disposable$Companion.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/uniffi/offline_protocol/Disposable.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/uniffi/offline_protocol/DorsConfig$Companion.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/uniffi/offline_protocol/DorsConfig.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/uniffi/offline_protocol/EventCallback$Companion.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/uniffi/offline_protocol/EventCallback.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/uniffi/offline_protocol/FfiConverter$DefaultImpls.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/uniffi/offline_protocol/FfiConverter.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/uniffi/offline_protocol/FfiConverterBoolean.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/uniffi/offline_protocol/FfiConverterCallbackInterface.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/uniffi/offline_protocol/FfiConverterFloat.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/uniffi/offline_protocol/FfiConverterOptionalShort.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/uniffi/offline_protocol/FfiConverterOptionalString.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/uniffi/offline_protocol/FfiConverterOptionalTypeBleFragment.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/uniffi/offline_protocol/FfiConverterOptionalTypeFileProgress.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/uniffi/offline_protocol/FfiConverterOptionalTypeInternetMessage.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/uniffi/offline_protocol/FfiConverterOptionalTypeRouteEntry.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/uniffi/offline_protocol/FfiConverterOptionalTypeTransportMetrics.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/uniffi/offline_protocol/FfiConverterOptionalTypeWifiDirectMessage.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/uniffi/offline_protocol/FfiConverterOptionalUByte.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/uniffi/offline_protocol/FfiConverterOptionalULong.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/uniffi/offline_protocol/FfiConverterRustBuffer$DefaultImpls.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/uniffi/offline_protocol/FfiConverterRustBuffer.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/uniffi/offline_protocol/FfiConverterSequenceString.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/uniffi/offline_protocol/FfiConverterSequenceTypeMessageStats.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/uniffi/offline_protocol/FfiConverterSequenceTypeNetworkLink.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/uniffi/offline_protocol/FfiConverterSequenceTypeNetworkNode.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/uniffi/offline_protocol/FfiConverterSequenceTypeRouteEntry.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/uniffi/offline_protocol/FfiConverterSequenceUByte.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/uniffi/offline_protocol/FfiConverterShort.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/uniffi/offline_protocol/FfiConverterString.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/uniffi/offline_protocol/FfiConverterTypeAckConfig.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/uniffi/offline_protocol/FfiConverterTypeBleFragment.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/uniffi/offline_protocol/FfiConverterTypeDedupConfig.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/uniffi/offline_protocol/FfiConverterTypeDedupStats.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/uniffi/offline_protocol/FfiConverterTypeDorsConfig.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/uniffi/offline_protocol/FfiConverterTypeEventCallback.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/uniffi/offline_protocol/FfiConverterTypeFileProgress.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/uniffi/offline_protocol/FfiConverterTypeGradientRoutingConfig.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/uniffi/offline_protocol/FfiConverterTypeInternetMessage.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/uniffi/offline_protocol/FfiConverterTypeMessagePriority.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/uniffi/offline_protocol/FfiConverterTypeMessageStats.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/uniffi/offline_protocol/FfiConverterTypeNetworkLink.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/uniffi/offline_protocol/FfiConverterTypeNetworkNode.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/uniffi/offline_protocol/FfiConverterTypeNetworkTopology.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/uniffi/offline_protocol/FfiConverterTypeOfflineProtocol.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/uniffi/offline_protocol/FfiConverterTypePathConfig.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/uniffi/offline_protocol/FfiConverterTypePeerDevice.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/uniffi/offline_protocol/FfiConverterTypeProtocolConfig.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/uniffi/offline_protocol/FfiConverterTypeProtocolConfigExtended.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/uniffi/offline_protocol/FfiConverterTypeProtocolError.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/uniffi/offline_protocol/FfiConverterTypeProtocolState.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/uniffi/offline_protocol/FfiConverterTypeRelayConfig.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/uniffi/offline_protocol/FfiConverterTypeRelayPriority.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/uniffi/offline_protocol/FfiConverterTypeReliabilityConfig.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/uniffi/offline_protocol/FfiConverterTypeRetryConfig.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/uniffi/offline_protocol/FfiConverterTypeRouteEntry.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/uniffi/offline_protocol/FfiConverterTypeRoutingStats.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/uniffi/offline_protocol/FfiConverterTypeTransportConfig.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/uniffi/offline_protocol/FfiConverterTypeTransportMetrics.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/uniffi/offline_protocol/FfiConverterTypeTransportType.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/uniffi/offline_protocol/FfiConverterTypeWifiDirectMessage.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/uniffi/offline_protocol/FfiConverterUByte.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/uniffi/offline_protocol/FfiConverterUInt.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/uniffi/offline_protocol/FfiConverterULong.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/uniffi/offline_protocol/FfiConverterUShort.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/uniffi/offline_protocol/FileProgress$Companion.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/uniffi/offline_protocol/FileProgress.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/uniffi/offline_protocol/ForeignBytes$ByValue.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/uniffi/offline_protocol/ForeignBytes.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/uniffi/offline_protocol/GradientRoutingConfig$Companion.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/uniffi/offline_protocol/GradientRoutingConfig.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/uniffi/offline_protocol/IntegrityCheckingUniffiLib.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/uniffi/offline_protocol/InternalException.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/uniffi/offline_protocol/InternetMessage$Companion.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/uniffi/offline_protocol/InternetMessage.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/uniffi/offline_protocol/JavaLangRefCleanable.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/uniffi/offline_protocol/JavaLangRefCleaner.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/uniffi/offline_protocol/MessagePriority$Companion.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/uniffi/offline_protocol/MessagePriority.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/uniffi/offline_protocol/MessageStats$Companion.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/uniffi/offline_protocol/MessageStats.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/uniffi/offline_protocol/NetworkLink$Companion.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/uniffi/offline_protocol/NetworkLink.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/uniffi/offline_protocol/NetworkNode$Companion.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/uniffi/offline_protocol/NetworkNode.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/uniffi/offline_protocol/NetworkTopology$Companion.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/uniffi/offline_protocol/NetworkTopology.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/uniffi/offline_protocol/NoHandle.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/uniffi/offline_protocol/OfflineProtocol$Companion.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/uniffi/offline_protocol/OfflineProtocol$UniffiCleanAction.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/uniffi/offline_protocol/OfflineProtocol.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/uniffi/offline_protocol/OfflineProtocolInterface$Companion.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/uniffi/offline_protocol/OfflineProtocolInterface.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/uniffi/offline_protocol/Offline_protocolKt.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/uniffi/offline_protocol/PathConfig$Companion.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/uniffi/offline_protocol/PathConfig.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/uniffi/offline_protocol/PeerDevice$Companion.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/uniffi/offline_protocol/PeerDevice.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/uniffi/offline_protocol/ProtocolConfig$Companion.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/uniffi/offline_protocol/ProtocolConfig.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/uniffi/offline_protocol/ProtocolConfigExtended$Companion.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/uniffi/offline_protocol/ProtocolConfigExtended.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/uniffi/offline_protocol/ProtocolException$AlreadyStarted.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/uniffi/offline_protocol/ProtocolException$ErrorHandler.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/uniffi/offline_protocol/ProtocolException$InvalidConfiguration.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/uniffi/offline_protocol/ProtocolException$InvalidState.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/uniffi/offline_protocol/ProtocolException$NotStarted.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/uniffi/offline_protocol/ProtocolException$Other.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/uniffi/offline_protocol/ProtocolException$SendFailed.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/uniffi/offline_protocol/ProtocolException.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/uniffi/offline_protocol/ProtocolState$Companion.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/uniffi/offline_protocol/ProtocolState.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/uniffi/offline_protocol/RelayConfig$Companion.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/uniffi/offline_protocol/RelayConfig.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/uniffi/offline_protocol/RelayPriority$Companion.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/uniffi/offline_protocol/RelayPriority.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/uniffi/offline_protocol/ReliabilityConfig$Companion.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/uniffi/offline_protocol/ReliabilityConfig.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/uniffi/offline_protocol/RetryConfig$Companion.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/uniffi/offline_protocol/RetryConfig.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/uniffi/offline_protocol/RouteEntry$Companion.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/uniffi/offline_protocol/RouteEntry.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/uniffi/offline_protocol/RoutingStats$Companion.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/uniffi/offline_protocol/RoutingStats.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/uniffi/offline_protocol/RustBuffer$ByReference.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/uniffi/offline_protocol/RustBuffer$ByValue.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/uniffi/offline_protocol/RustBuffer$Companion.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/uniffi/offline_protocol/RustBuffer.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/uniffi/offline_protocol/TransportConfig$Companion.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/uniffi/offline_protocol/TransportConfig.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/uniffi/offline_protocol/TransportMetrics$Companion.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/uniffi/offline_protocol/TransportMetrics.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/uniffi/offline_protocol/TransportType$Companion.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/uniffi/offline_protocol/TransportType.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/uniffi/offline_protocol/UniffiCallbackInterfaceClone.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/uniffi/offline_protocol/UniffiCallbackInterfaceEventCallbackMethod0.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/uniffi/offline_protocol/UniffiCallbackInterfaceFree.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/uniffi/offline_protocol/UniffiCleaner$Cleanable.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/uniffi/offline_protocol/UniffiCleaner$Companion.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/uniffi/offline_protocol/UniffiCleaner.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/uniffi/offline_protocol/UniffiForeignFutureCompleteF32.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/uniffi/offline_protocol/UniffiForeignFutureCompleteF64.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/uniffi/offline_protocol/UniffiForeignFutureCompleteI16.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/uniffi/offline_protocol/UniffiForeignFutureCompleteI32.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/uniffi/offline_protocol/UniffiForeignFutureCompleteI64.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/uniffi/offline_protocol/UniffiForeignFutureCompleteI8.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/uniffi/offline_protocol/UniffiForeignFutureCompleteRustBuffer.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/uniffi/offline_protocol/UniffiForeignFutureCompleteU16.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/uniffi/offline_protocol/UniffiForeignFutureCompleteU32.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/uniffi/offline_protocol/UniffiForeignFutureCompleteU64.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/uniffi/offline_protocol/UniffiForeignFutureCompleteU8.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/uniffi/offline_protocol/UniffiForeignFutureCompleteVoid.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/uniffi/offline_protocol/UniffiForeignFutureDroppedCallback.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/uniffi/offline_protocol/UniffiForeignFutureDroppedCallbackStruct$UniffiByValue.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/uniffi/offline_protocol/UniffiForeignFutureDroppedCallbackStruct.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/uniffi/offline_protocol/UniffiForeignFutureResultF32$UniffiByValue.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/uniffi/offline_protocol/UniffiForeignFutureResultF32.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/uniffi/offline_protocol/UniffiForeignFutureResultF64$UniffiByValue.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/uniffi/offline_protocol/UniffiForeignFutureResultF64.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/uniffi/offline_protocol/UniffiForeignFutureResultI16$UniffiByValue.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/uniffi/offline_protocol/UniffiForeignFutureResultI16.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/uniffi/offline_protocol/UniffiForeignFutureResultI32$UniffiByValue.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/uniffi/offline_protocol/UniffiForeignFutureResultI32.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/uniffi/offline_protocol/UniffiForeignFutureResultI64$UniffiByValue.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/uniffi/offline_protocol/UniffiForeignFutureResultI64.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/uniffi/offline_protocol/UniffiForeignFutureResultI8$UniffiByValue.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/uniffi/offline_protocol/UniffiForeignFutureResultI8.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/uniffi/offline_protocol/UniffiForeignFutureResultRustBuffer$UniffiByValue.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/uniffi/offline_protocol/UniffiForeignFutureResultRustBuffer.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/uniffi/offline_protocol/UniffiForeignFutureResultU16$UniffiByValue.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/uniffi/offline_protocol/UniffiForeignFutureResultU16.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/uniffi/offline_protocol/UniffiForeignFutureResultU32$UniffiByValue.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/uniffi/offline_protocol/UniffiForeignFutureResultU32.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/uniffi/offline_protocol/UniffiForeignFutureResultU64$UniffiByValue.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/uniffi/offline_protocol/UniffiForeignFutureResultU64.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/uniffi/offline_protocol/UniffiForeignFutureResultU8$UniffiByValue.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/uniffi/offline_protocol/UniffiForeignFutureResultU8.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/uniffi/offline_protocol/UniffiForeignFutureResultVoid$UniffiByValue.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/uniffi/offline_protocol/UniffiForeignFutureResultVoid.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/uniffi/offline_protocol/UniffiHandleMap.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/uniffi/offline_protocol/UniffiJnaCleanable.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/uniffi/offline_protocol/UniffiJnaCleaner.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/uniffi/offline_protocol/UniffiLib.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/uniffi/offline_protocol/UniffiNullRustCallStatusErrorHandler.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/uniffi/offline_protocol/UniffiRustCallStatus$ByValue.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/uniffi/offline_protocol/UniffiRustCallStatus$Companion.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/uniffi/offline_protocol/UniffiRustCallStatus.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/uniffi/offline_protocol/UniffiRustCallStatusErrorHandler.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/uniffi/offline_protocol/UniffiRustFutureContinuationCallback.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/uniffi/offline_protocol/UniffiVTableCallbackInterfaceEventCallback$UniffiByValue.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/uniffi/offline_protocol/UniffiVTableCallbackInterfaceEventCallback.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/uniffi/offline_protocol/UniffiWithHandle.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/uniffi/offline_protocol/WifiDirectMessage$Companion.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/uniffi/offline_protocol/WifiDirectMessage.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/uniffi/offline_protocol/uniffiCallbackInterfaceEventCallback$onEvent.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/uniffi/offline_protocol/uniffiCallbackInterfaceEventCallback$uniffiClone.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/uniffi/offline_protocol/uniffiCallbackInterfaceEventCallback$uniffiFree.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/uniffi/offline_protocol/uniffiCallbackInterfaceEventCallback.class +0 -0
- package/android/build.gradle +78 -0
- package/android/src/main/AndroidManifest.xml +24 -0
- package/android/src/main/cpp/CMakeLists.txt +63 -0
- package/android/src/main/cpp/ble_bridge.cpp +156 -0
- package/android/src/main/cpp/offline_protocol_jni.cpp +840 -0
- package/android/src/main/java/com/offlineprotocol/BleManager.kt +1763 -0
- package/android/src/main/java/com/offlineprotocol/InternetManager.kt +684 -0
- package/android/src/main/java/com/offlineprotocol/OfflineProtocolModule.kt +1806 -0
- package/android/src/main/java/com/offlineprotocol/OfflineProtocolPackage.kt +16 -0
- package/android/src/main/java/com/offlineprotocol/TransportManager.kt +124 -0
- package/android/src/main/java/com/offlineprotocol/WifiDirectManager.kt +647 -0
- package/android/src/main/java/com/offlineprotocol/ble/MeshConnectionRegistry.kt +101 -0
- package/android/src/main/java/com/offlineprotocol/mesh/Mesh.kt +850 -0
- package/android/src/main/java/uniffi/offline_protocol/offline_protocol.kt +4789 -0
- package/android/src/main/jniLibs/arm64-v8a/liboffline_protocol_uniffi.so +0 -0
- package/android/src/main/jniLibs/arm64-v8a/libuniffi_offline_protocol.so +0 -0
- package/android/src/main/jniLibs/armeabi-v7a/liboffline_protocol_uniffi.so +0 -0
- package/android/src/main/jniLibs/armeabi-v7a/libuniffi_offline_protocol.so +0 -0
- package/android/src/main/jniLibs/x86/liboffline_protocol_uniffi.so +0 -0
- package/android/src/main/jniLibs/x86/libuniffi_offline_protocol.so +0 -0
- package/android/src/main/jniLibs/x86_64/liboffline_protocol_uniffi.so +0 -0
- package/android/src/main/jniLibs/x86_64/libuniffi_offline_protocol.so +0 -0
- package/android/src/test/java/com/offlineprotocol/mesh/MeshControllerTest.kt +117 -0
- package/ios/BleManager.swift +1988 -0
- package/ios/Generated/offline_protocol.swift +3995 -0
- package/ios/Generated/offline_protocolFFI.h +1297 -0
- package/ios/Generated/offline_protocolFFI.modulemap +7 -0
- package/ios/InternetManager.swift +678 -0
- package/ios/MeshSdk.podspec +60 -0
- package/ios/OfflineProtocolModule.m +272 -0
- package/ios/OfflineProtocolModule.swift +1939 -0
- package/ios/TransportManager.swift +119 -0
- package/ios/WifiDirectManager.swift +418 -0
- package/ios/ble/MeshConnectionRegistry.swift +174 -0
- package/ios/libs/liboffline_protocol_uniffi_device.a +0 -0
- package/ios/libs/liboffline_protocol_uniffi_sim.a +0 -0
- package/ios/mesh/Mesh.swift +1019 -0
- package/ios/tests/MeshControllerTests.swift +119 -0
- package/lib/constants.d.ts +4 -0
- package/lib/constants.d.ts.map +1 -0
- package/lib/constants.js +9 -0
- package/lib/index.d.ts +141 -0
- package/lib/index.d.ts.map +1 -0
- package/lib/index.js +498 -0
- package/lib/types-uniffi.d.ts +50 -0
- package/lib/types-uniffi.d.ts.map +1 -0
- package/lib/types-uniffi.js +35 -0
- package/lib/types.d.ts +285 -0
- package/lib/types.d.ts.map +1 -0
- package/lib/types.js +21 -0
- package/package.json +63 -0
- package/react-native.config.js +9 -0
- package/scripts/build-all.sh +41 -0
- package/scripts/build-android.sh +110 -0
- package/scripts/build-ios.sh +75 -0
- package/scripts/build-uniffi-all.sh +69 -0
- package/scripts/build-uniffi-android.sh +139 -0
- package/scripts/build-uniffi-ios.sh +96 -0
- package/scripts/generate-bindings.sh +64 -0
- package/scripts/prepare-npm.sh +87 -0
- package/src/constants.ts +25 -0
- package/src/index.ts +1277 -0
- package/src/types-uniffi.ts +124 -0
- package/src/types.ts +613 -0
|
@@ -0,0 +1,4789 @@
|
|
|
1
|
+
// This file was autogenerated by some hot garbage in the `uniffi` crate.
|
|
2
|
+
// Trust me, you don't want to mess with it!
|
|
3
|
+
|
|
4
|
+
@file:Suppress("NAME_SHADOWING")
|
|
5
|
+
|
|
6
|
+
package uniffi.offline_protocol
|
|
7
|
+
|
|
8
|
+
// Common helper code.
|
|
9
|
+
//
|
|
10
|
+
// Ideally this would live in a separate .kt file where it can be unittested etc
|
|
11
|
+
// in isolation, and perhaps even published as a re-useable package.
|
|
12
|
+
//
|
|
13
|
+
// However, it's important that the details of how this helper code works (e.g. the
|
|
14
|
+
// way that different builtin types are passed across the FFI) exactly match what's
|
|
15
|
+
// expected by the Rust code on the other side of the interface. In practice right
|
|
16
|
+
// now that means coming from the exact some version of `uniffi` that was used to
|
|
17
|
+
// compile the Rust component. The easiest way to ensure this is to bundle the Kotlin
|
|
18
|
+
// helpers directly inline like we're doing here.
|
|
19
|
+
|
|
20
|
+
import com.sun.jna.Library
|
|
21
|
+
import com.sun.jna.IntegerType
|
|
22
|
+
import com.sun.jna.Native
|
|
23
|
+
import com.sun.jna.Pointer
|
|
24
|
+
import com.sun.jna.Structure
|
|
25
|
+
import com.sun.jna.Callback
|
|
26
|
+
import com.sun.jna.ptr.*
|
|
27
|
+
import java.nio.ByteBuffer
|
|
28
|
+
import java.nio.ByteOrder
|
|
29
|
+
import java.nio.CharBuffer
|
|
30
|
+
import java.nio.charset.CodingErrorAction
|
|
31
|
+
import java.util.concurrent.atomic.AtomicLong
|
|
32
|
+
import java.util.concurrent.ConcurrentHashMap
|
|
33
|
+
import java.util.concurrent.atomic.AtomicBoolean
|
|
34
|
+
|
|
35
|
+
// This is a helper for safely working with byte buffers returned from the Rust code.
|
|
36
|
+
// A rust-owned buffer is represented by its capacity, its current length, and a
|
|
37
|
+
// pointer to the underlying data.
|
|
38
|
+
|
|
39
|
+
/**
|
|
40
|
+
* @suppress
|
|
41
|
+
*/
|
|
42
|
+
@Structure.FieldOrder("capacity", "len", "data")
|
|
43
|
+
open class RustBuffer : Structure() {
|
|
44
|
+
// Note: `capacity` and `len` are actually `ULong` values, but JVM only supports signed values.
|
|
45
|
+
// When dealing with these fields, make sure to call `toULong()`.
|
|
46
|
+
@JvmField var capacity: Long = 0
|
|
47
|
+
@JvmField var len: Long = 0
|
|
48
|
+
@JvmField var data: Pointer? = null
|
|
49
|
+
|
|
50
|
+
class ByValue: RustBuffer(), Structure.ByValue
|
|
51
|
+
class ByReference: RustBuffer(), Structure.ByReference
|
|
52
|
+
|
|
53
|
+
internal fun setValue(other: RustBuffer) {
|
|
54
|
+
capacity = other.capacity
|
|
55
|
+
len = other.len
|
|
56
|
+
data = other.data
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
companion object {
|
|
60
|
+
internal fun alloc(size: ULong = 0UL) = uniffiRustCall() { status ->
|
|
61
|
+
// Note: need to convert the size to a `Long` value to make this work with JVM.
|
|
62
|
+
UniffiLib.ffi_offline_protocol_uniffi_rustbuffer_alloc(size.toLong(), status)
|
|
63
|
+
}.also {
|
|
64
|
+
if(it.data == null) {
|
|
65
|
+
throw RuntimeException("RustBuffer.alloc() returned null data pointer (size=${size})")
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
internal fun create(capacity: ULong, len: ULong, data: Pointer?): RustBuffer.ByValue {
|
|
70
|
+
var buf = RustBuffer.ByValue()
|
|
71
|
+
buf.capacity = capacity.toLong()
|
|
72
|
+
buf.len = len.toLong()
|
|
73
|
+
buf.data = data
|
|
74
|
+
return buf
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
internal fun free(buf: RustBuffer.ByValue) = uniffiRustCall() { status ->
|
|
78
|
+
UniffiLib.ffi_offline_protocol_uniffi_rustbuffer_free(buf, status)
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
@Suppress("TooGenericExceptionThrown")
|
|
83
|
+
fun asByteBuffer() =
|
|
84
|
+
this.data?.getByteBuffer(0, this.len.toLong())?.also {
|
|
85
|
+
it.order(ByteOrder.BIG_ENDIAN)
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
// This is a helper for safely passing byte references into the rust code.
|
|
90
|
+
// It's not actually used at the moment, because there aren't many things that you
|
|
91
|
+
// can take a direct pointer to in the JVM, and if we're going to copy something
|
|
92
|
+
// then we might as well copy it into a `RustBuffer`. But it's here for API
|
|
93
|
+
// completeness.
|
|
94
|
+
|
|
95
|
+
@Structure.FieldOrder("len", "data")
|
|
96
|
+
internal open class ForeignBytes : Structure() {
|
|
97
|
+
@JvmField var len: Int = 0
|
|
98
|
+
@JvmField var data: Pointer? = null
|
|
99
|
+
|
|
100
|
+
class ByValue : ForeignBytes(), Structure.ByValue
|
|
101
|
+
}
|
|
102
|
+
/**
|
|
103
|
+
* The FfiConverter interface handles converter types to and from the FFI
|
|
104
|
+
*
|
|
105
|
+
* All implementing objects should be public to support external types. When a
|
|
106
|
+
* type is external we need to import it's FfiConverter.
|
|
107
|
+
*
|
|
108
|
+
* @suppress
|
|
109
|
+
*/
|
|
110
|
+
public interface FfiConverter<KotlinType, FfiType> {
|
|
111
|
+
// Convert an FFI type to a Kotlin type
|
|
112
|
+
fun lift(value: FfiType): KotlinType
|
|
113
|
+
|
|
114
|
+
// Convert an Kotlin type to an FFI type
|
|
115
|
+
fun lower(value: KotlinType): FfiType
|
|
116
|
+
|
|
117
|
+
// Read a Kotlin type from a `ByteBuffer`
|
|
118
|
+
fun read(buf: ByteBuffer): KotlinType
|
|
119
|
+
|
|
120
|
+
// Calculate bytes to allocate when creating a `RustBuffer`
|
|
121
|
+
//
|
|
122
|
+
// This must return at least as many bytes as the write() function will
|
|
123
|
+
// write. It can return more bytes than needed, for example when writing
|
|
124
|
+
// Strings we can't know the exact bytes needed until we the UTF-8
|
|
125
|
+
// encoding, so we pessimistically allocate the largest size possible (3
|
|
126
|
+
// bytes per codepoint). Allocating extra bytes is not really a big deal
|
|
127
|
+
// because the `RustBuffer` is short-lived.
|
|
128
|
+
fun allocationSize(value: KotlinType): ULong
|
|
129
|
+
|
|
130
|
+
// Write a Kotlin type to a `ByteBuffer`
|
|
131
|
+
fun write(value: KotlinType, buf: ByteBuffer)
|
|
132
|
+
|
|
133
|
+
// Lower a value into a `RustBuffer`
|
|
134
|
+
//
|
|
135
|
+
// This method lowers a value into a `RustBuffer` rather than the normal
|
|
136
|
+
// FfiType. It's used by the callback interface code. Callback interface
|
|
137
|
+
// returns are always serialized into a `RustBuffer` regardless of their
|
|
138
|
+
// normal FFI type.
|
|
139
|
+
fun lowerIntoRustBuffer(value: KotlinType): RustBuffer.ByValue {
|
|
140
|
+
val rbuf = RustBuffer.alloc(allocationSize(value))
|
|
141
|
+
try {
|
|
142
|
+
val bbuf = rbuf.data!!.getByteBuffer(0, rbuf.capacity).also {
|
|
143
|
+
it.order(ByteOrder.BIG_ENDIAN)
|
|
144
|
+
}
|
|
145
|
+
write(value, bbuf)
|
|
146
|
+
rbuf.writeField("len", bbuf.position().toLong())
|
|
147
|
+
return rbuf
|
|
148
|
+
} catch (e: Throwable) {
|
|
149
|
+
RustBuffer.free(rbuf)
|
|
150
|
+
throw e
|
|
151
|
+
}
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
// Lift a value from a `RustBuffer`.
|
|
155
|
+
//
|
|
156
|
+
// This here mostly because of the symmetry with `lowerIntoRustBuffer()`.
|
|
157
|
+
// It's currently only used by the `FfiConverterRustBuffer` class below.
|
|
158
|
+
fun liftFromRustBuffer(rbuf: RustBuffer.ByValue): KotlinType {
|
|
159
|
+
val byteBuf = rbuf.asByteBuffer()!!
|
|
160
|
+
try {
|
|
161
|
+
val item = read(byteBuf)
|
|
162
|
+
if (byteBuf.hasRemaining()) {
|
|
163
|
+
throw RuntimeException("junk remaining in buffer after lifting, something is very wrong!!")
|
|
164
|
+
}
|
|
165
|
+
return item
|
|
166
|
+
} finally {
|
|
167
|
+
RustBuffer.free(rbuf)
|
|
168
|
+
}
|
|
169
|
+
}
|
|
170
|
+
}
|
|
171
|
+
|
|
172
|
+
/**
|
|
173
|
+
* FfiConverter that uses `RustBuffer` as the FfiType
|
|
174
|
+
*
|
|
175
|
+
* @suppress
|
|
176
|
+
*/
|
|
177
|
+
public interface FfiConverterRustBuffer<KotlinType>: FfiConverter<KotlinType, RustBuffer.ByValue> {
|
|
178
|
+
override fun lift(value: RustBuffer.ByValue) = liftFromRustBuffer(value)
|
|
179
|
+
override fun lower(value: KotlinType) = lowerIntoRustBuffer(value)
|
|
180
|
+
}
|
|
181
|
+
// A handful of classes and functions to support the generated data structures.
|
|
182
|
+
// This would be a good candidate for isolating in its own ffi-support lib.
|
|
183
|
+
|
|
184
|
+
internal const val UNIFFI_CALL_SUCCESS = 0.toByte()
|
|
185
|
+
internal const val UNIFFI_CALL_ERROR = 1.toByte()
|
|
186
|
+
internal const val UNIFFI_CALL_UNEXPECTED_ERROR = 2.toByte()
|
|
187
|
+
|
|
188
|
+
@Structure.FieldOrder("code", "error_buf")
|
|
189
|
+
internal open class UniffiRustCallStatus : Structure() {
|
|
190
|
+
@JvmField var code: Byte = 0
|
|
191
|
+
@JvmField var error_buf: RustBuffer.ByValue = RustBuffer.ByValue()
|
|
192
|
+
|
|
193
|
+
class ByValue: UniffiRustCallStatus(), Structure.ByValue
|
|
194
|
+
|
|
195
|
+
fun isSuccess(): Boolean {
|
|
196
|
+
return code == UNIFFI_CALL_SUCCESS
|
|
197
|
+
}
|
|
198
|
+
|
|
199
|
+
fun isError(): Boolean {
|
|
200
|
+
return code == UNIFFI_CALL_ERROR
|
|
201
|
+
}
|
|
202
|
+
|
|
203
|
+
fun isPanic(): Boolean {
|
|
204
|
+
return code == UNIFFI_CALL_UNEXPECTED_ERROR
|
|
205
|
+
}
|
|
206
|
+
|
|
207
|
+
companion object {
|
|
208
|
+
fun create(code: Byte, errorBuf: RustBuffer.ByValue): UniffiRustCallStatus.ByValue {
|
|
209
|
+
val callStatus = UniffiRustCallStatus.ByValue()
|
|
210
|
+
callStatus.code = code
|
|
211
|
+
callStatus.error_buf = errorBuf
|
|
212
|
+
return callStatus
|
|
213
|
+
}
|
|
214
|
+
}
|
|
215
|
+
}
|
|
216
|
+
|
|
217
|
+
class InternalException(message: String) : kotlin.Exception(message)
|
|
218
|
+
|
|
219
|
+
/**
|
|
220
|
+
* Each top-level error class has a companion object that can lift the error from the call status's rust buffer
|
|
221
|
+
*
|
|
222
|
+
* @suppress
|
|
223
|
+
*/
|
|
224
|
+
interface UniffiRustCallStatusErrorHandler<E> {
|
|
225
|
+
fun lift(error_buf: RustBuffer.ByValue): E;
|
|
226
|
+
}
|
|
227
|
+
|
|
228
|
+
// Helpers for calling Rust
|
|
229
|
+
// In practice we usually need to be synchronized to call this safely, so it doesn't
|
|
230
|
+
// synchronize itself
|
|
231
|
+
|
|
232
|
+
// Call a rust function that returns a Result<>. Pass in the Error class companion that corresponds to the Err
|
|
233
|
+
private inline fun <U, E: kotlin.Exception> uniffiRustCallWithError(errorHandler: UniffiRustCallStatusErrorHandler<E>, callback: (UniffiRustCallStatus) -> U): U {
|
|
234
|
+
var status = UniffiRustCallStatus()
|
|
235
|
+
val return_value = callback(status)
|
|
236
|
+
uniffiCheckCallStatus(errorHandler, status)
|
|
237
|
+
return return_value
|
|
238
|
+
}
|
|
239
|
+
|
|
240
|
+
// Check UniffiRustCallStatus and throw an error if the call wasn't successful
|
|
241
|
+
private fun<E: kotlin.Exception> uniffiCheckCallStatus(errorHandler: UniffiRustCallStatusErrorHandler<E>, status: UniffiRustCallStatus) {
|
|
242
|
+
if (status.isSuccess()) {
|
|
243
|
+
return
|
|
244
|
+
} else if (status.isError()) {
|
|
245
|
+
throw errorHandler.lift(status.error_buf)
|
|
246
|
+
} else if (status.isPanic()) {
|
|
247
|
+
// when the rust code sees a panic, it tries to construct a rustbuffer
|
|
248
|
+
// with the message. but if that code panics, then it just sends back
|
|
249
|
+
// an empty buffer.
|
|
250
|
+
if (status.error_buf.len > 0) {
|
|
251
|
+
throw InternalException(FfiConverterString.lift(status.error_buf))
|
|
252
|
+
} else {
|
|
253
|
+
throw InternalException("Rust panic")
|
|
254
|
+
}
|
|
255
|
+
} else {
|
|
256
|
+
throw InternalException("Unknown rust call status: $status.code")
|
|
257
|
+
}
|
|
258
|
+
}
|
|
259
|
+
|
|
260
|
+
/**
|
|
261
|
+
* UniffiRustCallStatusErrorHandler implementation for times when we don't expect a CALL_ERROR
|
|
262
|
+
*
|
|
263
|
+
* @suppress
|
|
264
|
+
*/
|
|
265
|
+
object UniffiNullRustCallStatusErrorHandler: UniffiRustCallStatusErrorHandler<InternalException> {
|
|
266
|
+
override fun lift(error_buf: RustBuffer.ByValue): InternalException {
|
|
267
|
+
RustBuffer.free(error_buf)
|
|
268
|
+
return InternalException("Unexpected CALL_ERROR")
|
|
269
|
+
}
|
|
270
|
+
}
|
|
271
|
+
|
|
272
|
+
// Call a rust function that returns a plain value
|
|
273
|
+
private inline fun <U> uniffiRustCall(callback: (UniffiRustCallStatus) -> U): U {
|
|
274
|
+
return uniffiRustCallWithError(UniffiNullRustCallStatusErrorHandler, callback)
|
|
275
|
+
}
|
|
276
|
+
|
|
277
|
+
internal inline fun<T> uniffiTraitInterfaceCall(
|
|
278
|
+
callStatus: UniffiRustCallStatus,
|
|
279
|
+
makeCall: () -> T,
|
|
280
|
+
writeReturn: (T) -> Unit,
|
|
281
|
+
) {
|
|
282
|
+
try {
|
|
283
|
+
writeReturn(makeCall())
|
|
284
|
+
} catch(e: kotlin.Exception) {
|
|
285
|
+
callStatus.code = UNIFFI_CALL_UNEXPECTED_ERROR
|
|
286
|
+
callStatus.error_buf = FfiConverterString.lower(e.toString())
|
|
287
|
+
}
|
|
288
|
+
}
|
|
289
|
+
|
|
290
|
+
internal inline fun<T, reified E: Throwable> uniffiTraitInterfaceCallWithError(
|
|
291
|
+
callStatus: UniffiRustCallStatus,
|
|
292
|
+
makeCall: () -> T,
|
|
293
|
+
writeReturn: (T) -> Unit,
|
|
294
|
+
lowerError: (E) -> RustBuffer.ByValue
|
|
295
|
+
) {
|
|
296
|
+
try {
|
|
297
|
+
writeReturn(makeCall())
|
|
298
|
+
} catch(e: kotlin.Exception) {
|
|
299
|
+
if (e is E) {
|
|
300
|
+
callStatus.code = UNIFFI_CALL_ERROR
|
|
301
|
+
callStatus.error_buf = lowerError(e)
|
|
302
|
+
} else {
|
|
303
|
+
callStatus.code = UNIFFI_CALL_UNEXPECTED_ERROR
|
|
304
|
+
callStatus.error_buf = FfiConverterString.lower(e.toString())
|
|
305
|
+
}
|
|
306
|
+
}
|
|
307
|
+
}
|
|
308
|
+
// Initial value and increment amount for handles.
|
|
309
|
+
// These ensure that Kotlin-generated handles always have the lowest bit set
|
|
310
|
+
private const val UNIFFI_HANDLEMAP_INITIAL = 1.toLong()
|
|
311
|
+
private const val UNIFFI_HANDLEMAP_DELTA = 2.toLong()
|
|
312
|
+
|
|
313
|
+
// Map handles to objects
|
|
314
|
+
//
|
|
315
|
+
// This is used pass an opaque 64-bit handle representing a foreign object to the Rust code.
|
|
316
|
+
internal class UniffiHandleMap<T: Any> {
|
|
317
|
+
private val map = ConcurrentHashMap<Long, T>()
|
|
318
|
+
// Start
|
|
319
|
+
private val counter = java.util.concurrent.atomic.AtomicLong(UNIFFI_HANDLEMAP_INITIAL)
|
|
320
|
+
|
|
321
|
+
val size: Int
|
|
322
|
+
get() = map.size
|
|
323
|
+
|
|
324
|
+
// Insert a new object into the handle map and get a handle for it
|
|
325
|
+
fun insert(obj: T): Long {
|
|
326
|
+
val handle = counter.getAndAdd(UNIFFI_HANDLEMAP_DELTA)
|
|
327
|
+
map.put(handle, obj)
|
|
328
|
+
return handle
|
|
329
|
+
}
|
|
330
|
+
|
|
331
|
+
// Clone a handle, creating a new one
|
|
332
|
+
fun clone(handle: Long): Long {
|
|
333
|
+
val obj = map.get(handle) ?: throw InternalException("UniffiHandleMap.clone: Invalid handle")
|
|
334
|
+
return insert(obj)
|
|
335
|
+
}
|
|
336
|
+
|
|
337
|
+
// Get an object from the handle map
|
|
338
|
+
fun get(handle: Long): T {
|
|
339
|
+
return map.get(handle) ?: throw InternalException("UniffiHandleMap.get: Invalid handle")
|
|
340
|
+
}
|
|
341
|
+
|
|
342
|
+
// Remove an entry from the handlemap and get the Kotlin object back
|
|
343
|
+
fun remove(handle: Long): T {
|
|
344
|
+
return map.remove(handle) ?: throw InternalException("UniffiHandleMap: Invalid handle")
|
|
345
|
+
}
|
|
346
|
+
}
|
|
347
|
+
|
|
348
|
+
// Contains loading, initialization code,
|
|
349
|
+
// and the FFI Function declarations in a com.sun.jna.Library.
|
|
350
|
+
@Synchronized
|
|
351
|
+
private fun findLibraryName(componentName: String): String {
|
|
352
|
+
val libOverride = System.getProperty("uniffi.component.$componentName.libraryOverride")
|
|
353
|
+
if (libOverride != null) {
|
|
354
|
+
return libOverride
|
|
355
|
+
}
|
|
356
|
+
return "uniffi_offline_protocol"
|
|
357
|
+
}
|
|
358
|
+
|
|
359
|
+
// Define FFI callback types
|
|
360
|
+
internal interface UniffiRustFutureContinuationCallback : com.sun.jna.Callback {
|
|
361
|
+
fun callback(`data`: Long,`pollResult`: Byte,)
|
|
362
|
+
}
|
|
363
|
+
internal interface UniffiForeignFutureDroppedCallback : com.sun.jna.Callback {
|
|
364
|
+
fun callback(`handle`: Long,)
|
|
365
|
+
}
|
|
366
|
+
internal interface UniffiCallbackInterfaceFree : com.sun.jna.Callback {
|
|
367
|
+
fun callback(`handle`: Long,)
|
|
368
|
+
}
|
|
369
|
+
internal interface UniffiCallbackInterfaceClone : com.sun.jna.Callback {
|
|
370
|
+
fun callback(`handle`: Long,)
|
|
371
|
+
: Long
|
|
372
|
+
}
|
|
373
|
+
@Structure.FieldOrder("handle", "free")
|
|
374
|
+
internal open class UniffiForeignFutureDroppedCallbackStruct(
|
|
375
|
+
@JvmField internal var `handle`: Long = 0.toLong(),
|
|
376
|
+
@JvmField internal var `free`: UniffiForeignFutureDroppedCallback? = null,
|
|
377
|
+
) : Structure() {
|
|
378
|
+
class UniffiByValue(
|
|
379
|
+
`handle`: Long = 0.toLong(),
|
|
380
|
+
`free`: UniffiForeignFutureDroppedCallback? = null,
|
|
381
|
+
): UniffiForeignFutureDroppedCallbackStruct(`handle`,`free`,), Structure.ByValue
|
|
382
|
+
|
|
383
|
+
internal fun uniffiSetValue(other: UniffiForeignFutureDroppedCallbackStruct) {
|
|
384
|
+
`handle` = other.`handle`
|
|
385
|
+
`free` = other.`free`
|
|
386
|
+
}
|
|
387
|
+
|
|
388
|
+
}
|
|
389
|
+
@Structure.FieldOrder("returnValue", "callStatus")
|
|
390
|
+
internal open class UniffiForeignFutureResultU8(
|
|
391
|
+
@JvmField internal var `returnValue`: Byte = 0.toByte(),
|
|
392
|
+
@JvmField internal var `callStatus`: UniffiRustCallStatus.ByValue = UniffiRustCallStatus.ByValue(),
|
|
393
|
+
) : Structure() {
|
|
394
|
+
class UniffiByValue(
|
|
395
|
+
`returnValue`: Byte = 0.toByte(),
|
|
396
|
+
`callStatus`: UniffiRustCallStatus.ByValue = UniffiRustCallStatus.ByValue(),
|
|
397
|
+
): UniffiForeignFutureResultU8(`returnValue`,`callStatus`,), Structure.ByValue
|
|
398
|
+
|
|
399
|
+
internal fun uniffiSetValue(other: UniffiForeignFutureResultU8) {
|
|
400
|
+
`returnValue` = other.`returnValue`
|
|
401
|
+
`callStatus` = other.`callStatus`
|
|
402
|
+
}
|
|
403
|
+
|
|
404
|
+
}
|
|
405
|
+
internal interface UniffiForeignFutureCompleteU8 : com.sun.jna.Callback {
|
|
406
|
+
fun callback(`callbackData`: Long,`result`: UniffiForeignFutureResultU8.UniffiByValue,)
|
|
407
|
+
}
|
|
408
|
+
@Structure.FieldOrder("returnValue", "callStatus")
|
|
409
|
+
internal open class UniffiForeignFutureResultI8(
|
|
410
|
+
@JvmField internal var `returnValue`: Byte = 0.toByte(),
|
|
411
|
+
@JvmField internal var `callStatus`: UniffiRustCallStatus.ByValue = UniffiRustCallStatus.ByValue(),
|
|
412
|
+
) : Structure() {
|
|
413
|
+
class UniffiByValue(
|
|
414
|
+
`returnValue`: Byte = 0.toByte(),
|
|
415
|
+
`callStatus`: UniffiRustCallStatus.ByValue = UniffiRustCallStatus.ByValue(),
|
|
416
|
+
): UniffiForeignFutureResultI8(`returnValue`,`callStatus`,), Structure.ByValue
|
|
417
|
+
|
|
418
|
+
internal fun uniffiSetValue(other: UniffiForeignFutureResultI8) {
|
|
419
|
+
`returnValue` = other.`returnValue`
|
|
420
|
+
`callStatus` = other.`callStatus`
|
|
421
|
+
}
|
|
422
|
+
|
|
423
|
+
}
|
|
424
|
+
internal interface UniffiForeignFutureCompleteI8 : com.sun.jna.Callback {
|
|
425
|
+
fun callback(`callbackData`: Long,`result`: UniffiForeignFutureResultI8.UniffiByValue,)
|
|
426
|
+
}
|
|
427
|
+
@Structure.FieldOrder("returnValue", "callStatus")
|
|
428
|
+
internal open class UniffiForeignFutureResultU16(
|
|
429
|
+
@JvmField internal var `returnValue`: Short = 0.toShort(),
|
|
430
|
+
@JvmField internal var `callStatus`: UniffiRustCallStatus.ByValue = UniffiRustCallStatus.ByValue(),
|
|
431
|
+
) : Structure() {
|
|
432
|
+
class UniffiByValue(
|
|
433
|
+
`returnValue`: Short = 0.toShort(),
|
|
434
|
+
`callStatus`: UniffiRustCallStatus.ByValue = UniffiRustCallStatus.ByValue(),
|
|
435
|
+
): UniffiForeignFutureResultU16(`returnValue`,`callStatus`,), Structure.ByValue
|
|
436
|
+
|
|
437
|
+
internal fun uniffiSetValue(other: UniffiForeignFutureResultU16) {
|
|
438
|
+
`returnValue` = other.`returnValue`
|
|
439
|
+
`callStatus` = other.`callStatus`
|
|
440
|
+
}
|
|
441
|
+
|
|
442
|
+
}
|
|
443
|
+
internal interface UniffiForeignFutureCompleteU16 : com.sun.jna.Callback {
|
|
444
|
+
fun callback(`callbackData`: Long,`result`: UniffiForeignFutureResultU16.UniffiByValue,)
|
|
445
|
+
}
|
|
446
|
+
@Structure.FieldOrder("returnValue", "callStatus")
|
|
447
|
+
internal open class UniffiForeignFutureResultI16(
|
|
448
|
+
@JvmField internal var `returnValue`: Short = 0.toShort(),
|
|
449
|
+
@JvmField internal var `callStatus`: UniffiRustCallStatus.ByValue = UniffiRustCallStatus.ByValue(),
|
|
450
|
+
) : Structure() {
|
|
451
|
+
class UniffiByValue(
|
|
452
|
+
`returnValue`: Short = 0.toShort(),
|
|
453
|
+
`callStatus`: UniffiRustCallStatus.ByValue = UniffiRustCallStatus.ByValue(),
|
|
454
|
+
): UniffiForeignFutureResultI16(`returnValue`,`callStatus`,), Structure.ByValue
|
|
455
|
+
|
|
456
|
+
internal fun uniffiSetValue(other: UniffiForeignFutureResultI16) {
|
|
457
|
+
`returnValue` = other.`returnValue`
|
|
458
|
+
`callStatus` = other.`callStatus`
|
|
459
|
+
}
|
|
460
|
+
|
|
461
|
+
}
|
|
462
|
+
internal interface UniffiForeignFutureCompleteI16 : com.sun.jna.Callback {
|
|
463
|
+
fun callback(`callbackData`: Long,`result`: UniffiForeignFutureResultI16.UniffiByValue,)
|
|
464
|
+
}
|
|
465
|
+
@Structure.FieldOrder("returnValue", "callStatus")
|
|
466
|
+
internal open class UniffiForeignFutureResultU32(
|
|
467
|
+
@JvmField internal var `returnValue`: Int = 0,
|
|
468
|
+
@JvmField internal var `callStatus`: UniffiRustCallStatus.ByValue = UniffiRustCallStatus.ByValue(),
|
|
469
|
+
) : Structure() {
|
|
470
|
+
class UniffiByValue(
|
|
471
|
+
`returnValue`: Int = 0,
|
|
472
|
+
`callStatus`: UniffiRustCallStatus.ByValue = UniffiRustCallStatus.ByValue(),
|
|
473
|
+
): UniffiForeignFutureResultU32(`returnValue`,`callStatus`,), Structure.ByValue
|
|
474
|
+
|
|
475
|
+
internal fun uniffiSetValue(other: UniffiForeignFutureResultU32) {
|
|
476
|
+
`returnValue` = other.`returnValue`
|
|
477
|
+
`callStatus` = other.`callStatus`
|
|
478
|
+
}
|
|
479
|
+
|
|
480
|
+
}
|
|
481
|
+
internal interface UniffiForeignFutureCompleteU32 : com.sun.jna.Callback {
|
|
482
|
+
fun callback(`callbackData`: Long,`result`: UniffiForeignFutureResultU32.UniffiByValue,)
|
|
483
|
+
}
|
|
484
|
+
@Structure.FieldOrder("returnValue", "callStatus")
|
|
485
|
+
internal open class UniffiForeignFutureResultI32(
|
|
486
|
+
@JvmField internal var `returnValue`: Int = 0,
|
|
487
|
+
@JvmField internal var `callStatus`: UniffiRustCallStatus.ByValue = UniffiRustCallStatus.ByValue(),
|
|
488
|
+
) : Structure() {
|
|
489
|
+
class UniffiByValue(
|
|
490
|
+
`returnValue`: Int = 0,
|
|
491
|
+
`callStatus`: UniffiRustCallStatus.ByValue = UniffiRustCallStatus.ByValue(),
|
|
492
|
+
): UniffiForeignFutureResultI32(`returnValue`,`callStatus`,), Structure.ByValue
|
|
493
|
+
|
|
494
|
+
internal fun uniffiSetValue(other: UniffiForeignFutureResultI32) {
|
|
495
|
+
`returnValue` = other.`returnValue`
|
|
496
|
+
`callStatus` = other.`callStatus`
|
|
497
|
+
}
|
|
498
|
+
|
|
499
|
+
}
|
|
500
|
+
internal interface UniffiForeignFutureCompleteI32 : com.sun.jna.Callback {
|
|
501
|
+
fun callback(`callbackData`: Long,`result`: UniffiForeignFutureResultI32.UniffiByValue,)
|
|
502
|
+
}
|
|
503
|
+
@Structure.FieldOrder("returnValue", "callStatus")
|
|
504
|
+
internal open class UniffiForeignFutureResultU64(
|
|
505
|
+
@JvmField internal var `returnValue`: Long = 0.toLong(),
|
|
506
|
+
@JvmField internal var `callStatus`: UniffiRustCallStatus.ByValue = UniffiRustCallStatus.ByValue(),
|
|
507
|
+
) : Structure() {
|
|
508
|
+
class UniffiByValue(
|
|
509
|
+
`returnValue`: Long = 0.toLong(),
|
|
510
|
+
`callStatus`: UniffiRustCallStatus.ByValue = UniffiRustCallStatus.ByValue(),
|
|
511
|
+
): UniffiForeignFutureResultU64(`returnValue`,`callStatus`,), Structure.ByValue
|
|
512
|
+
|
|
513
|
+
internal fun uniffiSetValue(other: UniffiForeignFutureResultU64) {
|
|
514
|
+
`returnValue` = other.`returnValue`
|
|
515
|
+
`callStatus` = other.`callStatus`
|
|
516
|
+
}
|
|
517
|
+
|
|
518
|
+
}
|
|
519
|
+
internal interface UniffiForeignFutureCompleteU64 : com.sun.jna.Callback {
|
|
520
|
+
fun callback(`callbackData`: Long,`result`: UniffiForeignFutureResultU64.UniffiByValue,)
|
|
521
|
+
}
|
|
522
|
+
@Structure.FieldOrder("returnValue", "callStatus")
|
|
523
|
+
internal open class UniffiForeignFutureResultI64(
|
|
524
|
+
@JvmField internal var `returnValue`: Long = 0.toLong(),
|
|
525
|
+
@JvmField internal var `callStatus`: UniffiRustCallStatus.ByValue = UniffiRustCallStatus.ByValue(),
|
|
526
|
+
) : Structure() {
|
|
527
|
+
class UniffiByValue(
|
|
528
|
+
`returnValue`: Long = 0.toLong(),
|
|
529
|
+
`callStatus`: UniffiRustCallStatus.ByValue = UniffiRustCallStatus.ByValue(),
|
|
530
|
+
): UniffiForeignFutureResultI64(`returnValue`,`callStatus`,), Structure.ByValue
|
|
531
|
+
|
|
532
|
+
internal fun uniffiSetValue(other: UniffiForeignFutureResultI64) {
|
|
533
|
+
`returnValue` = other.`returnValue`
|
|
534
|
+
`callStatus` = other.`callStatus`
|
|
535
|
+
}
|
|
536
|
+
|
|
537
|
+
}
|
|
538
|
+
internal interface UniffiForeignFutureCompleteI64 : com.sun.jna.Callback {
|
|
539
|
+
fun callback(`callbackData`: Long,`result`: UniffiForeignFutureResultI64.UniffiByValue,)
|
|
540
|
+
}
|
|
541
|
+
@Structure.FieldOrder("returnValue", "callStatus")
|
|
542
|
+
internal open class UniffiForeignFutureResultF32(
|
|
543
|
+
@JvmField internal var `returnValue`: Float = 0.0f,
|
|
544
|
+
@JvmField internal var `callStatus`: UniffiRustCallStatus.ByValue = UniffiRustCallStatus.ByValue(),
|
|
545
|
+
) : Structure() {
|
|
546
|
+
class UniffiByValue(
|
|
547
|
+
`returnValue`: Float = 0.0f,
|
|
548
|
+
`callStatus`: UniffiRustCallStatus.ByValue = UniffiRustCallStatus.ByValue(),
|
|
549
|
+
): UniffiForeignFutureResultF32(`returnValue`,`callStatus`,), Structure.ByValue
|
|
550
|
+
|
|
551
|
+
internal fun uniffiSetValue(other: UniffiForeignFutureResultF32) {
|
|
552
|
+
`returnValue` = other.`returnValue`
|
|
553
|
+
`callStatus` = other.`callStatus`
|
|
554
|
+
}
|
|
555
|
+
|
|
556
|
+
}
|
|
557
|
+
internal interface UniffiForeignFutureCompleteF32 : com.sun.jna.Callback {
|
|
558
|
+
fun callback(`callbackData`: Long,`result`: UniffiForeignFutureResultF32.UniffiByValue,)
|
|
559
|
+
}
|
|
560
|
+
@Structure.FieldOrder("returnValue", "callStatus")
|
|
561
|
+
internal open class UniffiForeignFutureResultF64(
|
|
562
|
+
@JvmField internal var `returnValue`: Double = 0.0,
|
|
563
|
+
@JvmField internal var `callStatus`: UniffiRustCallStatus.ByValue = UniffiRustCallStatus.ByValue(),
|
|
564
|
+
) : Structure() {
|
|
565
|
+
class UniffiByValue(
|
|
566
|
+
`returnValue`: Double = 0.0,
|
|
567
|
+
`callStatus`: UniffiRustCallStatus.ByValue = UniffiRustCallStatus.ByValue(),
|
|
568
|
+
): UniffiForeignFutureResultF64(`returnValue`,`callStatus`,), Structure.ByValue
|
|
569
|
+
|
|
570
|
+
internal fun uniffiSetValue(other: UniffiForeignFutureResultF64) {
|
|
571
|
+
`returnValue` = other.`returnValue`
|
|
572
|
+
`callStatus` = other.`callStatus`
|
|
573
|
+
}
|
|
574
|
+
|
|
575
|
+
}
|
|
576
|
+
internal interface UniffiForeignFutureCompleteF64 : com.sun.jna.Callback {
|
|
577
|
+
fun callback(`callbackData`: Long,`result`: UniffiForeignFutureResultF64.UniffiByValue,)
|
|
578
|
+
}
|
|
579
|
+
@Structure.FieldOrder("returnValue", "callStatus")
|
|
580
|
+
internal open class UniffiForeignFutureResultRustBuffer(
|
|
581
|
+
@JvmField internal var `returnValue`: RustBuffer.ByValue = RustBuffer.ByValue(),
|
|
582
|
+
@JvmField internal var `callStatus`: UniffiRustCallStatus.ByValue = UniffiRustCallStatus.ByValue(),
|
|
583
|
+
) : Structure() {
|
|
584
|
+
class UniffiByValue(
|
|
585
|
+
`returnValue`: RustBuffer.ByValue = RustBuffer.ByValue(),
|
|
586
|
+
`callStatus`: UniffiRustCallStatus.ByValue = UniffiRustCallStatus.ByValue(),
|
|
587
|
+
): UniffiForeignFutureResultRustBuffer(`returnValue`,`callStatus`,), Structure.ByValue
|
|
588
|
+
|
|
589
|
+
internal fun uniffiSetValue(other: UniffiForeignFutureResultRustBuffer) {
|
|
590
|
+
`returnValue` = other.`returnValue`
|
|
591
|
+
`callStatus` = other.`callStatus`
|
|
592
|
+
}
|
|
593
|
+
|
|
594
|
+
}
|
|
595
|
+
internal interface UniffiForeignFutureCompleteRustBuffer : com.sun.jna.Callback {
|
|
596
|
+
fun callback(`callbackData`: Long,`result`: UniffiForeignFutureResultRustBuffer.UniffiByValue,)
|
|
597
|
+
}
|
|
598
|
+
@Structure.FieldOrder("callStatus")
|
|
599
|
+
internal open class UniffiForeignFutureResultVoid(
|
|
600
|
+
@JvmField internal var `callStatus`: UniffiRustCallStatus.ByValue = UniffiRustCallStatus.ByValue(),
|
|
601
|
+
) : Structure() {
|
|
602
|
+
class UniffiByValue(
|
|
603
|
+
`callStatus`: UniffiRustCallStatus.ByValue = UniffiRustCallStatus.ByValue(),
|
|
604
|
+
): UniffiForeignFutureResultVoid(`callStatus`,), Structure.ByValue
|
|
605
|
+
|
|
606
|
+
internal fun uniffiSetValue(other: UniffiForeignFutureResultVoid) {
|
|
607
|
+
`callStatus` = other.`callStatus`
|
|
608
|
+
}
|
|
609
|
+
|
|
610
|
+
}
|
|
611
|
+
internal interface UniffiForeignFutureCompleteVoid : com.sun.jna.Callback {
|
|
612
|
+
fun callback(`callbackData`: Long,`result`: UniffiForeignFutureResultVoid.UniffiByValue,)
|
|
613
|
+
}
|
|
614
|
+
internal interface UniffiCallbackInterfaceEventCallbackMethod0 : com.sun.jna.Callback {
|
|
615
|
+
fun callback(`uniffiHandle`: Long,`eventJson`: RustBuffer.ByValue,`uniffiOutReturn`: Pointer,uniffiCallStatus: UniffiRustCallStatus,)
|
|
616
|
+
}
|
|
617
|
+
@Structure.FieldOrder("uniffiFree", "uniffiClone", "onEvent")
|
|
618
|
+
internal open class UniffiVTableCallbackInterfaceEventCallback(
|
|
619
|
+
@JvmField internal var `uniffiFree`: UniffiCallbackInterfaceFree? = null,
|
|
620
|
+
@JvmField internal var `uniffiClone`: UniffiCallbackInterfaceClone? = null,
|
|
621
|
+
@JvmField internal var `onEvent`: UniffiCallbackInterfaceEventCallbackMethod0? = null,
|
|
622
|
+
) : Structure() {
|
|
623
|
+
class UniffiByValue(
|
|
624
|
+
`uniffiFree`: UniffiCallbackInterfaceFree? = null,
|
|
625
|
+
`uniffiClone`: UniffiCallbackInterfaceClone? = null,
|
|
626
|
+
`onEvent`: UniffiCallbackInterfaceEventCallbackMethod0? = null,
|
|
627
|
+
): UniffiVTableCallbackInterfaceEventCallback(`uniffiFree`,`uniffiClone`,`onEvent`,), Structure.ByValue
|
|
628
|
+
|
|
629
|
+
internal fun uniffiSetValue(other: UniffiVTableCallbackInterfaceEventCallback) {
|
|
630
|
+
`uniffiFree` = other.`uniffiFree`
|
|
631
|
+
`uniffiClone` = other.`uniffiClone`
|
|
632
|
+
`onEvent` = other.`onEvent`
|
|
633
|
+
}
|
|
634
|
+
|
|
635
|
+
}
|
|
636
|
+
|
|
637
|
+
// A JNA Library to expose the extern-C FFI definitions.
|
|
638
|
+
// This is an implementation detail which will be called internally by the public API.
|
|
639
|
+
|
|
640
|
+
// For large crates we prevent `MethodTooLargeException` (see #2340)
|
|
641
|
+
// N.B. the name of the extension is very misleading, since it is
|
|
642
|
+
// rather `InterfaceTooLargeException`, caused by too many methods
|
|
643
|
+
// in the interface for large crates.
|
|
644
|
+
//
|
|
645
|
+
// By splitting the otherwise huge interface into two parts
|
|
646
|
+
// * UniffiLib (this)
|
|
647
|
+
// * IntegrityCheckingUniffiLib
|
|
648
|
+
// And all checksum methods are put into `IntegrityCheckingUniffiLib`
|
|
649
|
+
// we allow for ~2x as many methods in the UniffiLib interface.
|
|
650
|
+
//
|
|
651
|
+
// Note: above all written when we used JNA's `loadIndirect` etc.
|
|
652
|
+
// We now use JNA's "direct mapping" - unclear if same considerations apply exactly.
|
|
653
|
+
internal object IntegrityCheckingUniffiLib {
|
|
654
|
+
init {
|
|
655
|
+
Native.register(IntegrityCheckingUniffiLib::class.java, findLibraryName(componentName = "offline_protocol"))
|
|
656
|
+
uniffiCheckContractApiVersion(this)
|
|
657
|
+
uniffiCheckApiChecksums(this)
|
|
658
|
+
}
|
|
659
|
+
external fun uniffi_offline_protocol_uniffi_checksum_method_offlineprotocol_add_internet_transport(
|
|
660
|
+
): Short
|
|
661
|
+
external fun uniffi_offline_protocol_uniffi_checksum_method_offlineprotocol_add_wifi_direct_transport(
|
|
662
|
+
): Short
|
|
663
|
+
external fun uniffi_offline_protocol_uniffi_checksum_method_offlineprotocol_ble_fragment_received(
|
|
664
|
+
): Short
|
|
665
|
+
external fun uniffi_offline_protocol_uniffi_checksum_method_offlineprotocol_ble_get_next_fragment(
|
|
666
|
+
): Short
|
|
667
|
+
external fun uniffi_offline_protocol_uniffi_checksum_method_offlineprotocol_ble_get_peer_count(
|
|
668
|
+
): Short
|
|
669
|
+
external fun uniffi_offline_protocol_uniffi_checksum_method_offlineprotocol_ble_peer_discovered(
|
|
670
|
+
): Short
|
|
671
|
+
external fun uniffi_offline_protocol_uniffi_checksum_method_offlineprotocol_ble_peer_lost(
|
|
672
|
+
): Short
|
|
673
|
+
external fun uniffi_offline_protocol_uniffi_checksum_method_offlineprotocol_ble_return_fragment(
|
|
674
|
+
): Short
|
|
675
|
+
external fun uniffi_offline_protocol_uniffi_checksum_method_offlineprotocol_ble_status_changed(
|
|
676
|
+
): Short
|
|
677
|
+
external fun uniffi_offline_protocol_uniffi_checksum_method_offlineprotocol_cancel_file_transfer(
|
|
678
|
+
): Short
|
|
679
|
+
external fun uniffi_offline_protocol_uniffi_checksum_method_offlineprotocol_cleanup_expired_routes(
|
|
680
|
+
): Short
|
|
681
|
+
external fun uniffi_offline_protocol_uniffi_checksum_method_offlineprotocol_emit_test_event(
|
|
682
|
+
): Short
|
|
683
|
+
external fun uniffi_offline_protocol_uniffi_checksum_method_offlineprotocol_finalize_file(
|
|
684
|
+
): Short
|
|
685
|
+
external fun uniffi_offline_protocol_uniffi_checksum_method_offlineprotocol_force_transport(
|
|
686
|
+
): Short
|
|
687
|
+
external fun uniffi_offline_protocol_uniffi_checksum_method_offlineprotocol_get_active_transports(
|
|
688
|
+
): Short
|
|
689
|
+
external fun uniffi_offline_protocol_uniffi_checksum_method_offlineprotocol_get_all_routes(
|
|
690
|
+
): Short
|
|
691
|
+
external fun uniffi_offline_protocol_uniffi_checksum_method_offlineprotocol_get_battery_level(
|
|
692
|
+
): Short
|
|
693
|
+
external fun uniffi_offline_protocol_uniffi_checksum_method_offlineprotocol_get_best_route(
|
|
694
|
+
): Short
|
|
695
|
+
external fun uniffi_offline_protocol_uniffi_checksum_method_offlineprotocol_get_dedup_stats(
|
|
696
|
+
): Short
|
|
697
|
+
external fun uniffi_offline_protocol_uniffi_checksum_method_offlineprotocol_get_delivery_success_rate(
|
|
698
|
+
): Short
|
|
699
|
+
external fun uniffi_offline_protocol_uniffi_checksum_method_offlineprotocol_get_dors_config(
|
|
700
|
+
): Short
|
|
701
|
+
external fun uniffi_offline_protocol_uniffi_checksum_method_offlineprotocol_get_file_progress(
|
|
702
|
+
): Short
|
|
703
|
+
external fun uniffi_offline_protocol_uniffi_checksum_method_offlineprotocol_get_median_hops(
|
|
704
|
+
): Short
|
|
705
|
+
external fun uniffi_offline_protocol_uniffi_checksum_method_offlineprotocol_get_median_latency(
|
|
706
|
+
): Short
|
|
707
|
+
external fun uniffi_offline_protocol_uniffi_checksum_method_offlineprotocol_get_message_stats(
|
|
708
|
+
): Short
|
|
709
|
+
external fun uniffi_offline_protocol_uniffi_checksum_method_offlineprotocol_get_pending_ack_count(
|
|
710
|
+
): Short
|
|
711
|
+
external fun uniffi_offline_protocol_uniffi_checksum_method_offlineprotocol_get_relay_priority(
|
|
712
|
+
): Short
|
|
713
|
+
external fun uniffi_offline_protocol_uniffi_checksum_method_offlineprotocol_get_retry_queue_size(
|
|
714
|
+
): Short
|
|
715
|
+
external fun uniffi_offline_protocol_uniffi_checksum_method_offlineprotocol_get_routing_stats(
|
|
716
|
+
): Short
|
|
717
|
+
external fun uniffi_offline_protocol_uniffi_checksum_method_offlineprotocol_get_state(
|
|
718
|
+
): Short
|
|
719
|
+
external fun uniffi_offline_protocol_uniffi_checksum_method_offlineprotocol_get_topology(
|
|
720
|
+
): Short
|
|
721
|
+
external fun uniffi_offline_protocol_uniffi_checksum_method_offlineprotocol_get_transport_metrics(
|
|
722
|
+
): Short
|
|
723
|
+
external fun uniffi_offline_protocol_uniffi_checksum_method_offlineprotocol_has_route(
|
|
724
|
+
): Short
|
|
725
|
+
external fun uniffi_offline_protocol_uniffi_checksum_method_offlineprotocol_internet_get_next_message(
|
|
726
|
+
): Short
|
|
727
|
+
external fun uniffi_offline_protocol_uniffi_checksum_method_offlineprotocol_internet_message_received(
|
|
728
|
+
): Short
|
|
729
|
+
external fun uniffi_offline_protocol_uniffi_checksum_method_offlineprotocol_internet_return_message(
|
|
730
|
+
): Short
|
|
731
|
+
external fun uniffi_offline_protocol_uniffi_checksum_method_offlineprotocol_internet_status_changed(
|
|
732
|
+
): Short
|
|
733
|
+
external fun uniffi_offline_protocol_uniffi_checksum_method_offlineprotocol_is_relay(
|
|
734
|
+
): Short
|
|
735
|
+
external fun uniffi_offline_protocol_uniffi_checksum_method_offlineprotocol_learn_route(
|
|
736
|
+
): Short
|
|
737
|
+
external fun uniffi_offline_protocol_uniffi_checksum_method_offlineprotocol_pause(
|
|
738
|
+
): Short
|
|
739
|
+
external fun uniffi_offline_protocol_uniffi_checksum_method_offlineprotocol_poll_event(
|
|
740
|
+
): Short
|
|
741
|
+
external fun uniffi_offline_protocol_uniffi_checksum_method_offlineprotocol_process(
|
|
742
|
+
): Short
|
|
743
|
+
external fun uniffi_offline_protocol_uniffi_checksum_method_offlineprotocol_process_file_chunk(
|
|
744
|
+
): Short
|
|
745
|
+
external fun uniffi_offline_protocol_uniffi_checksum_method_offlineprotocol_receive_message(
|
|
746
|
+
): Short
|
|
747
|
+
external fun uniffi_offline_protocol_uniffi_checksum_method_offlineprotocol_release_transport_lock(
|
|
748
|
+
): Short
|
|
749
|
+
external fun uniffi_offline_protocol_uniffi_checksum_method_offlineprotocol_remove_neighbor_routes(
|
|
750
|
+
): Short
|
|
751
|
+
external fun uniffi_offline_protocol_uniffi_checksum_method_offlineprotocol_remove_transport(
|
|
752
|
+
): Short
|
|
753
|
+
external fun uniffi_offline_protocol_uniffi_checksum_method_offlineprotocol_resume(
|
|
754
|
+
): Short
|
|
755
|
+
external fun uniffi_offline_protocol_uniffi_checksum_method_offlineprotocol_send_file(
|
|
756
|
+
): Short
|
|
757
|
+
external fun uniffi_offline_protocol_uniffi_checksum_method_offlineprotocol_send_message(
|
|
758
|
+
): Short
|
|
759
|
+
external fun uniffi_offline_protocol_uniffi_checksum_method_offlineprotocol_set_battery_level(
|
|
760
|
+
): Short
|
|
761
|
+
external fun uniffi_offline_protocol_uniffi_checksum_method_offlineprotocol_set_event_callback(
|
|
762
|
+
): Short
|
|
763
|
+
external fun uniffi_offline_protocol_uniffi_checksum_method_offlineprotocol_set_relay_priority(
|
|
764
|
+
): Short
|
|
765
|
+
external fun uniffi_offline_protocol_uniffi_checksum_method_offlineprotocol_should_escalate_to_wifi(
|
|
766
|
+
): Short
|
|
767
|
+
external fun uniffi_offline_protocol_uniffi_checksum_method_offlineprotocol_start(
|
|
768
|
+
): Short
|
|
769
|
+
external fun uniffi_offline_protocol_uniffi_checksum_method_offlineprotocol_stop(
|
|
770
|
+
): Short
|
|
771
|
+
external fun uniffi_offline_protocol_uniffi_checksum_method_offlineprotocol_update_ack_config(
|
|
772
|
+
): Short
|
|
773
|
+
external fun uniffi_offline_protocol_uniffi_checksum_method_offlineprotocol_update_dedup_config(
|
|
774
|
+
): Short
|
|
775
|
+
external fun uniffi_offline_protocol_uniffi_checksum_method_offlineprotocol_update_dors_config(
|
|
776
|
+
): Short
|
|
777
|
+
external fun uniffi_offline_protocol_uniffi_checksum_method_offlineprotocol_update_retry_config(
|
|
778
|
+
): Short
|
|
779
|
+
external fun uniffi_offline_protocol_uniffi_checksum_method_offlineprotocol_update_routing_config(
|
|
780
|
+
): Short
|
|
781
|
+
external fun uniffi_offline_protocol_uniffi_checksum_method_offlineprotocol_update_transport_metrics(
|
|
782
|
+
): Short
|
|
783
|
+
external fun uniffi_offline_protocol_uniffi_checksum_method_offlineprotocol_wifi_direct_get_next_message(
|
|
784
|
+
): Short
|
|
785
|
+
external fun uniffi_offline_protocol_uniffi_checksum_method_offlineprotocol_wifi_direct_message_received(
|
|
786
|
+
): Short
|
|
787
|
+
external fun uniffi_offline_protocol_uniffi_checksum_method_offlineprotocol_wifi_direct_peer_connected(
|
|
788
|
+
): Short
|
|
789
|
+
external fun uniffi_offline_protocol_uniffi_checksum_method_offlineprotocol_wifi_direct_peer_disconnected(
|
|
790
|
+
): Short
|
|
791
|
+
external fun uniffi_offline_protocol_uniffi_checksum_method_offlineprotocol_wifi_direct_status_changed(
|
|
792
|
+
): Short
|
|
793
|
+
external fun uniffi_offline_protocol_uniffi_checksum_constructor_offlineprotocol_new(
|
|
794
|
+
): Short
|
|
795
|
+
external fun uniffi_offline_protocol_uniffi_checksum_method_eventcallback_on_event(
|
|
796
|
+
): Short
|
|
797
|
+
external fun ffi_offline_protocol_uniffi_uniffi_contract_version(
|
|
798
|
+
): Int
|
|
799
|
+
|
|
800
|
+
|
|
801
|
+
}
|
|
802
|
+
|
|
803
|
+
internal object UniffiLib {
|
|
804
|
+
|
|
805
|
+
// The Cleaner for the whole library
|
|
806
|
+
internal val CLEANER: UniffiCleaner by lazy {
|
|
807
|
+
UniffiCleaner.create()
|
|
808
|
+
}
|
|
809
|
+
|
|
810
|
+
|
|
811
|
+
init {
|
|
812
|
+
Native.register(UniffiLib::class.java, findLibraryName(componentName = "offline_protocol"))
|
|
813
|
+
uniffiCallbackInterfaceEventCallback.register(this)
|
|
814
|
+
|
|
815
|
+
}
|
|
816
|
+
external fun uniffi_offline_protocol_uniffi_fn_clone_offlineprotocol(`handle`: Long,uniffi_out_err: UniffiRustCallStatus,
|
|
817
|
+
): Long
|
|
818
|
+
external fun uniffi_offline_protocol_uniffi_fn_free_offlineprotocol(`handle`: Long,uniffi_out_err: UniffiRustCallStatus,
|
|
819
|
+
): Unit
|
|
820
|
+
external fun uniffi_offline_protocol_uniffi_fn_constructor_offlineprotocol_new(`config`: RustBuffer.ByValue,uniffi_out_err: UniffiRustCallStatus,
|
|
821
|
+
): Long
|
|
822
|
+
external fun uniffi_offline_protocol_uniffi_fn_method_offlineprotocol_add_internet_transport(`ptr`: Long,`serverUrl`: RustBuffer.ByValue,`port`: Short,uniffi_out_err: UniffiRustCallStatus,
|
|
823
|
+
): Unit
|
|
824
|
+
external fun uniffi_offline_protocol_uniffi_fn_method_offlineprotocol_add_wifi_direct_transport(`ptr`: Long,uniffi_out_err: UniffiRustCallStatus,
|
|
825
|
+
): Unit
|
|
826
|
+
external fun uniffi_offline_protocol_uniffi_fn_method_offlineprotocol_ble_fragment_received(`ptr`: Long,`senderId`: RustBuffer.ByValue,`fragment`: RustBuffer.ByValue,uniffi_out_err: UniffiRustCallStatus,
|
|
827
|
+
): Unit
|
|
828
|
+
external fun uniffi_offline_protocol_uniffi_fn_method_offlineprotocol_ble_get_next_fragment(`ptr`: Long,uniffi_out_err: UniffiRustCallStatus,
|
|
829
|
+
): RustBuffer.ByValue
|
|
830
|
+
external fun uniffi_offline_protocol_uniffi_fn_method_offlineprotocol_ble_get_peer_count(`ptr`: Long,uniffi_out_err: UniffiRustCallStatus,
|
|
831
|
+
): Int
|
|
832
|
+
external fun uniffi_offline_protocol_uniffi_fn_method_offlineprotocol_ble_peer_discovered(`ptr`: Long,`peerId`: RustBuffer.ByValue,`rssi`: Short,uniffi_out_err: UniffiRustCallStatus,
|
|
833
|
+
): Unit
|
|
834
|
+
external fun uniffi_offline_protocol_uniffi_fn_method_offlineprotocol_ble_peer_lost(`ptr`: Long,`peerId`: RustBuffer.ByValue,uniffi_out_err: UniffiRustCallStatus,
|
|
835
|
+
): Unit
|
|
836
|
+
external fun uniffi_offline_protocol_uniffi_fn_method_offlineprotocol_ble_return_fragment(`ptr`: Long,uniffi_out_err: UniffiRustCallStatus,
|
|
837
|
+
): Unit
|
|
838
|
+
external fun uniffi_offline_protocol_uniffi_fn_method_offlineprotocol_ble_status_changed(`ptr`: Long,`isAvailable`: Byte,uniffi_out_err: UniffiRustCallStatus,
|
|
839
|
+
): Unit
|
|
840
|
+
external fun uniffi_offline_protocol_uniffi_fn_method_offlineprotocol_cancel_file_transfer(`ptr`: Long,`fileId`: RustBuffer.ByValue,uniffi_out_err: UniffiRustCallStatus,
|
|
841
|
+
): Unit
|
|
842
|
+
external fun uniffi_offline_protocol_uniffi_fn_method_offlineprotocol_cleanup_expired_routes(`ptr`: Long,uniffi_out_err: UniffiRustCallStatus,
|
|
843
|
+
): Unit
|
|
844
|
+
external fun uniffi_offline_protocol_uniffi_fn_method_offlineprotocol_emit_test_event(`ptr`: Long,uniffi_out_err: UniffiRustCallStatus,
|
|
845
|
+
): Unit
|
|
846
|
+
external fun uniffi_offline_protocol_uniffi_fn_method_offlineprotocol_finalize_file(`ptr`: Long,`fileId`: RustBuffer.ByValue,uniffi_out_err: UniffiRustCallStatus,
|
|
847
|
+
): Unit
|
|
848
|
+
external fun uniffi_offline_protocol_uniffi_fn_method_offlineprotocol_force_transport(`ptr`: Long,`transportType`: RustBuffer.ByValue,uniffi_out_err: UniffiRustCallStatus,
|
|
849
|
+
): Unit
|
|
850
|
+
external fun uniffi_offline_protocol_uniffi_fn_method_offlineprotocol_get_active_transports(`ptr`: Long,uniffi_out_err: UniffiRustCallStatus,
|
|
851
|
+
): RustBuffer.ByValue
|
|
852
|
+
external fun uniffi_offline_protocol_uniffi_fn_method_offlineprotocol_get_all_routes(`ptr`: Long,`destination`: RustBuffer.ByValue,uniffi_out_err: UniffiRustCallStatus,
|
|
853
|
+
): RustBuffer.ByValue
|
|
854
|
+
external fun uniffi_offline_protocol_uniffi_fn_method_offlineprotocol_get_battery_level(`ptr`: Long,uniffi_out_err: UniffiRustCallStatus,
|
|
855
|
+
): RustBuffer.ByValue
|
|
856
|
+
external fun uniffi_offline_protocol_uniffi_fn_method_offlineprotocol_get_best_route(`ptr`: Long,`destination`: RustBuffer.ByValue,uniffi_out_err: UniffiRustCallStatus,
|
|
857
|
+
): RustBuffer.ByValue
|
|
858
|
+
external fun uniffi_offline_protocol_uniffi_fn_method_offlineprotocol_get_dedup_stats(`ptr`: Long,uniffi_out_err: UniffiRustCallStatus,
|
|
859
|
+
): RustBuffer.ByValue
|
|
860
|
+
external fun uniffi_offline_protocol_uniffi_fn_method_offlineprotocol_get_delivery_success_rate(`ptr`: Long,uniffi_out_err: UniffiRustCallStatus,
|
|
861
|
+
): Float
|
|
862
|
+
external fun uniffi_offline_protocol_uniffi_fn_method_offlineprotocol_get_dors_config(`ptr`: Long,uniffi_out_err: UniffiRustCallStatus,
|
|
863
|
+
): RustBuffer.ByValue
|
|
864
|
+
external fun uniffi_offline_protocol_uniffi_fn_method_offlineprotocol_get_file_progress(`ptr`: Long,`fileId`: RustBuffer.ByValue,uniffi_out_err: UniffiRustCallStatus,
|
|
865
|
+
): RustBuffer.ByValue
|
|
866
|
+
external fun uniffi_offline_protocol_uniffi_fn_method_offlineprotocol_get_median_hops(`ptr`: Long,uniffi_out_err: UniffiRustCallStatus,
|
|
867
|
+
): Byte
|
|
868
|
+
external fun uniffi_offline_protocol_uniffi_fn_method_offlineprotocol_get_median_latency(`ptr`: Long,uniffi_out_err: UniffiRustCallStatus,
|
|
869
|
+
): Long
|
|
870
|
+
external fun uniffi_offline_protocol_uniffi_fn_method_offlineprotocol_get_message_stats(`ptr`: Long,uniffi_out_err: UniffiRustCallStatus,
|
|
871
|
+
): RustBuffer.ByValue
|
|
872
|
+
external fun uniffi_offline_protocol_uniffi_fn_method_offlineprotocol_get_pending_ack_count(`ptr`: Long,uniffi_out_err: UniffiRustCallStatus,
|
|
873
|
+
): Long
|
|
874
|
+
external fun uniffi_offline_protocol_uniffi_fn_method_offlineprotocol_get_relay_priority(`ptr`: Long,uniffi_out_err: UniffiRustCallStatus,
|
|
875
|
+
): RustBuffer.ByValue
|
|
876
|
+
external fun uniffi_offline_protocol_uniffi_fn_method_offlineprotocol_get_retry_queue_size(`ptr`: Long,uniffi_out_err: UniffiRustCallStatus,
|
|
877
|
+
): Long
|
|
878
|
+
external fun uniffi_offline_protocol_uniffi_fn_method_offlineprotocol_get_routing_stats(`ptr`: Long,uniffi_out_err: UniffiRustCallStatus,
|
|
879
|
+
): RustBuffer.ByValue
|
|
880
|
+
external fun uniffi_offline_protocol_uniffi_fn_method_offlineprotocol_get_state(`ptr`: Long,uniffi_out_err: UniffiRustCallStatus,
|
|
881
|
+
): RustBuffer.ByValue
|
|
882
|
+
external fun uniffi_offline_protocol_uniffi_fn_method_offlineprotocol_get_topology(`ptr`: Long,uniffi_out_err: UniffiRustCallStatus,
|
|
883
|
+
): RustBuffer.ByValue
|
|
884
|
+
external fun uniffi_offline_protocol_uniffi_fn_method_offlineprotocol_get_transport_metrics(`ptr`: Long,`transportType`: RustBuffer.ByValue,uniffi_out_err: UniffiRustCallStatus,
|
|
885
|
+
): RustBuffer.ByValue
|
|
886
|
+
external fun uniffi_offline_protocol_uniffi_fn_method_offlineprotocol_has_route(`ptr`: Long,`destination`: RustBuffer.ByValue,uniffi_out_err: UniffiRustCallStatus,
|
|
887
|
+
): Byte
|
|
888
|
+
external fun uniffi_offline_protocol_uniffi_fn_method_offlineprotocol_internet_get_next_message(`ptr`: Long,uniffi_out_err: UniffiRustCallStatus,
|
|
889
|
+
): RustBuffer.ByValue
|
|
890
|
+
external fun uniffi_offline_protocol_uniffi_fn_method_offlineprotocol_internet_message_received(`ptr`: Long,`senderId`: RustBuffer.ByValue,`data`: RustBuffer.ByValue,uniffi_out_err: UniffiRustCallStatus,
|
|
891
|
+
): Unit
|
|
892
|
+
external fun uniffi_offline_protocol_uniffi_fn_method_offlineprotocol_internet_return_message(`ptr`: Long,uniffi_out_err: UniffiRustCallStatus,
|
|
893
|
+
): Unit
|
|
894
|
+
external fun uniffi_offline_protocol_uniffi_fn_method_offlineprotocol_internet_status_changed(`ptr`: Long,`isConnected`: Byte,uniffi_out_err: UniffiRustCallStatus,
|
|
895
|
+
): Unit
|
|
896
|
+
external fun uniffi_offline_protocol_uniffi_fn_method_offlineprotocol_is_relay(`ptr`: Long,uniffi_out_err: UniffiRustCallStatus,
|
|
897
|
+
): Byte
|
|
898
|
+
external fun uniffi_offline_protocol_uniffi_fn_method_offlineprotocol_learn_route(`ptr`: Long,`destination`: RustBuffer.ByValue,`nextHop`: RustBuffer.ByValue,`hopCount`: Byte,`quality`: Float,uniffi_out_err: UniffiRustCallStatus,
|
|
899
|
+
): Unit
|
|
900
|
+
external fun uniffi_offline_protocol_uniffi_fn_method_offlineprotocol_pause(`ptr`: Long,uniffi_out_err: UniffiRustCallStatus,
|
|
901
|
+
): Unit
|
|
902
|
+
external fun uniffi_offline_protocol_uniffi_fn_method_offlineprotocol_poll_event(`ptr`: Long,uniffi_out_err: UniffiRustCallStatus,
|
|
903
|
+
): RustBuffer.ByValue
|
|
904
|
+
external fun uniffi_offline_protocol_uniffi_fn_method_offlineprotocol_process(`ptr`: Long,uniffi_out_err: UniffiRustCallStatus,
|
|
905
|
+
): Unit
|
|
906
|
+
external fun uniffi_offline_protocol_uniffi_fn_method_offlineprotocol_process_file_chunk(`ptr`: Long,`fileId`: RustBuffer.ByValue,`chunkIndex`: Int,`data`: RustBuffer.ByValue,uniffi_out_err: UniffiRustCallStatus,
|
|
907
|
+
): Unit
|
|
908
|
+
external fun uniffi_offline_protocol_uniffi_fn_method_offlineprotocol_receive_message(`ptr`: Long,uniffi_out_err: UniffiRustCallStatus,
|
|
909
|
+
): RustBuffer.ByValue
|
|
910
|
+
external fun uniffi_offline_protocol_uniffi_fn_method_offlineprotocol_release_transport_lock(`ptr`: Long,uniffi_out_err: UniffiRustCallStatus,
|
|
911
|
+
): Unit
|
|
912
|
+
external fun uniffi_offline_protocol_uniffi_fn_method_offlineprotocol_remove_neighbor_routes(`ptr`: Long,`neighborId`: RustBuffer.ByValue,uniffi_out_err: UniffiRustCallStatus,
|
|
913
|
+
): Unit
|
|
914
|
+
external fun uniffi_offline_protocol_uniffi_fn_method_offlineprotocol_remove_transport(`ptr`: Long,`transportType`: RustBuffer.ByValue,uniffi_out_err: UniffiRustCallStatus,
|
|
915
|
+
): Unit
|
|
916
|
+
external fun uniffi_offline_protocol_uniffi_fn_method_offlineprotocol_resume(`ptr`: Long,uniffi_out_err: UniffiRustCallStatus,
|
|
917
|
+
): Unit
|
|
918
|
+
external fun uniffi_offline_protocol_uniffi_fn_method_offlineprotocol_send_file(`ptr`: Long,`recipient`: RustBuffer.ByValue,`filePath`: RustBuffer.ByValue,`fileName`: RustBuffer.ByValue,uniffi_out_err: UniffiRustCallStatus,
|
|
919
|
+
): RustBuffer.ByValue
|
|
920
|
+
external fun uniffi_offline_protocol_uniffi_fn_method_offlineprotocol_send_message(`ptr`: Long,`recipient`: RustBuffer.ByValue,`content`: RustBuffer.ByValue,`priority`: RustBuffer.ByValue,uniffi_out_err: UniffiRustCallStatus,
|
|
921
|
+
): RustBuffer.ByValue
|
|
922
|
+
external fun uniffi_offline_protocol_uniffi_fn_method_offlineprotocol_set_battery_level(`ptr`: Long,`level`: Byte,uniffi_out_err: UniffiRustCallStatus,
|
|
923
|
+
): Unit
|
|
924
|
+
external fun uniffi_offline_protocol_uniffi_fn_method_offlineprotocol_set_event_callback(`ptr`: Long,`callback`: Long,uniffi_out_err: UniffiRustCallStatus,
|
|
925
|
+
): Unit
|
|
926
|
+
external fun uniffi_offline_protocol_uniffi_fn_method_offlineprotocol_set_relay_priority(`ptr`: Long,`priority`: RustBuffer.ByValue,uniffi_out_err: UniffiRustCallStatus,
|
|
927
|
+
): Unit
|
|
928
|
+
external fun uniffi_offline_protocol_uniffi_fn_method_offlineprotocol_should_escalate_to_wifi(`ptr`: Long,uniffi_out_err: UniffiRustCallStatus,
|
|
929
|
+
): Byte
|
|
930
|
+
external fun uniffi_offline_protocol_uniffi_fn_method_offlineprotocol_start(`ptr`: Long,uniffi_out_err: UniffiRustCallStatus,
|
|
931
|
+
): Unit
|
|
932
|
+
external fun uniffi_offline_protocol_uniffi_fn_method_offlineprotocol_stop(`ptr`: Long,uniffi_out_err: UniffiRustCallStatus,
|
|
933
|
+
): Unit
|
|
934
|
+
external fun uniffi_offline_protocol_uniffi_fn_method_offlineprotocol_update_ack_config(`ptr`: Long,`config`: RustBuffer.ByValue,uniffi_out_err: UniffiRustCallStatus,
|
|
935
|
+
): Unit
|
|
936
|
+
external fun uniffi_offline_protocol_uniffi_fn_method_offlineprotocol_update_dedup_config(`ptr`: Long,`config`: RustBuffer.ByValue,uniffi_out_err: UniffiRustCallStatus,
|
|
937
|
+
): Unit
|
|
938
|
+
external fun uniffi_offline_protocol_uniffi_fn_method_offlineprotocol_update_dors_config(`ptr`: Long,`config`: RustBuffer.ByValue,uniffi_out_err: UniffiRustCallStatus,
|
|
939
|
+
): Unit
|
|
940
|
+
external fun uniffi_offline_protocol_uniffi_fn_method_offlineprotocol_update_retry_config(`ptr`: Long,`config`: RustBuffer.ByValue,uniffi_out_err: UniffiRustCallStatus,
|
|
941
|
+
): Unit
|
|
942
|
+
external fun uniffi_offline_protocol_uniffi_fn_method_offlineprotocol_update_routing_config(`ptr`: Long,`config`: RustBuffer.ByValue,uniffi_out_err: UniffiRustCallStatus,
|
|
943
|
+
): Unit
|
|
944
|
+
external fun uniffi_offline_protocol_uniffi_fn_method_offlineprotocol_update_transport_metrics(`ptr`: Long,`transportType`: RustBuffer.ByValue,`metrics`: RustBuffer.ByValue,uniffi_out_err: UniffiRustCallStatus,
|
|
945
|
+
): Unit
|
|
946
|
+
external fun uniffi_offline_protocol_uniffi_fn_method_offlineprotocol_wifi_direct_get_next_message(`ptr`: Long,uniffi_out_err: UniffiRustCallStatus,
|
|
947
|
+
): RustBuffer.ByValue
|
|
948
|
+
external fun uniffi_offline_protocol_uniffi_fn_method_offlineprotocol_wifi_direct_message_received(`ptr`: Long,`senderId`: RustBuffer.ByValue,`data`: RustBuffer.ByValue,uniffi_out_err: UniffiRustCallStatus,
|
|
949
|
+
): Unit
|
|
950
|
+
external fun uniffi_offline_protocol_uniffi_fn_method_offlineprotocol_wifi_direct_peer_connected(`ptr`: Long,`peerId`: RustBuffer.ByValue,uniffi_out_err: UniffiRustCallStatus,
|
|
951
|
+
): Unit
|
|
952
|
+
external fun uniffi_offline_protocol_uniffi_fn_method_offlineprotocol_wifi_direct_peer_disconnected(`ptr`: Long,`peerId`: RustBuffer.ByValue,uniffi_out_err: UniffiRustCallStatus,
|
|
953
|
+
): Unit
|
|
954
|
+
external fun uniffi_offline_protocol_uniffi_fn_method_offlineprotocol_wifi_direct_status_changed(`ptr`: Long,`isConnected`: Byte,uniffi_out_err: UniffiRustCallStatus,
|
|
955
|
+
): Unit
|
|
956
|
+
external fun uniffi_offline_protocol_uniffi_fn_init_callback_vtable_eventcallback(`vtable`: UniffiVTableCallbackInterfaceEventCallback,
|
|
957
|
+
): Unit
|
|
958
|
+
external fun ffi_offline_protocol_uniffi_rustbuffer_alloc(`size`: Long,uniffi_out_err: UniffiRustCallStatus,
|
|
959
|
+
): RustBuffer.ByValue
|
|
960
|
+
external fun ffi_offline_protocol_uniffi_rustbuffer_from_bytes(`bytes`: ForeignBytes.ByValue,uniffi_out_err: UniffiRustCallStatus,
|
|
961
|
+
): RustBuffer.ByValue
|
|
962
|
+
external fun ffi_offline_protocol_uniffi_rustbuffer_free(`buf`: RustBuffer.ByValue,uniffi_out_err: UniffiRustCallStatus,
|
|
963
|
+
): Unit
|
|
964
|
+
external fun ffi_offline_protocol_uniffi_rustbuffer_reserve(`buf`: RustBuffer.ByValue,`additional`: Long,uniffi_out_err: UniffiRustCallStatus,
|
|
965
|
+
): RustBuffer.ByValue
|
|
966
|
+
external fun ffi_offline_protocol_uniffi_rust_future_poll_u8(`handle`: Long,`callback`: UniffiRustFutureContinuationCallback,`callbackData`: Long,
|
|
967
|
+
): Unit
|
|
968
|
+
external fun ffi_offline_protocol_uniffi_rust_future_cancel_u8(`handle`: Long,
|
|
969
|
+
): Unit
|
|
970
|
+
external fun ffi_offline_protocol_uniffi_rust_future_free_u8(`handle`: Long,
|
|
971
|
+
): Unit
|
|
972
|
+
external fun ffi_offline_protocol_uniffi_rust_future_complete_u8(`handle`: Long,uniffi_out_err: UniffiRustCallStatus,
|
|
973
|
+
): Byte
|
|
974
|
+
external fun ffi_offline_protocol_uniffi_rust_future_poll_i8(`handle`: Long,`callback`: UniffiRustFutureContinuationCallback,`callbackData`: Long,
|
|
975
|
+
): Unit
|
|
976
|
+
external fun ffi_offline_protocol_uniffi_rust_future_cancel_i8(`handle`: Long,
|
|
977
|
+
): Unit
|
|
978
|
+
external fun ffi_offline_protocol_uniffi_rust_future_free_i8(`handle`: Long,
|
|
979
|
+
): Unit
|
|
980
|
+
external fun ffi_offline_protocol_uniffi_rust_future_complete_i8(`handle`: Long,uniffi_out_err: UniffiRustCallStatus,
|
|
981
|
+
): Byte
|
|
982
|
+
external fun ffi_offline_protocol_uniffi_rust_future_poll_u16(`handle`: Long,`callback`: UniffiRustFutureContinuationCallback,`callbackData`: Long,
|
|
983
|
+
): Unit
|
|
984
|
+
external fun ffi_offline_protocol_uniffi_rust_future_cancel_u16(`handle`: Long,
|
|
985
|
+
): Unit
|
|
986
|
+
external fun ffi_offline_protocol_uniffi_rust_future_free_u16(`handle`: Long,
|
|
987
|
+
): Unit
|
|
988
|
+
external fun ffi_offline_protocol_uniffi_rust_future_complete_u16(`handle`: Long,uniffi_out_err: UniffiRustCallStatus,
|
|
989
|
+
): Short
|
|
990
|
+
external fun ffi_offline_protocol_uniffi_rust_future_poll_i16(`handle`: Long,`callback`: UniffiRustFutureContinuationCallback,`callbackData`: Long,
|
|
991
|
+
): Unit
|
|
992
|
+
external fun ffi_offline_protocol_uniffi_rust_future_cancel_i16(`handle`: Long,
|
|
993
|
+
): Unit
|
|
994
|
+
external fun ffi_offline_protocol_uniffi_rust_future_free_i16(`handle`: Long,
|
|
995
|
+
): Unit
|
|
996
|
+
external fun ffi_offline_protocol_uniffi_rust_future_complete_i16(`handle`: Long,uniffi_out_err: UniffiRustCallStatus,
|
|
997
|
+
): Short
|
|
998
|
+
external fun ffi_offline_protocol_uniffi_rust_future_poll_u32(`handle`: Long,`callback`: UniffiRustFutureContinuationCallback,`callbackData`: Long,
|
|
999
|
+
): Unit
|
|
1000
|
+
external fun ffi_offline_protocol_uniffi_rust_future_cancel_u32(`handle`: Long,
|
|
1001
|
+
): Unit
|
|
1002
|
+
external fun ffi_offline_protocol_uniffi_rust_future_free_u32(`handle`: Long,
|
|
1003
|
+
): Unit
|
|
1004
|
+
external fun ffi_offline_protocol_uniffi_rust_future_complete_u32(`handle`: Long,uniffi_out_err: UniffiRustCallStatus,
|
|
1005
|
+
): Int
|
|
1006
|
+
external fun ffi_offline_protocol_uniffi_rust_future_poll_i32(`handle`: Long,`callback`: UniffiRustFutureContinuationCallback,`callbackData`: Long,
|
|
1007
|
+
): Unit
|
|
1008
|
+
external fun ffi_offline_protocol_uniffi_rust_future_cancel_i32(`handle`: Long,
|
|
1009
|
+
): Unit
|
|
1010
|
+
external fun ffi_offline_protocol_uniffi_rust_future_free_i32(`handle`: Long,
|
|
1011
|
+
): Unit
|
|
1012
|
+
external fun ffi_offline_protocol_uniffi_rust_future_complete_i32(`handle`: Long,uniffi_out_err: UniffiRustCallStatus,
|
|
1013
|
+
): Int
|
|
1014
|
+
external fun ffi_offline_protocol_uniffi_rust_future_poll_u64(`handle`: Long,`callback`: UniffiRustFutureContinuationCallback,`callbackData`: Long,
|
|
1015
|
+
): Unit
|
|
1016
|
+
external fun ffi_offline_protocol_uniffi_rust_future_cancel_u64(`handle`: Long,
|
|
1017
|
+
): Unit
|
|
1018
|
+
external fun ffi_offline_protocol_uniffi_rust_future_free_u64(`handle`: Long,
|
|
1019
|
+
): Unit
|
|
1020
|
+
external fun ffi_offline_protocol_uniffi_rust_future_complete_u64(`handle`: Long,uniffi_out_err: UniffiRustCallStatus,
|
|
1021
|
+
): Long
|
|
1022
|
+
external fun ffi_offline_protocol_uniffi_rust_future_poll_i64(`handle`: Long,`callback`: UniffiRustFutureContinuationCallback,`callbackData`: Long,
|
|
1023
|
+
): Unit
|
|
1024
|
+
external fun ffi_offline_protocol_uniffi_rust_future_cancel_i64(`handle`: Long,
|
|
1025
|
+
): Unit
|
|
1026
|
+
external fun ffi_offline_protocol_uniffi_rust_future_free_i64(`handle`: Long,
|
|
1027
|
+
): Unit
|
|
1028
|
+
external fun ffi_offline_protocol_uniffi_rust_future_complete_i64(`handle`: Long,uniffi_out_err: UniffiRustCallStatus,
|
|
1029
|
+
): Long
|
|
1030
|
+
external fun ffi_offline_protocol_uniffi_rust_future_poll_f32(`handle`: Long,`callback`: UniffiRustFutureContinuationCallback,`callbackData`: Long,
|
|
1031
|
+
): Unit
|
|
1032
|
+
external fun ffi_offline_protocol_uniffi_rust_future_cancel_f32(`handle`: Long,
|
|
1033
|
+
): Unit
|
|
1034
|
+
external fun ffi_offline_protocol_uniffi_rust_future_free_f32(`handle`: Long,
|
|
1035
|
+
): Unit
|
|
1036
|
+
external fun ffi_offline_protocol_uniffi_rust_future_complete_f32(`handle`: Long,uniffi_out_err: UniffiRustCallStatus,
|
|
1037
|
+
): Float
|
|
1038
|
+
external fun ffi_offline_protocol_uniffi_rust_future_poll_f64(`handle`: Long,`callback`: UniffiRustFutureContinuationCallback,`callbackData`: Long,
|
|
1039
|
+
): Unit
|
|
1040
|
+
external fun ffi_offline_protocol_uniffi_rust_future_cancel_f64(`handle`: Long,
|
|
1041
|
+
): Unit
|
|
1042
|
+
external fun ffi_offline_protocol_uniffi_rust_future_free_f64(`handle`: Long,
|
|
1043
|
+
): Unit
|
|
1044
|
+
external fun ffi_offline_protocol_uniffi_rust_future_complete_f64(`handle`: Long,uniffi_out_err: UniffiRustCallStatus,
|
|
1045
|
+
): Double
|
|
1046
|
+
external fun ffi_offline_protocol_uniffi_rust_future_poll_rust_buffer(`handle`: Long,`callback`: UniffiRustFutureContinuationCallback,`callbackData`: Long,
|
|
1047
|
+
): Unit
|
|
1048
|
+
external fun ffi_offline_protocol_uniffi_rust_future_cancel_rust_buffer(`handle`: Long,
|
|
1049
|
+
): Unit
|
|
1050
|
+
external fun ffi_offline_protocol_uniffi_rust_future_free_rust_buffer(`handle`: Long,
|
|
1051
|
+
): Unit
|
|
1052
|
+
external fun ffi_offline_protocol_uniffi_rust_future_complete_rust_buffer(`handle`: Long,uniffi_out_err: UniffiRustCallStatus,
|
|
1053
|
+
): RustBuffer.ByValue
|
|
1054
|
+
external fun ffi_offline_protocol_uniffi_rust_future_poll_void(`handle`: Long,`callback`: UniffiRustFutureContinuationCallback,`callbackData`: Long,
|
|
1055
|
+
): Unit
|
|
1056
|
+
external fun ffi_offline_protocol_uniffi_rust_future_cancel_void(`handle`: Long,
|
|
1057
|
+
): Unit
|
|
1058
|
+
external fun ffi_offline_protocol_uniffi_rust_future_free_void(`handle`: Long,
|
|
1059
|
+
): Unit
|
|
1060
|
+
external fun ffi_offline_protocol_uniffi_rust_future_complete_void(`handle`: Long,uniffi_out_err: UniffiRustCallStatus,
|
|
1061
|
+
): Unit
|
|
1062
|
+
|
|
1063
|
+
|
|
1064
|
+
}
|
|
1065
|
+
|
|
1066
|
+
private fun uniffiCheckContractApiVersion(lib: IntegrityCheckingUniffiLib) {
|
|
1067
|
+
// Get the bindings contract version from our ComponentInterface
|
|
1068
|
+
val bindings_contract_version = 30
|
|
1069
|
+
// Get the scaffolding contract version by calling the into the dylib
|
|
1070
|
+
val scaffolding_contract_version = lib.ffi_offline_protocol_uniffi_uniffi_contract_version()
|
|
1071
|
+
if (bindings_contract_version != scaffolding_contract_version) {
|
|
1072
|
+
throw RuntimeException("UniFFI contract version mismatch: try cleaning and rebuilding your project")
|
|
1073
|
+
}
|
|
1074
|
+
}
|
|
1075
|
+
@Suppress("UNUSED_PARAMETER")
|
|
1076
|
+
private fun uniffiCheckApiChecksums(lib: IntegrityCheckingUniffiLib) {
|
|
1077
|
+
if (lib.uniffi_offline_protocol_uniffi_checksum_method_offlineprotocol_add_internet_transport() != 42106.toShort()) {
|
|
1078
|
+
throw RuntimeException("UniFFI API checksum mismatch: try cleaning and rebuilding your project")
|
|
1079
|
+
}
|
|
1080
|
+
if (lib.uniffi_offline_protocol_uniffi_checksum_method_offlineprotocol_add_wifi_direct_transport() != 19197.toShort()) {
|
|
1081
|
+
throw RuntimeException("UniFFI API checksum mismatch: try cleaning and rebuilding your project")
|
|
1082
|
+
}
|
|
1083
|
+
if (lib.uniffi_offline_protocol_uniffi_checksum_method_offlineprotocol_ble_fragment_received() != 44733.toShort()) {
|
|
1084
|
+
throw RuntimeException("UniFFI API checksum mismatch: try cleaning and rebuilding your project")
|
|
1085
|
+
}
|
|
1086
|
+
if (lib.uniffi_offline_protocol_uniffi_checksum_method_offlineprotocol_ble_get_next_fragment() != 27429.toShort()) {
|
|
1087
|
+
throw RuntimeException("UniFFI API checksum mismatch: try cleaning and rebuilding your project")
|
|
1088
|
+
}
|
|
1089
|
+
if (lib.uniffi_offline_protocol_uniffi_checksum_method_offlineprotocol_ble_get_peer_count() != 32781.toShort()) {
|
|
1090
|
+
throw RuntimeException("UniFFI API checksum mismatch: try cleaning and rebuilding your project")
|
|
1091
|
+
}
|
|
1092
|
+
if (lib.uniffi_offline_protocol_uniffi_checksum_method_offlineprotocol_ble_peer_discovered() != 53124.toShort()) {
|
|
1093
|
+
throw RuntimeException("UniFFI API checksum mismatch: try cleaning and rebuilding your project")
|
|
1094
|
+
}
|
|
1095
|
+
if (lib.uniffi_offline_protocol_uniffi_checksum_method_offlineprotocol_ble_peer_lost() != 38687.toShort()) {
|
|
1096
|
+
throw RuntimeException("UniFFI API checksum mismatch: try cleaning and rebuilding your project")
|
|
1097
|
+
}
|
|
1098
|
+
if (lib.uniffi_offline_protocol_uniffi_checksum_method_offlineprotocol_ble_return_fragment() != 4155.toShort()) {
|
|
1099
|
+
throw RuntimeException("UniFFI API checksum mismatch: try cleaning and rebuilding your project")
|
|
1100
|
+
}
|
|
1101
|
+
if (lib.uniffi_offline_protocol_uniffi_checksum_method_offlineprotocol_ble_status_changed() != 19618.toShort()) {
|
|
1102
|
+
throw RuntimeException("UniFFI API checksum mismatch: try cleaning and rebuilding your project")
|
|
1103
|
+
}
|
|
1104
|
+
if (lib.uniffi_offline_protocol_uniffi_checksum_method_offlineprotocol_cancel_file_transfer() != 6632.toShort()) {
|
|
1105
|
+
throw RuntimeException("UniFFI API checksum mismatch: try cleaning and rebuilding your project")
|
|
1106
|
+
}
|
|
1107
|
+
if (lib.uniffi_offline_protocol_uniffi_checksum_method_offlineprotocol_cleanup_expired_routes() != 32382.toShort()) {
|
|
1108
|
+
throw RuntimeException("UniFFI API checksum mismatch: try cleaning and rebuilding your project")
|
|
1109
|
+
}
|
|
1110
|
+
if (lib.uniffi_offline_protocol_uniffi_checksum_method_offlineprotocol_emit_test_event() != 6796.toShort()) {
|
|
1111
|
+
throw RuntimeException("UniFFI API checksum mismatch: try cleaning and rebuilding your project")
|
|
1112
|
+
}
|
|
1113
|
+
if (lib.uniffi_offline_protocol_uniffi_checksum_method_offlineprotocol_finalize_file() != 55328.toShort()) {
|
|
1114
|
+
throw RuntimeException("UniFFI API checksum mismatch: try cleaning and rebuilding your project")
|
|
1115
|
+
}
|
|
1116
|
+
if (lib.uniffi_offline_protocol_uniffi_checksum_method_offlineprotocol_force_transport() != 28940.toShort()) {
|
|
1117
|
+
throw RuntimeException("UniFFI API checksum mismatch: try cleaning and rebuilding your project")
|
|
1118
|
+
}
|
|
1119
|
+
if (lib.uniffi_offline_protocol_uniffi_checksum_method_offlineprotocol_get_active_transports() != 5327.toShort()) {
|
|
1120
|
+
throw RuntimeException("UniFFI API checksum mismatch: try cleaning and rebuilding your project")
|
|
1121
|
+
}
|
|
1122
|
+
if (lib.uniffi_offline_protocol_uniffi_checksum_method_offlineprotocol_get_all_routes() != 27292.toShort()) {
|
|
1123
|
+
throw RuntimeException("UniFFI API checksum mismatch: try cleaning and rebuilding your project")
|
|
1124
|
+
}
|
|
1125
|
+
if (lib.uniffi_offline_protocol_uniffi_checksum_method_offlineprotocol_get_battery_level() != 12938.toShort()) {
|
|
1126
|
+
throw RuntimeException("UniFFI API checksum mismatch: try cleaning and rebuilding your project")
|
|
1127
|
+
}
|
|
1128
|
+
if (lib.uniffi_offline_protocol_uniffi_checksum_method_offlineprotocol_get_best_route() != 31041.toShort()) {
|
|
1129
|
+
throw RuntimeException("UniFFI API checksum mismatch: try cleaning and rebuilding your project")
|
|
1130
|
+
}
|
|
1131
|
+
if (lib.uniffi_offline_protocol_uniffi_checksum_method_offlineprotocol_get_dedup_stats() != 43759.toShort()) {
|
|
1132
|
+
throw RuntimeException("UniFFI API checksum mismatch: try cleaning and rebuilding your project")
|
|
1133
|
+
}
|
|
1134
|
+
if (lib.uniffi_offline_protocol_uniffi_checksum_method_offlineprotocol_get_delivery_success_rate() != 62412.toShort()) {
|
|
1135
|
+
throw RuntimeException("UniFFI API checksum mismatch: try cleaning and rebuilding your project")
|
|
1136
|
+
}
|
|
1137
|
+
if (lib.uniffi_offline_protocol_uniffi_checksum_method_offlineprotocol_get_dors_config() != 28708.toShort()) {
|
|
1138
|
+
throw RuntimeException("UniFFI API checksum mismatch: try cleaning and rebuilding your project")
|
|
1139
|
+
}
|
|
1140
|
+
if (lib.uniffi_offline_protocol_uniffi_checksum_method_offlineprotocol_get_file_progress() != 37575.toShort()) {
|
|
1141
|
+
throw RuntimeException("UniFFI API checksum mismatch: try cleaning and rebuilding your project")
|
|
1142
|
+
}
|
|
1143
|
+
if (lib.uniffi_offline_protocol_uniffi_checksum_method_offlineprotocol_get_median_hops() != 22077.toShort()) {
|
|
1144
|
+
throw RuntimeException("UniFFI API checksum mismatch: try cleaning and rebuilding your project")
|
|
1145
|
+
}
|
|
1146
|
+
if (lib.uniffi_offline_protocol_uniffi_checksum_method_offlineprotocol_get_median_latency() != 9158.toShort()) {
|
|
1147
|
+
throw RuntimeException("UniFFI API checksum mismatch: try cleaning and rebuilding your project")
|
|
1148
|
+
}
|
|
1149
|
+
if (lib.uniffi_offline_protocol_uniffi_checksum_method_offlineprotocol_get_message_stats() != 30825.toShort()) {
|
|
1150
|
+
throw RuntimeException("UniFFI API checksum mismatch: try cleaning and rebuilding your project")
|
|
1151
|
+
}
|
|
1152
|
+
if (lib.uniffi_offline_protocol_uniffi_checksum_method_offlineprotocol_get_pending_ack_count() != 9023.toShort()) {
|
|
1153
|
+
throw RuntimeException("UniFFI API checksum mismatch: try cleaning and rebuilding your project")
|
|
1154
|
+
}
|
|
1155
|
+
if (lib.uniffi_offline_protocol_uniffi_checksum_method_offlineprotocol_get_relay_priority() != 38001.toShort()) {
|
|
1156
|
+
throw RuntimeException("UniFFI API checksum mismatch: try cleaning and rebuilding your project")
|
|
1157
|
+
}
|
|
1158
|
+
if (lib.uniffi_offline_protocol_uniffi_checksum_method_offlineprotocol_get_retry_queue_size() != 53188.toShort()) {
|
|
1159
|
+
throw RuntimeException("UniFFI API checksum mismatch: try cleaning and rebuilding your project")
|
|
1160
|
+
}
|
|
1161
|
+
if (lib.uniffi_offline_protocol_uniffi_checksum_method_offlineprotocol_get_routing_stats() != 51722.toShort()) {
|
|
1162
|
+
throw RuntimeException("UniFFI API checksum mismatch: try cleaning and rebuilding your project")
|
|
1163
|
+
}
|
|
1164
|
+
if (lib.uniffi_offline_protocol_uniffi_checksum_method_offlineprotocol_get_state() != 51778.toShort()) {
|
|
1165
|
+
throw RuntimeException("UniFFI API checksum mismatch: try cleaning and rebuilding your project")
|
|
1166
|
+
}
|
|
1167
|
+
if (lib.uniffi_offline_protocol_uniffi_checksum_method_offlineprotocol_get_topology() != 3250.toShort()) {
|
|
1168
|
+
throw RuntimeException("UniFFI API checksum mismatch: try cleaning and rebuilding your project")
|
|
1169
|
+
}
|
|
1170
|
+
if (lib.uniffi_offline_protocol_uniffi_checksum_method_offlineprotocol_get_transport_metrics() != 62682.toShort()) {
|
|
1171
|
+
throw RuntimeException("UniFFI API checksum mismatch: try cleaning and rebuilding your project")
|
|
1172
|
+
}
|
|
1173
|
+
if (lib.uniffi_offline_protocol_uniffi_checksum_method_offlineprotocol_has_route() != 44869.toShort()) {
|
|
1174
|
+
throw RuntimeException("UniFFI API checksum mismatch: try cleaning and rebuilding your project")
|
|
1175
|
+
}
|
|
1176
|
+
if (lib.uniffi_offline_protocol_uniffi_checksum_method_offlineprotocol_internet_get_next_message() != 48075.toShort()) {
|
|
1177
|
+
throw RuntimeException("UniFFI API checksum mismatch: try cleaning and rebuilding your project")
|
|
1178
|
+
}
|
|
1179
|
+
if (lib.uniffi_offline_protocol_uniffi_checksum_method_offlineprotocol_internet_message_received() != 62143.toShort()) {
|
|
1180
|
+
throw RuntimeException("UniFFI API checksum mismatch: try cleaning and rebuilding your project")
|
|
1181
|
+
}
|
|
1182
|
+
if (lib.uniffi_offline_protocol_uniffi_checksum_method_offlineprotocol_internet_return_message() != 33628.toShort()) {
|
|
1183
|
+
throw RuntimeException("UniFFI API checksum mismatch: try cleaning and rebuilding your project")
|
|
1184
|
+
}
|
|
1185
|
+
if (lib.uniffi_offline_protocol_uniffi_checksum_method_offlineprotocol_internet_status_changed() != 25243.toShort()) {
|
|
1186
|
+
throw RuntimeException("UniFFI API checksum mismatch: try cleaning and rebuilding your project")
|
|
1187
|
+
}
|
|
1188
|
+
if (lib.uniffi_offline_protocol_uniffi_checksum_method_offlineprotocol_is_relay() != 34892.toShort()) {
|
|
1189
|
+
throw RuntimeException("UniFFI API checksum mismatch: try cleaning and rebuilding your project")
|
|
1190
|
+
}
|
|
1191
|
+
if (lib.uniffi_offline_protocol_uniffi_checksum_method_offlineprotocol_learn_route() != 38824.toShort()) {
|
|
1192
|
+
throw RuntimeException("UniFFI API checksum mismatch: try cleaning and rebuilding your project")
|
|
1193
|
+
}
|
|
1194
|
+
if (lib.uniffi_offline_protocol_uniffi_checksum_method_offlineprotocol_pause() != 51362.toShort()) {
|
|
1195
|
+
throw RuntimeException("UniFFI API checksum mismatch: try cleaning and rebuilding your project")
|
|
1196
|
+
}
|
|
1197
|
+
if (lib.uniffi_offline_protocol_uniffi_checksum_method_offlineprotocol_poll_event() != 28496.toShort()) {
|
|
1198
|
+
throw RuntimeException("UniFFI API checksum mismatch: try cleaning and rebuilding your project")
|
|
1199
|
+
}
|
|
1200
|
+
if (lib.uniffi_offline_protocol_uniffi_checksum_method_offlineprotocol_process() != 16160.toShort()) {
|
|
1201
|
+
throw RuntimeException("UniFFI API checksum mismatch: try cleaning and rebuilding your project")
|
|
1202
|
+
}
|
|
1203
|
+
if (lib.uniffi_offline_protocol_uniffi_checksum_method_offlineprotocol_process_file_chunk() != 54114.toShort()) {
|
|
1204
|
+
throw RuntimeException("UniFFI API checksum mismatch: try cleaning and rebuilding your project")
|
|
1205
|
+
}
|
|
1206
|
+
if (lib.uniffi_offline_protocol_uniffi_checksum_method_offlineprotocol_receive_message() != 33217.toShort()) {
|
|
1207
|
+
throw RuntimeException("UniFFI API checksum mismatch: try cleaning and rebuilding your project")
|
|
1208
|
+
}
|
|
1209
|
+
if (lib.uniffi_offline_protocol_uniffi_checksum_method_offlineprotocol_release_transport_lock() != 4494.toShort()) {
|
|
1210
|
+
throw RuntimeException("UniFFI API checksum mismatch: try cleaning and rebuilding your project")
|
|
1211
|
+
}
|
|
1212
|
+
if (lib.uniffi_offline_protocol_uniffi_checksum_method_offlineprotocol_remove_neighbor_routes() != 19049.toShort()) {
|
|
1213
|
+
throw RuntimeException("UniFFI API checksum mismatch: try cleaning and rebuilding your project")
|
|
1214
|
+
}
|
|
1215
|
+
if (lib.uniffi_offline_protocol_uniffi_checksum_method_offlineprotocol_remove_transport() != 16891.toShort()) {
|
|
1216
|
+
throw RuntimeException("UniFFI API checksum mismatch: try cleaning and rebuilding your project")
|
|
1217
|
+
}
|
|
1218
|
+
if (lib.uniffi_offline_protocol_uniffi_checksum_method_offlineprotocol_resume() != 39596.toShort()) {
|
|
1219
|
+
throw RuntimeException("UniFFI API checksum mismatch: try cleaning and rebuilding your project")
|
|
1220
|
+
}
|
|
1221
|
+
if (lib.uniffi_offline_protocol_uniffi_checksum_method_offlineprotocol_send_file() != 33006.toShort()) {
|
|
1222
|
+
throw RuntimeException("UniFFI API checksum mismatch: try cleaning and rebuilding your project")
|
|
1223
|
+
}
|
|
1224
|
+
if (lib.uniffi_offline_protocol_uniffi_checksum_method_offlineprotocol_send_message() != 36955.toShort()) {
|
|
1225
|
+
throw RuntimeException("UniFFI API checksum mismatch: try cleaning and rebuilding your project")
|
|
1226
|
+
}
|
|
1227
|
+
if (lib.uniffi_offline_protocol_uniffi_checksum_method_offlineprotocol_set_battery_level() != 65320.toShort()) {
|
|
1228
|
+
throw RuntimeException("UniFFI API checksum mismatch: try cleaning and rebuilding your project")
|
|
1229
|
+
}
|
|
1230
|
+
if (lib.uniffi_offline_protocol_uniffi_checksum_method_offlineprotocol_set_event_callback() != 14659.toShort()) {
|
|
1231
|
+
throw RuntimeException("UniFFI API checksum mismatch: try cleaning and rebuilding your project")
|
|
1232
|
+
}
|
|
1233
|
+
if (lib.uniffi_offline_protocol_uniffi_checksum_method_offlineprotocol_set_relay_priority() != 33715.toShort()) {
|
|
1234
|
+
throw RuntimeException("UniFFI API checksum mismatch: try cleaning and rebuilding your project")
|
|
1235
|
+
}
|
|
1236
|
+
if (lib.uniffi_offline_protocol_uniffi_checksum_method_offlineprotocol_should_escalate_to_wifi() != 40161.toShort()) {
|
|
1237
|
+
throw RuntimeException("UniFFI API checksum mismatch: try cleaning and rebuilding your project")
|
|
1238
|
+
}
|
|
1239
|
+
if (lib.uniffi_offline_protocol_uniffi_checksum_method_offlineprotocol_start() != 10699.toShort()) {
|
|
1240
|
+
throw RuntimeException("UniFFI API checksum mismatch: try cleaning and rebuilding your project")
|
|
1241
|
+
}
|
|
1242
|
+
if (lib.uniffi_offline_protocol_uniffi_checksum_method_offlineprotocol_stop() != 37179.toShort()) {
|
|
1243
|
+
throw RuntimeException("UniFFI API checksum mismatch: try cleaning and rebuilding your project")
|
|
1244
|
+
}
|
|
1245
|
+
if (lib.uniffi_offline_protocol_uniffi_checksum_method_offlineprotocol_update_ack_config() != 58995.toShort()) {
|
|
1246
|
+
throw RuntimeException("UniFFI API checksum mismatch: try cleaning and rebuilding your project")
|
|
1247
|
+
}
|
|
1248
|
+
if (lib.uniffi_offline_protocol_uniffi_checksum_method_offlineprotocol_update_dedup_config() != 4301.toShort()) {
|
|
1249
|
+
throw RuntimeException("UniFFI API checksum mismatch: try cleaning and rebuilding your project")
|
|
1250
|
+
}
|
|
1251
|
+
if (lib.uniffi_offline_protocol_uniffi_checksum_method_offlineprotocol_update_dors_config() != 2649.toShort()) {
|
|
1252
|
+
throw RuntimeException("UniFFI API checksum mismatch: try cleaning and rebuilding your project")
|
|
1253
|
+
}
|
|
1254
|
+
if (lib.uniffi_offline_protocol_uniffi_checksum_method_offlineprotocol_update_retry_config() != 19988.toShort()) {
|
|
1255
|
+
throw RuntimeException("UniFFI API checksum mismatch: try cleaning and rebuilding your project")
|
|
1256
|
+
}
|
|
1257
|
+
if (lib.uniffi_offline_protocol_uniffi_checksum_method_offlineprotocol_update_routing_config() != 61324.toShort()) {
|
|
1258
|
+
throw RuntimeException("UniFFI API checksum mismatch: try cleaning and rebuilding your project")
|
|
1259
|
+
}
|
|
1260
|
+
if (lib.uniffi_offline_protocol_uniffi_checksum_method_offlineprotocol_update_transport_metrics() != 51165.toShort()) {
|
|
1261
|
+
throw RuntimeException("UniFFI API checksum mismatch: try cleaning and rebuilding your project")
|
|
1262
|
+
}
|
|
1263
|
+
if (lib.uniffi_offline_protocol_uniffi_checksum_method_offlineprotocol_wifi_direct_get_next_message() != 1936.toShort()) {
|
|
1264
|
+
throw RuntimeException("UniFFI API checksum mismatch: try cleaning and rebuilding your project")
|
|
1265
|
+
}
|
|
1266
|
+
if (lib.uniffi_offline_protocol_uniffi_checksum_method_offlineprotocol_wifi_direct_message_received() != 62211.toShort()) {
|
|
1267
|
+
throw RuntimeException("UniFFI API checksum mismatch: try cleaning and rebuilding your project")
|
|
1268
|
+
}
|
|
1269
|
+
if (lib.uniffi_offline_protocol_uniffi_checksum_method_offlineprotocol_wifi_direct_peer_connected() != 3197.toShort()) {
|
|
1270
|
+
throw RuntimeException("UniFFI API checksum mismatch: try cleaning and rebuilding your project")
|
|
1271
|
+
}
|
|
1272
|
+
if (lib.uniffi_offline_protocol_uniffi_checksum_method_offlineprotocol_wifi_direct_peer_disconnected() != 17734.toShort()) {
|
|
1273
|
+
throw RuntimeException("UniFFI API checksum mismatch: try cleaning and rebuilding your project")
|
|
1274
|
+
}
|
|
1275
|
+
if (lib.uniffi_offline_protocol_uniffi_checksum_method_offlineprotocol_wifi_direct_status_changed() != 35006.toShort()) {
|
|
1276
|
+
throw RuntimeException("UniFFI API checksum mismatch: try cleaning and rebuilding your project")
|
|
1277
|
+
}
|
|
1278
|
+
if (lib.uniffi_offline_protocol_uniffi_checksum_constructor_offlineprotocol_new() != 30125.toShort()) {
|
|
1279
|
+
throw RuntimeException("UniFFI API checksum mismatch: try cleaning and rebuilding your project")
|
|
1280
|
+
}
|
|
1281
|
+
if (lib.uniffi_offline_protocol_uniffi_checksum_method_eventcallback_on_event() != 4769.toShort()) {
|
|
1282
|
+
throw RuntimeException("UniFFI API checksum mismatch: try cleaning and rebuilding your project")
|
|
1283
|
+
}
|
|
1284
|
+
}
|
|
1285
|
+
|
|
1286
|
+
/**
|
|
1287
|
+
* @suppress
|
|
1288
|
+
*/
|
|
1289
|
+
public fun uniffiEnsureInitialized() {
|
|
1290
|
+
IntegrityCheckingUniffiLib
|
|
1291
|
+
// UniffiLib() initialized as objects are used, but we still need to explicitly
|
|
1292
|
+
// reference it so initialization across crates works as expected.
|
|
1293
|
+
UniffiLib
|
|
1294
|
+
}
|
|
1295
|
+
|
|
1296
|
+
// Async support
|
|
1297
|
+
|
|
1298
|
+
// Public interface members begin here.
|
|
1299
|
+
|
|
1300
|
+
|
|
1301
|
+
// Interface implemented by anything that can contain an object reference.
|
|
1302
|
+
//
|
|
1303
|
+
// Such types expose a `destroy()` method that must be called to cleanly
|
|
1304
|
+
// dispose of the contained objects. Failure to call this method may result
|
|
1305
|
+
// in memory leaks.
|
|
1306
|
+
//
|
|
1307
|
+
// The easiest way to ensure this method is called is to use the `.use`
|
|
1308
|
+
// helper method to execute a block and destroy the object at the end.
|
|
1309
|
+
interface Disposable {
|
|
1310
|
+
fun destroy()
|
|
1311
|
+
companion object {
|
|
1312
|
+
fun destroy(vararg args: Any?) {
|
|
1313
|
+
for (arg in args) {
|
|
1314
|
+
when (arg) {
|
|
1315
|
+
is Disposable -> arg.destroy()
|
|
1316
|
+
is ArrayList<*> -> {
|
|
1317
|
+
for (idx in arg.indices) {
|
|
1318
|
+
val element = arg[idx]
|
|
1319
|
+
if (element is Disposable) {
|
|
1320
|
+
element.destroy()
|
|
1321
|
+
}
|
|
1322
|
+
}
|
|
1323
|
+
}
|
|
1324
|
+
is Map<*, *> -> {
|
|
1325
|
+
for (element in arg.values) {
|
|
1326
|
+
if (element is Disposable) {
|
|
1327
|
+
element.destroy()
|
|
1328
|
+
}
|
|
1329
|
+
}
|
|
1330
|
+
}
|
|
1331
|
+
is Iterable<*> -> {
|
|
1332
|
+
for (element in arg) {
|
|
1333
|
+
if (element is Disposable) {
|
|
1334
|
+
element.destroy()
|
|
1335
|
+
}
|
|
1336
|
+
}
|
|
1337
|
+
}
|
|
1338
|
+
}
|
|
1339
|
+
}
|
|
1340
|
+
}
|
|
1341
|
+
}
|
|
1342
|
+
}
|
|
1343
|
+
|
|
1344
|
+
/**
|
|
1345
|
+
* @suppress
|
|
1346
|
+
*/
|
|
1347
|
+
inline fun <T : Disposable?, R> T.use(block: (T) -> R) =
|
|
1348
|
+
try {
|
|
1349
|
+
block(this)
|
|
1350
|
+
} finally {
|
|
1351
|
+
try {
|
|
1352
|
+
// N.B. our implementation is on the nullable type `Disposable?`.
|
|
1353
|
+
this?.destroy()
|
|
1354
|
+
} catch (e: Throwable) {
|
|
1355
|
+
// swallow
|
|
1356
|
+
}
|
|
1357
|
+
}
|
|
1358
|
+
|
|
1359
|
+
/**
|
|
1360
|
+
* Placeholder object used to signal that we're constructing an interface with a FFI handle.
|
|
1361
|
+
*
|
|
1362
|
+
* This is the first argument for interface constructors that input a raw handle. It exists is that
|
|
1363
|
+
* so we can avoid signature conflicts when an interface has a regular constructor than inputs a
|
|
1364
|
+
* Long.
|
|
1365
|
+
*
|
|
1366
|
+
* @suppress
|
|
1367
|
+
* */
|
|
1368
|
+
object UniffiWithHandle
|
|
1369
|
+
|
|
1370
|
+
/**
|
|
1371
|
+
* Used to instantiate an interface without an actual pointer, for fakes in tests, mostly.
|
|
1372
|
+
*
|
|
1373
|
+
* @suppress
|
|
1374
|
+
* */
|
|
1375
|
+
object NoHandle// Magic number for the Rust proxy to call using the same mechanism as every other method,
|
|
1376
|
+
// to free the callback once it's dropped by Rust.
|
|
1377
|
+
internal const val IDX_CALLBACK_FREE = 0
|
|
1378
|
+
// Callback return codes
|
|
1379
|
+
internal const val UNIFFI_CALLBACK_SUCCESS = 0
|
|
1380
|
+
internal const val UNIFFI_CALLBACK_ERROR = 1
|
|
1381
|
+
internal const val UNIFFI_CALLBACK_UNEXPECTED_ERROR = 2
|
|
1382
|
+
|
|
1383
|
+
/**
|
|
1384
|
+
* @suppress
|
|
1385
|
+
*/
|
|
1386
|
+
public abstract class FfiConverterCallbackInterface<CallbackInterface: Any>: FfiConverter<CallbackInterface, Long> {
|
|
1387
|
+
internal val handleMap = UniffiHandleMap<CallbackInterface>()
|
|
1388
|
+
|
|
1389
|
+
internal fun drop(handle: Long) {
|
|
1390
|
+
handleMap.remove(handle)
|
|
1391
|
+
}
|
|
1392
|
+
|
|
1393
|
+
override fun lift(value: Long): CallbackInterface {
|
|
1394
|
+
return handleMap.get(value)
|
|
1395
|
+
}
|
|
1396
|
+
|
|
1397
|
+
override fun read(buf: ByteBuffer) = lift(buf.getLong())
|
|
1398
|
+
|
|
1399
|
+
override fun lower(value: CallbackInterface) = handleMap.insert(value)
|
|
1400
|
+
|
|
1401
|
+
override fun allocationSize(value: CallbackInterface) = 8UL
|
|
1402
|
+
|
|
1403
|
+
override fun write(value: CallbackInterface, buf: ByteBuffer) {
|
|
1404
|
+
buf.putLong(lower(value))
|
|
1405
|
+
}
|
|
1406
|
+
}
|
|
1407
|
+
/**
|
|
1408
|
+
* The cleaner interface for Object finalization code to run.
|
|
1409
|
+
* This is the entry point to any implementation that we're using.
|
|
1410
|
+
*
|
|
1411
|
+
* The cleaner registers objects and returns cleanables, so now we are
|
|
1412
|
+
* defining a `UniffiCleaner` with a `UniffiClenaer.Cleanable` to abstract the
|
|
1413
|
+
* different implmentations available at compile time.
|
|
1414
|
+
*
|
|
1415
|
+
* @suppress
|
|
1416
|
+
*/
|
|
1417
|
+
interface UniffiCleaner {
|
|
1418
|
+
interface Cleanable {
|
|
1419
|
+
fun clean()
|
|
1420
|
+
}
|
|
1421
|
+
|
|
1422
|
+
fun register(value: Any, cleanUpTask: Runnable): UniffiCleaner.Cleanable
|
|
1423
|
+
|
|
1424
|
+
companion object
|
|
1425
|
+
}
|
|
1426
|
+
|
|
1427
|
+
// The fallback Jna cleaner, which is available for both Android, and the JVM.
|
|
1428
|
+
private class UniffiJnaCleaner : UniffiCleaner {
|
|
1429
|
+
private val cleaner = com.sun.jna.internal.Cleaner.getCleaner()
|
|
1430
|
+
|
|
1431
|
+
override fun register(value: Any, cleanUpTask: Runnable): UniffiCleaner.Cleanable =
|
|
1432
|
+
UniffiJnaCleanable(cleaner.register(value, cleanUpTask))
|
|
1433
|
+
}
|
|
1434
|
+
|
|
1435
|
+
private class UniffiJnaCleanable(
|
|
1436
|
+
private val cleanable: com.sun.jna.internal.Cleaner.Cleanable,
|
|
1437
|
+
) : UniffiCleaner.Cleanable {
|
|
1438
|
+
override fun clean() = cleanable.clean()
|
|
1439
|
+
}
|
|
1440
|
+
|
|
1441
|
+
|
|
1442
|
+
// We decide at uniffi binding generation time whether we were
|
|
1443
|
+
// using Android or not.
|
|
1444
|
+
// There are further runtime checks to chose the correct implementation
|
|
1445
|
+
// of the cleaner.
|
|
1446
|
+
private fun UniffiCleaner.Companion.create(): UniffiCleaner =
|
|
1447
|
+
try {
|
|
1448
|
+
// For safety's sake: if the library hasn't been run in android_cleaner = true
|
|
1449
|
+
// mode, but is being run on Android, then we still need to think about
|
|
1450
|
+
// Android API versions.
|
|
1451
|
+
// So we check if java.lang.ref.Cleaner is there, and use that…
|
|
1452
|
+
java.lang.Class.forName("java.lang.ref.Cleaner")
|
|
1453
|
+
JavaLangRefCleaner()
|
|
1454
|
+
} catch (e: ClassNotFoundException) {
|
|
1455
|
+
// … otherwise, fallback to the JNA cleaner.
|
|
1456
|
+
UniffiJnaCleaner()
|
|
1457
|
+
}
|
|
1458
|
+
|
|
1459
|
+
private class JavaLangRefCleaner : UniffiCleaner {
|
|
1460
|
+
val cleaner = java.lang.ref.Cleaner.create()
|
|
1461
|
+
|
|
1462
|
+
override fun register(value: Any, cleanUpTask: Runnable): UniffiCleaner.Cleanable =
|
|
1463
|
+
JavaLangRefCleanable(cleaner.register(value, cleanUpTask))
|
|
1464
|
+
}
|
|
1465
|
+
|
|
1466
|
+
private class JavaLangRefCleanable(
|
|
1467
|
+
val cleanable: java.lang.ref.Cleaner.Cleanable
|
|
1468
|
+
) : UniffiCleaner.Cleanable {
|
|
1469
|
+
override fun clean() = cleanable.clean()
|
|
1470
|
+
}
|
|
1471
|
+
|
|
1472
|
+
/**
|
|
1473
|
+
* @suppress
|
|
1474
|
+
*/
|
|
1475
|
+
public object FfiConverterUByte: FfiConverter<UByte, Byte> {
|
|
1476
|
+
override fun lift(value: Byte): UByte {
|
|
1477
|
+
return value.toUByte()
|
|
1478
|
+
}
|
|
1479
|
+
|
|
1480
|
+
override fun read(buf: ByteBuffer): UByte {
|
|
1481
|
+
return lift(buf.get())
|
|
1482
|
+
}
|
|
1483
|
+
|
|
1484
|
+
override fun lower(value: UByte): Byte {
|
|
1485
|
+
return value.toByte()
|
|
1486
|
+
}
|
|
1487
|
+
|
|
1488
|
+
override fun allocationSize(value: UByte) = 1UL
|
|
1489
|
+
|
|
1490
|
+
override fun write(value: UByte, buf: ByteBuffer) {
|
|
1491
|
+
buf.put(value.toByte())
|
|
1492
|
+
}
|
|
1493
|
+
}
|
|
1494
|
+
|
|
1495
|
+
/**
|
|
1496
|
+
* @suppress
|
|
1497
|
+
*/
|
|
1498
|
+
public object FfiConverterUShort: FfiConverter<UShort, Short> {
|
|
1499
|
+
override fun lift(value: Short): UShort {
|
|
1500
|
+
return value.toUShort()
|
|
1501
|
+
}
|
|
1502
|
+
|
|
1503
|
+
override fun read(buf: ByteBuffer): UShort {
|
|
1504
|
+
return lift(buf.getShort())
|
|
1505
|
+
}
|
|
1506
|
+
|
|
1507
|
+
override fun lower(value: UShort): Short {
|
|
1508
|
+
return value.toShort()
|
|
1509
|
+
}
|
|
1510
|
+
|
|
1511
|
+
override fun allocationSize(value: UShort) = 2UL
|
|
1512
|
+
|
|
1513
|
+
override fun write(value: UShort, buf: ByteBuffer) {
|
|
1514
|
+
buf.putShort(value.toShort())
|
|
1515
|
+
}
|
|
1516
|
+
}
|
|
1517
|
+
|
|
1518
|
+
/**
|
|
1519
|
+
* @suppress
|
|
1520
|
+
*/
|
|
1521
|
+
public object FfiConverterShort: FfiConverter<Short, Short> {
|
|
1522
|
+
override fun lift(value: Short): Short {
|
|
1523
|
+
return value
|
|
1524
|
+
}
|
|
1525
|
+
|
|
1526
|
+
override fun read(buf: ByteBuffer): Short {
|
|
1527
|
+
return buf.getShort()
|
|
1528
|
+
}
|
|
1529
|
+
|
|
1530
|
+
override fun lower(value: Short): Short {
|
|
1531
|
+
return value
|
|
1532
|
+
}
|
|
1533
|
+
|
|
1534
|
+
override fun allocationSize(value: Short) = 2UL
|
|
1535
|
+
|
|
1536
|
+
override fun write(value: Short, buf: ByteBuffer) {
|
|
1537
|
+
buf.putShort(value)
|
|
1538
|
+
}
|
|
1539
|
+
}
|
|
1540
|
+
|
|
1541
|
+
/**
|
|
1542
|
+
* @suppress
|
|
1543
|
+
*/
|
|
1544
|
+
public object FfiConverterUInt: FfiConverter<UInt, Int> {
|
|
1545
|
+
override fun lift(value: Int): UInt {
|
|
1546
|
+
return value.toUInt()
|
|
1547
|
+
}
|
|
1548
|
+
|
|
1549
|
+
override fun read(buf: ByteBuffer): UInt {
|
|
1550
|
+
return lift(buf.getInt())
|
|
1551
|
+
}
|
|
1552
|
+
|
|
1553
|
+
override fun lower(value: UInt): Int {
|
|
1554
|
+
return value.toInt()
|
|
1555
|
+
}
|
|
1556
|
+
|
|
1557
|
+
override fun allocationSize(value: UInt) = 4UL
|
|
1558
|
+
|
|
1559
|
+
override fun write(value: UInt, buf: ByteBuffer) {
|
|
1560
|
+
buf.putInt(value.toInt())
|
|
1561
|
+
}
|
|
1562
|
+
}
|
|
1563
|
+
|
|
1564
|
+
/**
|
|
1565
|
+
* @suppress
|
|
1566
|
+
*/
|
|
1567
|
+
public object FfiConverterULong: FfiConverter<ULong, Long> {
|
|
1568
|
+
override fun lift(value: Long): ULong {
|
|
1569
|
+
return value.toULong()
|
|
1570
|
+
}
|
|
1571
|
+
|
|
1572
|
+
override fun read(buf: ByteBuffer): ULong {
|
|
1573
|
+
return lift(buf.getLong())
|
|
1574
|
+
}
|
|
1575
|
+
|
|
1576
|
+
override fun lower(value: ULong): Long {
|
|
1577
|
+
return value.toLong()
|
|
1578
|
+
}
|
|
1579
|
+
|
|
1580
|
+
override fun allocationSize(value: ULong) = 8UL
|
|
1581
|
+
|
|
1582
|
+
override fun write(value: ULong, buf: ByteBuffer) {
|
|
1583
|
+
buf.putLong(value.toLong())
|
|
1584
|
+
}
|
|
1585
|
+
}
|
|
1586
|
+
|
|
1587
|
+
/**
|
|
1588
|
+
* @suppress
|
|
1589
|
+
*/
|
|
1590
|
+
public object FfiConverterFloat: FfiConverter<Float, Float> {
|
|
1591
|
+
override fun lift(value: Float): Float {
|
|
1592
|
+
return value
|
|
1593
|
+
}
|
|
1594
|
+
|
|
1595
|
+
override fun read(buf: ByteBuffer): Float {
|
|
1596
|
+
return buf.getFloat()
|
|
1597
|
+
}
|
|
1598
|
+
|
|
1599
|
+
override fun lower(value: Float): Float {
|
|
1600
|
+
return value
|
|
1601
|
+
}
|
|
1602
|
+
|
|
1603
|
+
override fun allocationSize(value: Float) = 4UL
|
|
1604
|
+
|
|
1605
|
+
override fun write(value: Float, buf: ByteBuffer) {
|
|
1606
|
+
buf.putFloat(value)
|
|
1607
|
+
}
|
|
1608
|
+
}
|
|
1609
|
+
|
|
1610
|
+
/**
|
|
1611
|
+
* @suppress
|
|
1612
|
+
*/
|
|
1613
|
+
public object FfiConverterBoolean: FfiConverter<Boolean, Byte> {
|
|
1614
|
+
override fun lift(value: Byte): Boolean {
|
|
1615
|
+
return value.toInt() != 0
|
|
1616
|
+
}
|
|
1617
|
+
|
|
1618
|
+
override fun read(buf: ByteBuffer): Boolean {
|
|
1619
|
+
return lift(buf.get())
|
|
1620
|
+
}
|
|
1621
|
+
|
|
1622
|
+
override fun lower(value: Boolean): Byte {
|
|
1623
|
+
return if (value) 1.toByte() else 0.toByte()
|
|
1624
|
+
}
|
|
1625
|
+
|
|
1626
|
+
override fun allocationSize(value: Boolean) = 1UL
|
|
1627
|
+
|
|
1628
|
+
override fun write(value: Boolean, buf: ByteBuffer) {
|
|
1629
|
+
buf.put(lower(value))
|
|
1630
|
+
}
|
|
1631
|
+
}
|
|
1632
|
+
|
|
1633
|
+
/**
|
|
1634
|
+
* @suppress
|
|
1635
|
+
*/
|
|
1636
|
+
public object FfiConverterString: FfiConverter<String, RustBuffer.ByValue> {
|
|
1637
|
+
// Note: we don't inherit from FfiConverterRustBuffer, because we use a
|
|
1638
|
+
// special encoding when lowering/lifting. We can use `RustBuffer.len` to
|
|
1639
|
+
// store our length and avoid writing it out to the buffer.
|
|
1640
|
+
override fun lift(value: RustBuffer.ByValue): String {
|
|
1641
|
+
try {
|
|
1642
|
+
val byteArr = ByteArray(value.len.toInt())
|
|
1643
|
+
value.asByteBuffer()!!.get(byteArr)
|
|
1644
|
+
return byteArr.toString(Charsets.UTF_8)
|
|
1645
|
+
} finally {
|
|
1646
|
+
RustBuffer.free(value)
|
|
1647
|
+
}
|
|
1648
|
+
}
|
|
1649
|
+
|
|
1650
|
+
override fun read(buf: ByteBuffer): String {
|
|
1651
|
+
val len = buf.getInt()
|
|
1652
|
+
val byteArr = ByteArray(len)
|
|
1653
|
+
buf.get(byteArr)
|
|
1654
|
+
return byteArr.toString(Charsets.UTF_8)
|
|
1655
|
+
}
|
|
1656
|
+
|
|
1657
|
+
fun toUtf8(value: String): ByteBuffer {
|
|
1658
|
+
// Make sure we don't have invalid UTF-16, check for lone surrogates.
|
|
1659
|
+
return Charsets.UTF_8.newEncoder().run {
|
|
1660
|
+
onMalformedInput(CodingErrorAction.REPORT)
|
|
1661
|
+
encode(CharBuffer.wrap(value))
|
|
1662
|
+
}
|
|
1663
|
+
}
|
|
1664
|
+
|
|
1665
|
+
override fun lower(value: String): RustBuffer.ByValue {
|
|
1666
|
+
val byteBuf = toUtf8(value)
|
|
1667
|
+
// Ideally we'd pass these bytes to `ffi_bytebuffer_from_bytes`, but doing so would require us
|
|
1668
|
+
// to copy them into a JNA `Memory`. So we might as well directly copy them into a `RustBuffer`.
|
|
1669
|
+
val rbuf = RustBuffer.alloc(byteBuf.limit().toULong())
|
|
1670
|
+
rbuf.asByteBuffer()!!.put(byteBuf)
|
|
1671
|
+
return rbuf
|
|
1672
|
+
}
|
|
1673
|
+
|
|
1674
|
+
// We aren't sure exactly how many bytes our string will be once it's UTF-8
|
|
1675
|
+
// encoded. Allocate 3 bytes per UTF-16 code unit which will always be
|
|
1676
|
+
// enough.
|
|
1677
|
+
override fun allocationSize(value: String): ULong {
|
|
1678
|
+
val sizeForLength = 4UL
|
|
1679
|
+
val sizeForString = value.length.toULong() * 3UL
|
|
1680
|
+
return sizeForLength + sizeForString
|
|
1681
|
+
}
|
|
1682
|
+
|
|
1683
|
+
override fun write(value: String, buf: ByteBuffer) {
|
|
1684
|
+
val byteBuf = toUtf8(value)
|
|
1685
|
+
buf.putInt(byteBuf.limit())
|
|
1686
|
+
buf.put(byteBuf)
|
|
1687
|
+
}
|
|
1688
|
+
}
|
|
1689
|
+
|
|
1690
|
+
|
|
1691
|
+
// This template implements a class for working with a Rust struct via a handle
|
|
1692
|
+
// to the live Rust struct on the other side of the FFI.
|
|
1693
|
+
//
|
|
1694
|
+
// There's some subtlety here, because we have to be careful not to operate on a Rust
|
|
1695
|
+
// struct after it has been dropped, and because we must expose a public API for freeing
|
|
1696
|
+
// theq Kotlin wrapper object in lieu of reliable finalizers. The core requirements are:
|
|
1697
|
+
//
|
|
1698
|
+
// * Each instance holds an opaque handle to the underlying Rust struct.
|
|
1699
|
+
// Method calls need to read this handle from the object's state and pass it in to
|
|
1700
|
+
// the Rust FFI.
|
|
1701
|
+
//
|
|
1702
|
+
// * When an instance is no longer needed, its handle should be passed to a
|
|
1703
|
+
// special destructor function provided by the Rust FFI, which will drop the
|
|
1704
|
+
// underlying Rust struct.
|
|
1705
|
+
//
|
|
1706
|
+
// * Given an instance, calling code is expected to call the special
|
|
1707
|
+
// `destroy` method in order to free it after use, either by calling it explicitly
|
|
1708
|
+
// or by using a higher-level helper like the `use` method. Failing to do so risks
|
|
1709
|
+
// leaking the underlying Rust struct.
|
|
1710
|
+
//
|
|
1711
|
+
// * We can't assume that calling code will do the right thing, and must be prepared
|
|
1712
|
+
// to handle Kotlin method calls executing concurrently with or even after a call to
|
|
1713
|
+
// `destroy`, and to handle multiple (possibly concurrent!) calls to `destroy`.
|
|
1714
|
+
//
|
|
1715
|
+
// * We must never allow Rust code to operate on the underlying Rust struct after
|
|
1716
|
+
// the destructor has been called, and must never call the destructor more than once.
|
|
1717
|
+
// Doing so may trigger memory unsafety.
|
|
1718
|
+
//
|
|
1719
|
+
// * To mitigate many of the risks of leaking memory and use-after-free unsafety, a `Cleaner`
|
|
1720
|
+
// is implemented to call the destructor when the Kotlin object becomes unreachable.
|
|
1721
|
+
// This is done in a background thread. This is not a panacea, and client code should be aware that
|
|
1722
|
+
// 1. the thread may starve if some there are objects that have poorly performing
|
|
1723
|
+
// `drop` methods or do significant work in their `drop` methods.
|
|
1724
|
+
// 2. the thread is shared across the whole library. This can be tuned by using `android_cleaner = true`,
|
|
1725
|
+
// or `android = true` in the [`kotlin` section of the `uniffi.toml` file](https://mozilla.github.io/uniffi-rs/kotlin/configuration.html).
|
|
1726
|
+
//
|
|
1727
|
+
// If we try to implement this with mutual exclusion on access to the handle, there is the
|
|
1728
|
+
// possibility of a race between a method call and a concurrent call to `destroy`:
|
|
1729
|
+
//
|
|
1730
|
+
// * Thread A starts a method call, reads the value of the handle, but is interrupted
|
|
1731
|
+
// before it can pass the handle over the FFI to Rust.
|
|
1732
|
+
// * Thread B calls `destroy` and frees the underlying Rust struct.
|
|
1733
|
+
// * Thread A resumes, passing the already-read handle value to Rust and triggering
|
|
1734
|
+
// a use-after-free.
|
|
1735
|
+
//
|
|
1736
|
+
// One possible solution would be to use a `ReadWriteLock`, with each method call taking
|
|
1737
|
+
// a read lock (and thus allowed to run concurrently) and the special `destroy` method
|
|
1738
|
+
// taking a write lock (and thus blocking on live method calls). However, we aim not to
|
|
1739
|
+
// generate methods with any hidden blocking semantics, and a `destroy` method that might
|
|
1740
|
+
// block if called incorrectly seems to meet that bar.
|
|
1741
|
+
//
|
|
1742
|
+
// So, we achieve our goals by giving each instance an associated `AtomicLong` counter to track
|
|
1743
|
+
// the number of in-flight method calls, and an `AtomicBoolean` flag to indicate whether `destroy`
|
|
1744
|
+
// has been called. These are updated according to the following rules:
|
|
1745
|
+
//
|
|
1746
|
+
// * The initial value of the counter is 1, indicating a live object with no in-flight calls.
|
|
1747
|
+
// The initial value for the flag is false.
|
|
1748
|
+
//
|
|
1749
|
+
// * At the start of each method call, we atomically check the counter.
|
|
1750
|
+
// If it is 0 then the underlying Rust struct has already been destroyed and the call is aborted.
|
|
1751
|
+
// If it is nonzero them we atomically increment it by 1 and proceed with the method call.
|
|
1752
|
+
//
|
|
1753
|
+
// * At the end of each method call, we atomically decrement and check the counter.
|
|
1754
|
+
// If it has reached zero then we destroy the underlying Rust struct.
|
|
1755
|
+
//
|
|
1756
|
+
// * When `destroy` is called, we atomically flip the flag from false to true.
|
|
1757
|
+
// If the flag was already true we silently fail.
|
|
1758
|
+
// Otherwise we atomically decrement and check the counter.
|
|
1759
|
+
// If it has reached zero then we destroy the underlying Rust struct.
|
|
1760
|
+
//
|
|
1761
|
+
// Astute readers may observe that this all sounds very similar to the way that Rust's `Arc<T>` works,
|
|
1762
|
+
// and indeed it is, with the addition of a flag to guard against multiple calls to `destroy`.
|
|
1763
|
+
//
|
|
1764
|
+
// The overall effect is that the underlying Rust struct is destroyed only when `destroy` has been
|
|
1765
|
+
// called *and* all in-flight method calls have completed, avoiding violating any of the expectations
|
|
1766
|
+
// of the underlying Rust code.
|
|
1767
|
+
//
|
|
1768
|
+
// This makes a cleaner a better alternative to _not_ calling `destroy()` as
|
|
1769
|
+
// and when the object is finished with, but the abstraction is not perfect: if the Rust object's `drop`
|
|
1770
|
+
// method is slow, and/or there are many objects to cleanup, and it's on a low end Android device, then the cleaner
|
|
1771
|
+
// thread may be starved, and the app will leak memory.
|
|
1772
|
+
//
|
|
1773
|
+
// In this case, `destroy`ing manually may be a better solution.
|
|
1774
|
+
//
|
|
1775
|
+
// The cleaner can live side by side with the manual calling of `destroy`. In the order of responsiveness, uniffi objects
|
|
1776
|
+
// with Rust peers are reclaimed:
|
|
1777
|
+
//
|
|
1778
|
+
// 1. By calling the `destroy` method of the object, which calls `rustObject.free()`. If that doesn't happen:
|
|
1779
|
+
// 2. When the object becomes unreachable, AND the Cleaner thread gets to call `rustObject.free()`. If the thread is starved then:
|
|
1780
|
+
// 3. The memory is reclaimed when the process terminates.
|
|
1781
|
+
//
|
|
1782
|
+
// [1] https://stackoverflow.com/questions/24376768/can-java-finalize-an-object-when-it-is-still-in-scope/24380219
|
|
1783
|
+
//
|
|
1784
|
+
|
|
1785
|
+
|
|
1786
|
+
//
|
|
1787
|
+
public interface OfflineProtocolInterface {
|
|
1788
|
+
|
|
1789
|
+
fun `addInternetTransport`(`serverUrl`: kotlin.String, `port`: kotlin.UShort)
|
|
1790
|
+
|
|
1791
|
+
fun `addWifiDirectTransport`()
|
|
1792
|
+
|
|
1793
|
+
fun `bleFragmentReceived`(`senderId`: kotlin.String, `fragment`: List<kotlin.UByte>)
|
|
1794
|
+
|
|
1795
|
+
fun `bleGetNextFragment`(): BleFragment?
|
|
1796
|
+
|
|
1797
|
+
fun `bleGetPeerCount`(): kotlin.UInt
|
|
1798
|
+
|
|
1799
|
+
fun `blePeerDiscovered`(`peerId`: kotlin.String, `rssi`: kotlin.Short)
|
|
1800
|
+
|
|
1801
|
+
fun `blePeerLost`(`peerId`: kotlin.String)
|
|
1802
|
+
|
|
1803
|
+
fun `bleReturnFragment`()
|
|
1804
|
+
|
|
1805
|
+
fun `bleStatusChanged`(`isAvailable`: kotlin.Boolean)
|
|
1806
|
+
|
|
1807
|
+
fun `cancelFileTransfer`(`fileId`: kotlin.String)
|
|
1808
|
+
|
|
1809
|
+
fun `cleanupExpiredRoutes`()
|
|
1810
|
+
|
|
1811
|
+
fun `emitTestEvent`()
|
|
1812
|
+
|
|
1813
|
+
fun `finalizeFile`(`fileId`: kotlin.String)
|
|
1814
|
+
|
|
1815
|
+
fun `forceTransport`(`transportType`: TransportType)
|
|
1816
|
+
|
|
1817
|
+
fun `getActiveTransports`(): List<kotlin.String>
|
|
1818
|
+
|
|
1819
|
+
fun `getAllRoutes`(`destination`: kotlin.String): List<RouteEntry>
|
|
1820
|
+
|
|
1821
|
+
fun `getBatteryLevel`(): kotlin.UByte?
|
|
1822
|
+
|
|
1823
|
+
fun `getBestRoute`(`destination`: kotlin.String): RouteEntry?
|
|
1824
|
+
|
|
1825
|
+
fun `getDedupStats`(): DedupStats
|
|
1826
|
+
|
|
1827
|
+
fun `getDeliverySuccessRate`(): kotlin.Float
|
|
1828
|
+
|
|
1829
|
+
fun `getDorsConfig`(): DorsConfig
|
|
1830
|
+
|
|
1831
|
+
fun `getFileProgress`(`fileId`: kotlin.String): FileProgress?
|
|
1832
|
+
|
|
1833
|
+
fun `getMedianHops`(): kotlin.UByte
|
|
1834
|
+
|
|
1835
|
+
fun `getMedianLatency`(): kotlin.ULong
|
|
1836
|
+
|
|
1837
|
+
fun `getMessageStats`(): List<MessageStats>
|
|
1838
|
+
|
|
1839
|
+
fun `getPendingAckCount`(): kotlin.ULong
|
|
1840
|
+
|
|
1841
|
+
fun `getRelayPriority`(): RelayPriority
|
|
1842
|
+
|
|
1843
|
+
fun `getRetryQueueSize`(): kotlin.ULong
|
|
1844
|
+
|
|
1845
|
+
fun `getRoutingStats`(): RoutingStats
|
|
1846
|
+
|
|
1847
|
+
fun `getState`(): ProtocolState
|
|
1848
|
+
|
|
1849
|
+
fun `getTopology`(): NetworkTopology
|
|
1850
|
+
|
|
1851
|
+
fun `getTransportMetrics`(`transportType`: TransportType): TransportMetrics?
|
|
1852
|
+
|
|
1853
|
+
fun `hasRoute`(`destination`: kotlin.String): kotlin.Boolean
|
|
1854
|
+
|
|
1855
|
+
fun `internetGetNextMessage`(): InternetMessage?
|
|
1856
|
+
|
|
1857
|
+
fun `internetMessageReceived`(`senderId`: kotlin.String, `data`: List<kotlin.UByte>)
|
|
1858
|
+
|
|
1859
|
+
fun `internetReturnMessage`()
|
|
1860
|
+
|
|
1861
|
+
fun `internetStatusChanged`(`isConnected`: kotlin.Boolean)
|
|
1862
|
+
|
|
1863
|
+
fun `isRelay`(): kotlin.Boolean
|
|
1864
|
+
|
|
1865
|
+
fun `learnRoute`(`destination`: kotlin.String, `nextHop`: kotlin.String, `hopCount`: kotlin.UByte, `quality`: kotlin.Float)
|
|
1866
|
+
|
|
1867
|
+
fun `pause`()
|
|
1868
|
+
|
|
1869
|
+
fun `pollEvent`(): kotlin.String?
|
|
1870
|
+
|
|
1871
|
+
fun `process`()
|
|
1872
|
+
|
|
1873
|
+
fun `processFileChunk`(`fileId`: kotlin.String, `chunkIndex`: kotlin.UInt, `data`: List<kotlin.UByte>)
|
|
1874
|
+
|
|
1875
|
+
fun `receiveMessage`(): kotlin.String?
|
|
1876
|
+
|
|
1877
|
+
fun `releaseTransportLock`()
|
|
1878
|
+
|
|
1879
|
+
fun `removeNeighborRoutes`(`neighborId`: kotlin.String)
|
|
1880
|
+
|
|
1881
|
+
fun `removeTransport`(`transportType`: TransportType)
|
|
1882
|
+
|
|
1883
|
+
fun `resume`()
|
|
1884
|
+
|
|
1885
|
+
fun `sendFile`(`recipient`: kotlin.String, `filePath`: kotlin.String, `fileName`: kotlin.String): kotlin.String
|
|
1886
|
+
|
|
1887
|
+
fun `sendMessage`(`recipient`: kotlin.String, `content`: kotlin.String, `priority`: MessagePriority): kotlin.String
|
|
1888
|
+
|
|
1889
|
+
fun `setBatteryLevel`(`level`: kotlin.UByte)
|
|
1890
|
+
|
|
1891
|
+
fun `setEventCallback`(`callback`: EventCallback)
|
|
1892
|
+
|
|
1893
|
+
fun `setRelayPriority`(`priority`: RelayPriority)
|
|
1894
|
+
|
|
1895
|
+
fun `shouldEscalateToWifi`(): kotlin.Boolean
|
|
1896
|
+
|
|
1897
|
+
fun `start`()
|
|
1898
|
+
|
|
1899
|
+
fun `stop`()
|
|
1900
|
+
|
|
1901
|
+
fun `updateAckConfig`(`config`: AckConfig)
|
|
1902
|
+
|
|
1903
|
+
fun `updateDedupConfig`(`config`: DedupConfig)
|
|
1904
|
+
|
|
1905
|
+
fun `updateDorsConfig`(`config`: DorsConfig)
|
|
1906
|
+
|
|
1907
|
+
fun `updateRetryConfig`(`config`: RetryConfig)
|
|
1908
|
+
|
|
1909
|
+
fun `updateRoutingConfig`(`config`: GradientRoutingConfig)
|
|
1910
|
+
|
|
1911
|
+
fun `updateTransportMetrics`(`transportType`: TransportType, `metrics`: TransportMetrics)
|
|
1912
|
+
|
|
1913
|
+
fun `wifiDirectGetNextMessage`(): WifiDirectMessage?
|
|
1914
|
+
|
|
1915
|
+
fun `wifiDirectMessageReceived`(`senderId`: kotlin.String, `data`: List<kotlin.UByte>)
|
|
1916
|
+
|
|
1917
|
+
fun `wifiDirectPeerConnected`(`peerId`: kotlin.String)
|
|
1918
|
+
|
|
1919
|
+
fun `wifiDirectPeerDisconnected`(`peerId`: kotlin.String)
|
|
1920
|
+
|
|
1921
|
+
fun `wifiDirectStatusChanged`(`isConnected`: kotlin.Boolean)
|
|
1922
|
+
|
|
1923
|
+
companion object
|
|
1924
|
+
}
|
|
1925
|
+
|
|
1926
|
+
open class OfflineProtocol: Disposable, AutoCloseable, OfflineProtocolInterface
|
|
1927
|
+
{
|
|
1928
|
+
|
|
1929
|
+
@Suppress("UNUSED_PARAMETER")
|
|
1930
|
+
/**
|
|
1931
|
+
* @suppress
|
|
1932
|
+
*/
|
|
1933
|
+
constructor(withHandle: UniffiWithHandle, handle: Long) {
|
|
1934
|
+
this.handle = handle
|
|
1935
|
+
this.cleanable = UniffiLib.CLEANER.register(this, UniffiCleanAction(handle))
|
|
1936
|
+
}
|
|
1937
|
+
|
|
1938
|
+
/**
|
|
1939
|
+
* @suppress
|
|
1940
|
+
*
|
|
1941
|
+
* This constructor can be used to instantiate a fake object. Only used for tests. Any
|
|
1942
|
+
* attempt to actually use an object constructed this way will fail as there is no
|
|
1943
|
+
* connected Rust object.
|
|
1944
|
+
*/
|
|
1945
|
+
@Suppress("UNUSED_PARAMETER")
|
|
1946
|
+
constructor(noHandle: NoHandle) {
|
|
1947
|
+
this.handle = 0
|
|
1948
|
+
this.cleanable = UniffiLib.CLEANER.register(this, UniffiCleanAction(handle))
|
|
1949
|
+
}
|
|
1950
|
+
constructor(`config`: ProtocolConfig) :
|
|
1951
|
+
this(UniffiWithHandle,
|
|
1952
|
+
uniffiRustCallWithError(ProtocolException) { _status ->
|
|
1953
|
+
UniffiLib.uniffi_offline_protocol_uniffi_fn_constructor_offlineprotocol_new(
|
|
1954
|
+
|
|
1955
|
+
FfiConverterTypeProtocolConfig.lower(`config`),_status)
|
|
1956
|
+
}
|
|
1957
|
+
)
|
|
1958
|
+
|
|
1959
|
+
protected val handle: Long
|
|
1960
|
+
protected val cleanable: UniffiCleaner.Cleanable
|
|
1961
|
+
|
|
1962
|
+
private val wasDestroyed = AtomicBoolean(false)
|
|
1963
|
+
private val callCounter = AtomicLong(1)
|
|
1964
|
+
|
|
1965
|
+
override fun destroy() {
|
|
1966
|
+
// Only allow a single call to this method.
|
|
1967
|
+
// TODO: maybe we should log a warning if called more than once?
|
|
1968
|
+
if (this.wasDestroyed.compareAndSet(false, true)) {
|
|
1969
|
+
// This decrement always matches the initial count of 1 given at creation time.
|
|
1970
|
+
if (this.callCounter.decrementAndGet() == 0L) {
|
|
1971
|
+
cleanable.clean()
|
|
1972
|
+
}
|
|
1973
|
+
}
|
|
1974
|
+
}
|
|
1975
|
+
|
|
1976
|
+
@Synchronized
|
|
1977
|
+
override fun close() {
|
|
1978
|
+
this.destroy()
|
|
1979
|
+
}
|
|
1980
|
+
|
|
1981
|
+
internal inline fun <R> callWithHandle(block: (handle: Long) -> R): R {
|
|
1982
|
+
// Check and increment the call counter, to keep the object alive.
|
|
1983
|
+
// This needs a compare-and-set retry loop in case of concurrent updates.
|
|
1984
|
+
do {
|
|
1985
|
+
val c = this.callCounter.get()
|
|
1986
|
+
if (c == 0L) {
|
|
1987
|
+
throw IllegalStateException("${this.javaClass.simpleName} object has already been destroyed")
|
|
1988
|
+
}
|
|
1989
|
+
if (c == Long.MAX_VALUE) {
|
|
1990
|
+
throw IllegalStateException("${this.javaClass.simpleName} call counter would overflow")
|
|
1991
|
+
}
|
|
1992
|
+
} while (! this.callCounter.compareAndSet(c, c + 1L))
|
|
1993
|
+
// Now we can safely do the method call without the handle being freed concurrently.
|
|
1994
|
+
try {
|
|
1995
|
+
return block(this.uniffiCloneHandle())
|
|
1996
|
+
} finally {
|
|
1997
|
+
// This decrement always matches the increment we performed above.
|
|
1998
|
+
if (this.callCounter.decrementAndGet() == 0L) {
|
|
1999
|
+
cleanable.clean()
|
|
2000
|
+
}
|
|
2001
|
+
}
|
|
2002
|
+
}
|
|
2003
|
+
|
|
2004
|
+
// Use a static inner class instead of a closure so as not to accidentally
|
|
2005
|
+
// capture `this` as part of the cleanable's action.
|
|
2006
|
+
private class UniffiCleanAction(private val handle: Long) : Runnable {
|
|
2007
|
+
override fun run() {
|
|
2008
|
+
if (handle == 0.toLong()) {
|
|
2009
|
+
// Fake object created with `NoHandle`, don't try to free.
|
|
2010
|
+
return;
|
|
2011
|
+
}
|
|
2012
|
+
uniffiRustCall { status ->
|
|
2013
|
+
UniffiLib.uniffi_offline_protocol_uniffi_fn_free_offlineprotocol(handle, status)
|
|
2014
|
+
}
|
|
2015
|
+
}
|
|
2016
|
+
}
|
|
2017
|
+
|
|
2018
|
+
/**
|
|
2019
|
+
* @suppress
|
|
2020
|
+
*/
|
|
2021
|
+
fun uniffiCloneHandle(): Long {
|
|
2022
|
+
if (handle == 0.toLong()) {
|
|
2023
|
+
throw InternalException("uniffiCloneHandle() called on NoHandle object");
|
|
2024
|
+
}
|
|
2025
|
+
return uniffiRustCall() { status ->
|
|
2026
|
+
UniffiLib.uniffi_offline_protocol_uniffi_fn_clone_offlineprotocol(handle, status)
|
|
2027
|
+
}
|
|
2028
|
+
}
|
|
2029
|
+
|
|
2030
|
+
|
|
2031
|
+
@Throws(ProtocolException::class)override fun `addInternetTransport`(`serverUrl`: kotlin.String, `port`: kotlin.UShort)
|
|
2032
|
+
=
|
|
2033
|
+
callWithHandle {
|
|
2034
|
+
uniffiRustCallWithError(ProtocolException) { _status ->
|
|
2035
|
+
UniffiLib.uniffi_offline_protocol_uniffi_fn_method_offlineprotocol_add_internet_transport(
|
|
2036
|
+
it,
|
|
2037
|
+
FfiConverterString.lower(`serverUrl`),FfiConverterUShort.lower(`port`),_status)
|
|
2038
|
+
}
|
|
2039
|
+
}
|
|
2040
|
+
|
|
2041
|
+
|
|
2042
|
+
|
|
2043
|
+
|
|
2044
|
+
@Throws(ProtocolException::class)override fun `addWifiDirectTransport`()
|
|
2045
|
+
=
|
|
2046
|
+
callWithHandle {
|
|
2047
|
+
uniffiRustCallWithError(ProtocolException) { _status ->
|
|
2048
|
+
UniffiLib.uniffi_offline_protocol_uniffi_fn_method_offlineprotocol_add_wifi_direct_transport(
|
|
2049
|
+
it,
|
|
2050
|
+
_status)
|
|
2051
|
+
}
|
|
2052
|
+
}
|
|
2053
|
+
|
|
2054
|
+
|
|
2055
|
+
|
|
2056
|
+
|
|
2057
|
+
@Throws(ProtocolException::class)override fun `bleFragmentReceived`(`senderId`: kotlin.String, `fragment`: List<kotlin.UByte>)
|
|
2058
|
+
=
|
|
2059
|
+
callWithHandle {
|
|
2060
|
+
uniffiRustCallWithError(ProtocolException) { _status ->
|
|
2061
|
+
UniffiLib.uniffi_offline_protocol_uniffi_fn_method_offlineprotocol_ble_fragment_received(
|
|
2062
|
+
it,
|
|
2063
|
+
FfiConverterString.lower(`senderId`),FfiConverterSequenceUByte.lower(`fragment`),_status)
|
|
2064
|
+
}
|
|
2065
|
+
}
|
|
2066
|
+
|
|
2067
|
+
|
|
2068
|
+
|
|
2069
|
+
override fun `bleGetNextFragment`(): BleFragment? {
|
|
2070
|
+
return FfiConverterOptionalTypeBleFragment.lift(
|
|
2071
|
+
callWithHandle {
|
|
2072
|
+
uniffiRustCall() { _status ->
|
|
2073
|
+
UniffiLib.uniffi_offline_protocol_uniffi_fn_method_offlineprotocol_ble_get_next_fragment(
|
|
2074
|
+
it,
|
|
2075
|
+
_status)
|
|
2076
|
+
}
|
|
2077
|
+
}
|
|
2078
|
+
)
|
|
2079
|
+
}
|
|
2080
|
+
|
|
2081
|
+
|
|
2082
|
+
override fun `bleGetPeerCount`(): kotlin.UInt {
|
|
2083
|
+
return FfiConverterUInt.lift(
|
|
2084
|
+
callWithHandle {
|
|
2085
|
+
uniffiRustCall() { _status ->
|
|
2086
|
+
UniffiLib.uniffi_offline_protocol_uniffi_fn_method_offlineprotocol_ble_get_peer_count(
|
|
2087
|
+
it,
|
|
2088
|
+
_status)
|
|
2089
|
+
}
|
|
2090
|
+
}
|
|
2091
|
+
)
|
|
2092
|
+
}
|
|
2093
|
+
|
|
2094
|
+
|
|
2095
|
+
|
|
2096
|
+
@Throws(ProtocolException::class)override fun `blePeerDiscovered`(`peerId`: kotlin.String, `rssi`: kotlin.Short)
|
|
2097
|
+
=
|
|
2098
|
+
callWithHandle {
|
|
2099
|
+
uniffiRustCallWithError(ProtocolException) { _status ->
|
|
2100
|
+
UniffiLib.uniffi_offline_protocol_uniffi_fn_method_offlineprotocol_ble_peer_discovered(
|
|
2101
|
+
it,
|
|
2102
|
+
FfiConverterString.lower(`peerId`),FfiConverterShort.lower(`rssi`),_status)
|
|
2103
|
+
}
|
|
2104
|
+
}
|
|
2105
|
+
|
|
2106
|
+
|
|
2107
|
+
|
|
2108
|
+
|
|
2109
|
+
@Throws(ProtocolException::class)override fun `blePeerLost`(`peerId`: kotlin.String)
|
|
2110
|
+
=
|
|
2111
|
+
callWithHandle {
|
|
2112
|
+
uniffiRustCallWithError(ProtocolException) { _status ->
|
|
2113
|
+
UniffiLib.uniffi_offline_protocol_uniffi_fn_method_offlineprotocol_ble_peer_lost(
|
|
2114
|
+
it,
|
|
2115
|
+
FfiConverterString.lower(`peerId`),_status)
|
|
2116
|
+
}
|
|
2117
|
+
}
|
|
2118
|
+
|
|
2119
|
+
|
|
2120
|
+
|
|
2121
|
+
override fun `bleReturnFragment`()
|
|
2122
|
+
=
|
|
2123
|
+
callWithHandle {
|
|
2124
|
+
uniffiRustCall() { _status ->
|
|
2125
|
+
UniffiLib.uniffi_offline_protocol_uniffi_fn_method_offlineprotocol_ble_return_fragment(
|
|
2126
|
+
it,
|
|
2127
|
+
_status)
|
|
2128
|
+
}
|
|
2129
|
+
}
|
|
2130
|
+
|
|
2131
|
+
|
|
2132
|
+
|
|
2133
|
+
|
|
2134
|
+
@Throws(ProtocolException::class)override fun `bleStatusChanged`(`isAvailable`: kotlin.Boolean)
|
|
2135
|
+
=
|
|
2136
|
+
callWithHandle {
|
|
2137
|
+
uniffiRustCallWithError(ProtocolException) { _status ->
|
|
2138
|
+
UniffiLib.uniffi_offline_protocol_uniffi_fn_method_offlineprotocol_ble_status_changed(
|
|
2139
|
+
it,
|
|
2140
|
+
FfiConverterBoolean.lower(`isAvailable`),_status)
|
|
2141
|
+
}
|
|
2142
|
+
}
|
|
2143
|
+
|
|
2144
|
+
|
|
2145
|
+
|
|
2146
|
+
|
|
2147
|
+
@Throws(ProtocolException::class)override fun `cancelFileTransfer`(`fileId`: kotlin.String)
|
|
2148
|
+
=
|
|
2149
|
+
callWithHandle {
|
|
2150
|
+
uniffiRustCallWithError(ProtocolException) { _status ->
|
|
2151
|
+
UniffiLib.uniffi_offline_protocol_uniffi_fn_method_offlineprotocol_cancel_file_transfer(
|
|
2152
|
+
it,
|
|
2153
|
+
FfiConverterString.lower(`fileId`),_status)
|
|
2154
|
+
}
|
|
2155
|
+
}
|
|
2156
|
+
|
|
2157
|
+
|
|
2158
|
+
|
|
2159
|
+
override fun `cleanupExpiredRoutes`()
|
|
2160
|
+
=
|
|
2161
|
+
callWithHandle {
|
|
2162
|
+
uniffiRustCall() { _status ->
|
|
2163
|
+
UniffiLib.uniffi_offline_protocol_uniffi_fn_method_offlineprotocol_cleanup_expired_routes(
|
|
2164
|
+
it,
|
|
2165
|
+
_status)
|
|
2166
|
+
}
|
|
2167
|
+
}
|
|
2168
|
+
|
|
2169
|
+
|
|
2170
|
+
|
|
2171
|
+
override fun `emitTestEvent`()
|
|
2172
|
+
=
|
|
2173
|
+
callWithHandle {
|
|
2174
|
+
uniffiRustCall() { _status ->
|
|
2175
|
+
UniffiLib.uniffi_offline_protocol_uniffi_fn_method_offlineprotocol_emit_test_event(
|
|
2176
|
+
it,
|
|
2177
|
+
_status)
|
|
2178
|
+
}
|
|
2179
|
+
}
|
|
2180
|
+
|
|
2181
|
+
|
|
2182
|
+
|
|
2183
|
+
|
|
2184
|
+
@Throws(ProtocolException::class)override fun `finalizeFile`(`fileId`: kotlin.String)
|
|
2185
|
+
=
|
|
2186
|
+
callWithHandle {
|
|
2187
|
+
uniffiRustCallWithError(ProtocolException) { _status ->
|
|
2188
|
+
UniffiLib.uniffi_offline_protocol_uniffi_fn_method_offlineprotocol_finalize_file(
|
|
2189
|
+
it,
|
|
2190
|
+
FfiConverterString.lower(`fileId`),_status)
|
|
2191
|
+
}
|
|
2192
|
+
}
|
|
2193
|
+
|
|
2194
|
+
|
|
2195
|
+
|
|
2196
|
+
|
|
2197
|
+
@Throws(ProtocolException::class)override fun `forceTransport`(`transportType`: TransportType)
|
|
2198
|
+
=
|
|
2199
|
+
callWithHandle {
|
|
2200
|
+
uniffiRustCallWithError(ProtocolException) { _status ->
|
|
2201
|
+
UniffiLib.uniffi_offline_protocol_uniffi_fn_method_offlineprotocol_force_transport(
|
|
2202
|
+
it,
|
|
2203
|
+
FfiConverterTypeTransportType.lower(`transportType`),_status)
|
|
2204
|
+
}
|
|
2205
|
+
}
|
|
2206
|
+
|
|
2207
|
+
|
|
2208
|
+
|
|
2209
|
+
override fun `getActiveTransports`(): List<kotlin.String> {
|
|
2210
|
+
return FfiConverterSequenceString.lift(
|
|
2211
|
+
callWithHandle {
|
|
2212
|
+
uniffiRustCall() { _status ->
|
|
2213
|
+
UniffiLib.uniffi_offline_protocol_uniffi_fn_method_offlineprotocol_get_active_transports(
|
|
2214
|
+
it,
|
|
2215
|
+
_status)
|
|
2216
|
+
}
|
|
2217
|
+
}
|
|
2218
|
+
)
|
|
2219
|
+
}
|
|
2220
|
+
|
|
2221
|
+
|
|
2222
|
+
override fun `getAllRoutes`(`destination`: kotlin.String): List<RouteEntry> {
|
|
2223
|
+
return FfiConverterSequenceTypeRouteEntry.lift(
|
|
2224
|
+
callWithHandle {
|
|
2225
|
+
uniffiRustCall() { _status ->
|
|
2226
|
+
UniffiLib.uniffi_offline_protocol_uniffi_fn_method_offlineprotocol_get_all_routes(
|
|
2227
|
+
it,
|
|
2228
|
+
FfiConverterString.lower(`destination`),_status)
|
|
2229
|
+
}
|
|
2230
|
+
}
|
|
2231
|
+
)
|
|
2232
|
+
}
|
|
2233
|
+
|
|
2234
|
+
|
|
2235
|
+
override fun `getBatteryLevel`(): kotlin.UByte? {
|
|
2236
|
+
return FfiConverterOptionalUByte.lift(
|
|
2237
|
+
callWithHandle {
|
|
2238
|
+
uniffiRustCall() { _status ->
|
|
2239
|
+
UniffiLib.uniffi_offline_protocol_uniffi_fn_method_offlineprotocol_get_battery_level(
|
|
2240
|
+
it,
|
|
2241
|
+
_status)
|
|
2242
|
+
}
|
|
2243
|
+
}
|
|
2244
|
+
)
|
|
2245
|
+
}
|
|
2246
|
+
|
|
2247
|
+
|
|
2248
|
+
override fun `getBestRoute`(`destination`: kotlin.String): RouteEntry? {
|
|
2249
|
+
return FfiConverterOptionalTypeRouteEntry.lift(
|
|
2250
|
+
callWithHandle {
|
|
2251
|
+
uniffiRustCall() { _status ->
|
|
2252
|
+
UniffiLib.uniffi_offline_protocol_uniffi_fn_method_offlineprotocol_get_best_route(
|
|
2253
|
+
it,
|
|
2254
|
+
FfiConverterString.lower(`destination`),_status)
|
|
2255
|
+
}
|
|
2256
|
+
}
|
|
2257
|
+
)
|
|
2258
|
+
}
|
|
2259
|
+
|
|
2260
|
+
|
|
2261
|
+
override fun `getDedupStats`(): DedupStats {
|
|
2262
|
+
return FfiConverterTypeDedupStats.lift(
|
|
2263
|
+
callWithHandle {
|
|
2264
|
+
uniffiRustCall() { _status ->
|
|
2265
|
+
UniffiLib.uniffi_offline_protocol_uniffi_fn_method_offlineprotocol_get_dedup_stats(
|
|
2266
|
+
it,
|
|
2267
|
+
_status)
|
|
2268
|
+
}
|
|
2269
|
+
}
|
|
2270
|
+
)
|
|
2271
|
+
}
|
|
2272
|
+
|
|
2273
|
+
|
|
2274
|
+
override fun `getDeliverySuccessRate`(): kotlin.Float {
|
|
2275
|
+
return FfiConverterFloat.lift(
|
|
2276
|
+
callWithHandle {
|
|
2277
|
+
uniffiRustCall() { _status ->
|
|
2278
|
+
UniffiLib.uniffi_offline_protocol_uniffi_fn_method_offlineprotocol_get_delivery_success_rate(
|
|
2279
|
+
it,
|
|
2280
|
+
_status)
|
|
2281
|
+
}
|
|
2282
|
+
}
|
|
2283
|
+
)
|
|
2284
|
+
}
|
|
2285
|
+
|
|
2286
|
+
|
|
2287
|
+
override fun `getDorsConfig`(): DorsConfig {
|
|
2288
|
+
return FfiConverterTypeDorsConfig.lift(
|
|
2289
|
+
callWithHandle {
|
|
2290
|
+
uniffiRustCall() { _status ->
|
|
2291
|
+
UniffiLib.uniffi_offline_protocol_uniffi_fn_method_offlineprotocol_get_dors_config(
|
|
2292
|
+
it,
|
|
2293
|
+
_status)
|
|
2294
|
+
}
|
|
2295
|
+
}
|
|
2296
|
+
)
|
|
2297
|
+
}
|
|
2298
|
+
|
|
2299
|
+
|
|
2300
|
+
override fun `getFileProgress`(`fileId`: kotlin.String): FileProgress? {
|
|
2301
|
+
return FfiConverterOptionalTypeFileProgress.lift(
|
|
2302
|
+
callWithHandle {
|
|
2303
|
+
uniffiRustCall() { _status ->
|
|
2304
|
+
UniffiLib.uniffi_offline_protocol_uniffi_fn_method_offlineprotocol_get_file_progress(
|
|
2305
|
+
it,
|
|
2306
|
+
FfiConverterString.lower(`fileId`),_status)
|
|
2307
|
+
}
|
|
2308
|
+
}
|
|
2309
|
+
)
|
|
2310
|
+
}
|
|
2311
|
+
|
|
2312
|
+
|
|
2313
|
+
override fun `getMedianHops`(): kotlin.UByte {
|
|
2314
|
+
return FfiConverterUByte.lift(
|
|
2315
|
+
callWithHandle {
|
|
2316
|
+
uniffiRustCall() { _status ->
|
|
2317
|
+
UniffiLib.uniffi_offline_protocol_uniffi_fn_method_offlineprotocol_get_median_hops(
|
|
2318
|
+
it,
|
|
2319
|
+
_status)
|
|
2320
|
+
}
|
|
2321
|
+
}
|
|
2322
|
+
)
|
|
2323
|
+
}
|
|
2324
|
+
|
|
2325
|
+
|
|
2326
|
+
override fun `getMedianLatency`(): kotlin.ULong {
|
|
2327
|
+
return FfiConverterULong.lift(
|
|
2328
|
+
callWithHandle {
|
|
2329
|
+
uniffiRustCall() { _status ->
|
|
2330
|
+
UniffiLib.uniffi_offline_protocol_uniffi_fn_method_offlineprotocol_get_median_latency(
|
|
2331
|
+
it,
|
|
2332
|
+
_status)
|
|
2333
|
+
}
|
|
2334
|
+
}
|
|
2335
|
+
)
|
|
2336
|
+
}
|
|
2337
|
+
|
|
2338
|
+
|
|
2339
|
+
override fun `getMessageStats`(): List<MessageStats> {
|
|
2340
|
+
return FfiConverterSequenceTypeMessageStats.lift(
|
|
2341
|
+
callWithHandle {
|
|
2342
|
+
uniffiRustCall() { _status ->
|
|
2343
|
+
UniffiLib.uniffi_offline_protocol_uniffi_fn_method_offlineprotocol_get_message_stats(
|
|
2344
|
+
it,
|
|
2345
|
+
_status)
|
|
2346
|
+
}
|
|
2347
|
+
}
|
|
2348
|
+
)
|
|
2349
|
+
}
|
|
2350
|
+
|
|
2351
|
+
|
|
2352
|
+
override fun `getPendingAckCount`(): kotlin.ULong {
|
|
2353
|
+
return FfiConverterULong.lift(
|
|
2354
|
+
callWithHandle {
|
|
2355
|
+
uniffiRustCall() { _status ->
|
|
2356
|
+
UniffiLib.uniffi_offline_protocol_uniffi_fn_method_offlineprotocol_get_pending_ack_count(
|
|
2357
|
+
it,
|
|
2358
|
+
_status)
|
|
2359
|
+
}
|
|
2360
|
+
}
|
|
2361
|
+
)
|
|
2362
|
+
}
|
|
2363
|
+
|
|
2364
|
+
|
|
2365
|
+
override fun `getRelayPriority`(): RelayPriority {
|
|
2366
|
+
return FfiConverterTypeRelayPriority.lift(
|
|
2367
|
+
callWithHandle {
|
|
2368
|
+
uniffiRustCall() { _status ->
|
|
2369
|
+
UniffiLib.uniffi_offline_protocol_uniffi_fn_method_offlineprotocol_get_relay_priority(
|
|
2370
|
+
it,
|
|
2371
|
+
_status)
|
|
2372
|
+
}
|
|
2373
|
+
}
|
|
2374
|
+
)
|
|
2375
|
+
}
|
|
2376
|
+
|
|
2377
|
+
|
|
2378
|
+
override fun `getRetryQueueSize`(): kotlin.ULong {
|
|
2379
|
+
return FfiConverterULong.lift(
|
|
2380
|
+
callWithHandle {
|
|
2381
|
+
uniffiRustCall() { _status ->
|
|
2382
|
+
UniffiLib.uniffi_offline_protocol_uniffi_fn_method_offlineprotocol_get_retry_queue_size(
|
|
2383
|
+
it,
|
|
2384
|
+
_status)
|
|
2385
|
+
}
|
|
2386
|
+
}
|
|
2387
|
+
)
|
|
2388
|
+
}
|
|
2389
|
+
|
|
2390
|
+
|
|
2391
|
+
override fun `getRoutingStats`(): RoutingStats {
|
|
2392
|
+
return FfiConverterTypeRoutingStats.lift(
|
|
2393
|
+
callWithHandle {
|
|
2394
|
+
uniffiRustCall() { _status ->
|
|
2395
|
+
UniffiLib.uniffi_offline_protocol_uniffi_fn_method_offlineprotocol_get_routing_stats(
|
|
2396
|
+
it,
|
|
2397
|
+
_status)
|
|
2398
|
+
}
|
|
2399
|
+
}
|
|
2400
|
+
)
|
|
2401
|
+
}
|
|
2402
|
+
|
|
2403
|
+
|
|
2404
|
+
override fun `getState`(): ProtocolState {
|
|
2405
|
+
return FfiConverterTypeProtocolState.lift(
|
|
2406
|
+
callWithHandle {
|
|
2407
|
+
uniffiRustCall() { _status ->
|
|
2408
|
+
UniffiLib.uniffi_offline_protocol_uniffi_fn_method_offlineprotocol_get_state(
|
|
2409
|
+
it,
|
|
2410
|
+
_status)
|
|
2411
|
+
}
|
|
2412
|
+
}
|
|
2413
|
+
)
|
|
2414
|
+
}
|
|
2415
|
+
|
|
2416
|
+
|
|
2417
|
+
|
|
2418
|
+
@Throws(ProtocolException::class)override fun `getTopology`(): NetworkTopology {
|
|
2419
|
+
return FfiConverterTypeNetworkTopology.lift(
|
|
2420
|
+
callWithHandle {
|
|
2421
|
+
uniffiRustCallWithError(ProtocolException) { _status ->
|
|
2422
|
+
UniffiLib.uniffi_offline_protocol_uniffi_fn_method_offlineprotocol_get_topology(
|
|
2423
|
+
it,
|
|
2424
|
+
_status)
|
|
2425
|
+
}
|
|
2426
|
+
}
|
|
2427
|
+
)
|
|
2428
|
+
}
|
|
2429
|
+
|
|
2430
|
+
|
|
2431
|
+
override fun `getTransportMetrics`(`transportType`: TransportType): TransportMetrics? {
|
|
2432
|
+
return FfiConverterOptionalTypeTransportMetrics.lift(
|
|
2433
|
+
callWithHandle {
|
|
2434
|
+
uniffiRustCall() { _status ->
|
|
2435
|
+
UniffiLib.uniffi_offline_protocol_uniffi_fn_method_offlineprotocol_get_transport_metrics(
|
|
2436
|
+
it,
|
|
2437
|
+
FfiConverterTypeTransportType.lower(`transportType`),_status)
|
|
2438
|
+
}
|
|
2439
|
+
}
|
|
2440
|
+
)
|
|
2441
|
+
}
|
|
2442
|
+
|
|
2443
|
+
|
|
2444
|
+
override fun `hasRoute`(`destination`: kotlin.String): kotlin.Boolean {
|
|
2445
|
+
return FfiConverterBoolean.lift(
|
|
2446
|
+
callWithHandle {
|
|
2447
|
+
uniffiRustCall() { _status ->
|
|
2448
|
+
UniffiLib.uniffi_offline_protocol_uniffi_fn_method_offlineprotocol_has_route(
|
|
2449
|
+
it,
|
|
2450
|
+
FfiConverterString.lower(`destination`),_status)
|
|
2451
|
+
}
|
|
2452
|
+
}
|
|
2453
|
+
)
|
|
2454
|
+
}
|
|
2455
|
+
|
|
2456
|
+
|
|
2457
|
+
override fun `internetGetNextMessage`(): InternetMessage? {
|
|
2458
|
+
return FfiConverterOptionalTypeInternetMessage.lift(
|
|
2459
|
+
callWithHandle {
|
|
2460
|
+
uniffiRustCall() { _status ->
|
|
2461
|
+
UniffiLib.uniffi_offline_protocol_uniffi_fn_method_offlineprotocol_internet_get_next_message(
|
|
2462
|
+
it,
|
|
2463
|
+
_status)
|
|
2464
|
+
}
|
|
2465
|
+
}
|
|
2466
|
+
)
|
|
2467
|
+
}
|
|
2468
|
+
|
|
2469
|
+
|
|
2470
|
+
|
|
2471
|
+
@Throws(ProtocolException::class)override fun `internetMessageReceived`(`senderId`: kotlin.String, `data`: List<kotlin.UByte>)
|
|
2472
|
+
=
|
|
2473
|
+
callWithHandle {
|
|
2474
|
+
uniffiRustCallWithError(ProtocolException) { _status ->
|
|
2475
|
+
UniffiLib.uniffi_offline_protocol_uniffi_fn_method_offlineprotocol_internet_message_received(
|
|
2476
|
+
it,
|
|
2477
|
+
FfiConverterString.lower(`senderId`),FfiConverterSequenceUByte.lower(`data`),_status)
|
|
2478
|
+
}
|
|
2479
|
+
}
|
|
2480
|
+
|
|
2481
|
+
|
|
2482
|
+
|
|
2483
|
+
override fun `internetReturnMessage`()
|
|
2484
|
+
=
|
|
2485
|
+
callWithHandle {
|
|
2486
|
+
uniffiRustCall() { _status ->
|
|
2487
|
+
UniffiLib.uniffi_offline_protocol_uniffi_fn_method_offlineprotocol_internet_return_message(
|
|
2488
|
+
it,
|
|
2489
|
+
_status)
|
|
2490
|
+
}
|
|
2491
|
+
}
|
|
2492
|
+
|
|
2493
|
+
|
|
2494
|
+
|
|
2495
|
+
|
|
2496
|
+
@Throws(ProtocolException::class)override fun `internetStatusChanged`(`isConnected`: kotlin.Boolean)
|
|
2497
|
+
=
|
|
2498
|
+
callWithHandle {
|
|
2499
|
+
uniffiRustCallWithError(ProtocolException) { _status ->
|
|
2500
|
+
UniffiLib.uniffi_offline_protocol_uniffi_fn_method_offlineprotocol_internet_status_changed(
|
|
2501
|
+
it,
|
|
2502
|
+
FfiConverterBoolean.lower(`isConnected`),_status)
|
|
2503
|
+
}
|
|
2504
|
+
}
|
|
2505
|
+
|
|
2506
|
+
|
|
2507
|
+
|
|
2508
|
+
override fun `isRelay`(): kotlin.Boolean {
|
|
2509
|
+
return FfiConverterBoolean.lift(
|
|
2510
|
+
callWithHandle {
|
|
2511
|
+
uniffiRustCall() { _status ->
|
|
2512
|
+
UniffiLib.uniffi_offline_protocol_uniffi_fn_method_offlineprotocol_is_relay(
|
|
2513
|
+
it,
|
|
2514
|
+
_status)
|
|
2515
|
+
}
|
|
2516
|
+
}
|
|
2517
|
+
)
|
|
2518
|
+
}
|
|
2519
|
+
|
|
2520
|
+
|
|
2521
|
+
override fun `learnRoute`(`destination`: kotlin.String, `nextHop`: kotlin.String, `hopCount`: kotlin.UByte, `quality`: kotlin.Float)
|
|
2522
|
+
=
|
|
2523
|
+
callWithHandle {
|
|
2524
|
+
uniffiRustCall() { _status ->
|
|
2525
|
+
UniffiLib.uniffi_offline_protocol_uniffi_fn_method_offlineprotocol_learn_route(
|
|
2526
|
+
it,
|
|
2527
|
+
FfiConverterString.lower(`destination`),FfiConverterString.lower(`nextHop`),FfiConverterUByte.lower(`hopCount`),FfiConverterFloat.lower(`quality`),_status)
|
|
2528
|
+
}
|
|
2529
|
+
}
|
|
2530
|
+
|
|
2531
|
+
|
|
2532
|
+
|
|
2533
|
+
|
|
2534
|
+
@Throws(ProtocolException::class)override fun `pause`()
|
|
2535
|
+
=
|
|
2536
|
+
callWithHandle {
|
|
2537
|
+
uniffiRustCallWithError(ProtocolException) { _status ->
|
|
2538
|
+
UniffiLib.uniffi_offline_protocol_uniffi_fn_method_offlineprotocol_pause(
|
|
2539
|
+
it,
|
|
2540
|
+
_status)
|
|
2541
|
+
}
|
|
2542
|
+
}
|
|
2543
|
+
|
|
2544
|
+
|
|
2545
|
+
|
|
2546
|
+
override fun `pollEvent`(): kotlin.String? {
|
|
2547
|
+
return FfiConverterOptionalString.lift(
|
|
2548
|
+
callWithHandle {
|
|
2549
|
+
uniffiRustCall() { _status ->
|
|
2550
|
+
UniffiLib.uniffi_offline_protocol_uniffi_fn_method_offlineprotocol_poll_event(
|
|
2551
|
+
it,
|
|
2552
|
+
_status)
|
|
2553
|
+
}
|
|
2554
|
+
}
|
|
2555
|
+
)
|
|
2556
|
+
}
|
|
2557
|
+
|
|
2558
|
+
|
|
2559
|
+
|
|
2560
|
+
@Throws(ProtocolException::class)override fun `process`()
|
|
2561
|
+
=
|
|
2562
|
+
callWithHandle {
|
|
2563
|
+
uniffiRustCallWithError(ProtocolException) { _status ->
|
|
2564
|
+
UniffiLib.uniffi_offline_protocol_uniffi_fn_method_offlineprotocol_process(
|
|
2565
|
+
it,
|
|
2566
|
+
_status)
|
|
2567
|
+
}
|
|
2568
|
+
}
|
|
2569
|
+
|
|
2570
|
+
|
|
2571
|
+
|
|
2572
|
+
|
|
2573
|
+
@Throws(ProtocolException::class)override fun `processFileChunk`(`fileId`: kotlin.String, `chunkIndex`: kotlin.UInt, `data`: List<kotlin.UByte>)
|
|
2574
|
+
=
|
|
2575
|
+
callWithHandle {
|
|
2576
|
+
uniffiRustCallWithError(ProtocolException) { _status ->
|
|
2577
|
+
UniffiLib.uniffi_offline_protocol_uniffi_fn_method_offlineprotocol_process_file_chunk(
|
|
2578
|
+
it,
|
|
2579
|
+
FfiConverterString.lower(`fileId`),FfiConverterUInt.lower(`chunkIndex`),FfiConverterSequenceUByte.lower(`data`),_status)
|
|
2580
|
+
}
|
|
2581
|
+
}
|
|
2582
|
+
|
|
2583
|
+
|
|
2584
|
+
|
|
2585
|
+
override fun `receiveMessage`(): kotlin.String? {
|
|
2586
|
+
return FfiConverterOptionalString.lift(
|
|
2587
|
+
callWithHandle {
|
|
2588
|
+
uniffiRustCall() { _status ->
|
|
2589
|
+
UniffiLib.uniffi_offline_protocol_uniffi_fn_method_offlineprotocol_receive_message(
|
|
2590
|
+
it,
|
|
2591
|
+
_status)
|
|
2592
|
+
}
|
|
2593
|
+
}
|
|
2594
|
+
)
|
|
2595
|
+
}
|
|
2596
|
+
|
|
2597
|
+
|
|
2598
|
+
override fun `releaseTransportLock`()
|
|
2599
|
+
=
|
|
2600
|
+
callWithHandle {
|
|
2601
|
+
uniffiRustCall() { _status ->
|
|
2602
|
+
UniffiLib.uniffi_offline_protocol_uniffi_fn_method_offlineprotocol_release_transport_lock(
|
|
2603
|
+
it,
|
|
2604
|
+
_status)
|
|
2605
|
+
}
|
|
2606
|
+
}
|
|
2607
|
+
|
|
2608
|
+
|
|
2609
|
+
|
|
2610
|
+
override fun `removeNeighborRoutes`(`neighborId`: kotlin.String)
|
|
2611
|
+
=
|
|
2612
|
+
callWithHandle {
|
|
2613
|
+
uniffiRustCall() { _status ->
|
|
2614
|
+
UniffiLib.uniffi_offline_protocol_uniffi_fn_method_offlineprotocol_remove_neighbor_routes(
|
|
2615
|
+
it,
|
|
2616
|
+
FfiConverterString.lower(`neighborId`),_status)
|
|
2617
|
+
}
|
|
2618
|
+
}
|
|
2619
|
+
|
|
2620
|
+
|
|
2621
|
+
|
|
2622
|
+
|
|
2623
|
+
@Throws(ProtocolException::class)override fun `removeTransport`(`transportType`: TransportType)
|
|
2624
|
+
=
|
|
2625
|
+
callWithHandle {
|
|
2626
|
+
uniffiRustCallWithError(ProtocolException) { _status ->
|
|
2627
|
+
UniffiLib.uniffi_offline_protocol_uniffi_fn_method_offlineprotocol_remove_transport(
|
|
2628
|
+
it,
|
|
2629
|
+
FfiConverterTypeTransportType.lower(`transportType`),_status)
|
|
2630
|
+
}
|
|
2631
|
+
}
|
|
2632
|
+
|
|
2633
|
+
|
|
2634
|
+
|
|
2635
|
+
|
|
2636
|
+
@Throws(ProtocolException::class)override fun `resume`()
|
|
2637
|
+
=
|
|
2638
|
+
callWithHandle {
|
|
2639
|
+
uniffiRustCallWithError(ProtocolException) { _status ->
|
|
2640
|
+
UniffiLib.uniffi_offline_protocol_uniffi_fn_method_offlineprotocol_resume(
|
|
2641
|
+
it,
|
|
2642
|
+
_status)
|
|
2643
|
+
}
|
|
2644
|
+
}
|
|
2645
|
+
|
|
2646
|
+
|
|
2647
|
+
|
|
2648
|
+
|
|
2649
|
+
@Throws(ProtocolException::class)override fun `sendFile`(`recipient`: kotlin.String, `filePath`: kotlin.String, `fileName`: kotlin.String): kotlin.String {
|
|
2650
|
+
return FfiConverterString.lift(
|
|
2651
|
+
callWithHandle {
|
|
2652
|
+
uniffiRustCallWithError(ProtocolException) { _status ->
|
|
2653
|
+
UniffiLib.uniffi_offline_protocol_uniffi_fn_method_offlineprotocol_send_file(
|
|
2654
|
+
it,
|
|
2655
|
+
FfiConverterString.lower(`recipient`),FfiConverterString.lower(`filePath`),FfiConverterString.lower(`fileName`),_status)
|
|
2656
|
+
}
|
|
2657
|
+
}
|
|
2658
|
+
)
|
|
2659
|
+
}
|
|
2660
|
+
|
|
2661
|
+
|
|
2662
|
+
|
|
2663
|
+
@Throws(ProtocolException::class)override fun `sendMessage`(`recipient`: kotlin.String, `content`: kotlin.String, `priority`: MessagePriority): kotlin.String {
|
|
2664
|
+
return FfiConverterString.lift(
|
|
2665
|
+
callWithHandle {
|
|
2666
|
+
uniffiRustCallWithError(ProtocolException) { _status ->
|
|
2667
|
+
UniffiLib.uniffi_offline_protocol_uniffi_fn_method_offlineprotocol_send_message(
|
|
2668
|
+
it,
|
|
2669
|
+
FfiConverterString.lower(`recipient`),FfiConverterString.lower(`content`),FfiConverterTypeMessagePriority.lower(`priority`),_status)
|
|
2670
|
+
}
|
|
2671
|
+
}
|
|
2672
|
+
)
|
|
2673
|
+
}
|
|
2674
|
+
|
|
2675
|
+
|
|
2676
|
+
override fun `setBatteryLevel`(`level`: kotlin.UByte)
|
|
2677
|
+
=
|
|
2678
|
+
callWithHandle {
|
|
2679
|
+
uniffiRustCall() { _status ->
|
|
2680
|
+
UniffiLib.uniffi_offline_protocol_uniffi_fn_method_offlineprotocol_set_battery_level(
|
|
2681
|
+
it,
|
|
2682
|
+
FfiConverterUByte.lower(`level`),_status)
|
|
2683
|
+
}
|
|
2684
|
+
}
|
|
2685
|
+
|
|
2686
|
+
|
|
2687
|
+
|
|
2688
|
+
override fun `setEventCallback`(`callback`: EventCallback)
|
|
2689
|
+
=
|
|
2690
|
+
callWithHandle {
|
|
2691
|
+
uniffiRustCall() { _status ->
|
|
2692
|
+
UniffiLib.uniffi_offline_protocol_uniffi_fn_method_offlineprotocol_set_event_callback(
|
|
2693
|
+
it,
|
|
2694
|
+
FfiConverterTypeEventCallback.lower(`callback`),_status)
|
|
2695
|
+
}
|
|
2696
|
+
}
|
|
2697
|
+
|
|
2698
|
+
|
|
2699
|
+
|
|
2700
|
+
|
|
2701
|
+
@Throws(ProtocolException::class)override fun `setRelayPriority`(`priority`: RelayPriority)
|
|
2702
|
+
=
|
|
2703
|
+
callWithHandle {
|
|
2704
|
+
uniffiRustCallWithError(ProtocolException) { _status ->
|
|
2705
|
+
UniffiLib.uniffi_offline_protocol_uniffi_fn_method_offlineprotocol_set_relay_priority(
|
|
2706
|
+
it,
|
|
2707
|
+
FfiConverterTypeRelayPriority.lower(`priority`),_status)
|
|
2708
|
+
}
|
|
2709
|
+
}
|
|
2710
|
+
|
|
2711
|
+
|
|
2712
|
+
|
|
2713
|
+
override fun `shouldEscalateToWifi`(): kotlin.Boolean {
|
|
2714
|
+
return FfiConverterBoolean.lift(
|
|
2715
|
+
callWithHandle {
|
|
2716
|
+
uniffiRustCall() { _status ->
|
|
2717
|
+
UniffiLib.uniffi_offline_protocol_uniffi_fn_method_offlineprotocol_should_escalate_to_wifi(
|
|
2718
|
+
it,
|
|
2719
|
+
_status)
|
|
2720
|
+
}
|
|
2721
|
+
}
|
|
2722
|
+
)
|
|
2723
|
+
}
|
|
2724
|
+
|
|
2725
|
+
|
|
2726
|
+
|
|
2727
|
+
@Throws(ProtocolException::class)override fun `start`()
|
|
2728
|
+
=
|
|
2729
|
+
callWithHandle {
|
|
2730
|
+
uniffiRustCallWithError(ProtocolException) { _status ->
|
|
2731
|
+
UniffiLib.uniffi_offline_protocol_uniffi_fn_method_offlineprotocol_start(
|
|
2732
|
+
it,
|
|
2733
|
+
_status)
|
|
2734
|
+
}
|
|
2735
|
+
}
|
|
2736
|
+
|
|
2737
|
+
|
|
2738
|
+
|
|
2739
|
+
|
|
2740
|
+
@Throws(ProtocolException::class)override fun `stop`()
|
|
2741
|
+
=
|
|
2742
|
+
callWithHandle {
|
|
2743
|
+
uniffiRustCallWithError(ProtocolException) { _status ->
|
|
2744
|
+
UniffiLib.uniffi_offline_protocol_uniffi_fn_method_offlineprotocol_stop(
|
|
2745
|
+
it,
|
|
2746
|
+
_status)
|
|
2747
|
+
}
|
|
2748
|
+
}
|
|
2749
|
+
|
|
2750
|
+
|
|
2751
|
+
|
|
2752
|
+
override fun `updateAckConfig`(`config`: AckConfig)
|
|
2753
|
+
=
|
|
2754
|
+
callWithHandle {
|
|
2755
|
+
uniffiRustCall() { _status ->
|
|
2756
|
+
UniffiLib.uniffi_offline_protocol_uniffi_fn_method_offlineprotocol_update_ack_config(
|
|
2757
|
+
it,
|
|
2758
|
+
FfiConverterTypeAckConfig.lower(`config`),_status)
|
|
2759
|
+
}
|
|
2760
|
+
}
|
|
2761
|
+
|
|
2762
|
+
|
|
2763
|
+
|
|
2764
|
+
override fun `updateDedupConfig`(`config`: DedupConfig)
|
|
2765
|
+
=
|
|
2766
|
+
callWithHandle {
|
|
2767
|
+
uniffiRustCall() { _status ->
|
|
2768
|
+
UniffiLib.uniffi_offline_protocol_uniffi_fn_method_offlineprotocol_update_dedup_config(
|
|
2769
|
+
it,
|
|
2770
|
+
FfiConverterTypeDedupConfig.lower(`config`),_status)
|
|
2771
|
+
}
|
|
2772
|
+
}
|
|
2773
|
+
|
|
2774
|
+
|
|
2775
|
+
|
|
2776
|
+
|
|
2777
|
+
@Throws(ProtocolException::class)override fun `updateDorsConfig`(`config`: DorsConfig)
|
|
2778
|
+
=
|
|
2779
|
+
callWithHandle {
|
|
2780
|
+
uniffiRustCallWithError(ProtocolException) { _status ->
|
|
2781
|
+
UniffiLib.uniffi_offline_protocol_uniffi_fn_method_offlineprotocol_update_dors_config(
|
|
2782
|
+
it,
|
|
2783
|
+
FfiConverterTypeDorsConfig.lower(`config`),_status)
|
|
2784
|
+
}
|
|
2785
|
+
}
|
|
2786
|
+
|
|
2787
|
+
|
|
2788
|
+
|
|
2789
|
+
override fun `updateRetryConfig`(`config`: RetryConfig)
|
|
2790
|
+
=
|
|
2791
|
+
callWithHandle {
|
|
2792
|
+
uniffiRustCall() { _status ->
|
|
2793
|
+
UniffiLib.uniffi_offline_protocol_uniffi_fn_method_offlineprotocol_update_retry_config(
|
|
2794
|
+
it,
|
|
2795
|
+
FfiConverterTypeRetryConfig.lower(`config`),_status)
|
|
2796
|
+
}
|
|
2797
|
+
}
|
|
2798
|
+
|
|
2799
|
+
|
|
2800
|
+
|
|
2801
|
+
override fun `updateRoutingConfig`(`config`: GradientRoutingConfig)
|
|
2802
|
+
=
|
|
2803
|
+
callWithHandle {
|
|
2804
|
+
uniffiRustCall() { _status ->
|
|
2805
|
+
UniffiLib.uniffi_offline_protocol_uniffi_fn_method_offlineprotocol_update_routing_config(
|
|
2806
|
+
it,
|
|
2807
|
+
FfiConverterTypeGradientRoutingConfig.lower(`config`),_status)
|
|
2808
|
+
}
|
|
2809
|
+
}
|
|
2810
|
+
|
|
2811
|
+
|
|
2812
|
+
|
|
2813
|
+
|
|
2814
|
+
@Throws(ProtocolException::class)override fun `updateTransportMetrics`(`transportType`: TransportType, `metrics`: TransportMetrics)
|
|
2815
|
+
=
|
|
2816
|
+
callWithHandle {
|
|
2817
|
+
uniffiRustCallWithError(ProtocolException) { _status ->
|
|
2818
|
+
UniffiLib.uniffi_offline_protocol_uniffi_fn_method_offlineprotocol_update_transport_metrics(
|
|
2819
|
+
it,
|
|
2820
|
+
FfiConverterTypeTransportType.lower(`transportType`),FfiConverterTypeTransportMetrics.lower(`metrics`),_status)
|
|
2821
|
+
}
|
|
2822
|
+
}
|
|
2823
|
+
|
|
2824
|
+
|
|
2825
|
+
|
|
2826
|
+
override fun `wifiDirectGetNextMessage`(): WifiDirectMessage? {
|
|
2827
|
+
return FfiConverterOptionalTypeWifiDirectMessage.lift(
|
|
2828
|
+
callWithHandle {
|
|
2829
|
+
uniffiRustCall() { _status ->
|
|
2830
|
+
UniffiLib.uniffi_offline_protocol_uniffi_fn_method_offlineprotocol_wifi_direct_get_next_message(
|
|
2831
|
+
it,
|
|
2832
|
+
_status)
|
|
2833
|
+
}
|
|
2834
|
+
}
|
|
2835
|
+
)
|
|
2836
|
+
}
|
|
2837
|
+
|
|
2838
|
+
|
|
2839
|
+
|
|
2840
|
+
@Throws(ProtocolException::class)override fun `wifiDirectMessageReceived`(`senderId`: kotlin.String, `data`: List<kotlin.UByte>)
|
|
2841
|
+
=
|
|
2842
|
+
callWithHandle {
|
|
2843
|
+
uniffiRustCallWithError(ProtocolException) { _status ->
|
|
2844
|
+
UniffiLib.uniffi_offline_protocol_uniffi_fn_method_offlineprotocol_wifi_direct_message_received(
|
|
2845
|
+
it,
|
|
2846
|
+
FfiConverterString.lower(`senderId`),FfiConverterSequenceUByte.lower(`data`),_status)
|
|
2847
|
+
}
|
|
2848
|
+
}
|
|
2849
|
+
|
|
2850
|
+
|
|
2851
|
+
|
|
2852
|
+
|
|
2853
|
+
@Throws(ProtocolException::class)override fun `wifiDirectPeerConnected`(`peerId`: kotlin.String)
|
|
2854
|
+
=
|
|
2855
|
+
callWithHandle {
|
|
2856
|
+
uniffiRustCallWithError(ProtocolException) { _status ->
|
|
2857
|
+
UniffiLib.uniffi_offline_protocol_uniffi_fn_method_offlineprotocol_wifi_direct_peer_connected(
|
|
2858
|
+
it,
|
|
2859
|
+
FfiConverterString.lower(`peerId`),_status)
|
|
2860
|
+
}
|
|
2861
|
+
}
|
|
2862
|
+
|
|
2863
|
+
|
|
2864
|
+
|
|
2865
|
+
|
|
2866
|
+
@Throws(ProtocolException::class)override fun `wifiDirectPeerDisconnected`(`peerId`: kotlin.String)
|
|
2867
|
+
=
|
|
2868
|
+
callWithHandle {
|
|
2869
|
+
uniffiRustCallWithError(ProtocolException) { _status ->
|
|
2870
|
+
UniffiLib.uniffi_offline_protocol_uniffi_fn_method_offlineprotocol_wifi_direct_peer_disconnected(
|
|
2871
|
+
it,
|
|
2872
|
+
FfiConverterString.lower(`peerId`),_status)
|
|
2873
|
+
}
|
|
2874
|
+
}
|
|
2875
|
+
|
|
2876
|
+
|
|
2877
|
+
|
|
2878
|
+
|
|
2879
|
+
@Throws(ProtocolException::class)override fun `wifiDirectStatusChanged`(`isConnected`: kotlin.Boolean)
|
|
2880
|
+
=
|
|
2881
|
+
callWithHandle {
|
|
2882
|
+
uniffiRustCallWithError(ProtocolException) { _status ->
|
|
2883
|
+
UniffiLib.uniffi_offline_protocol_uniffi_fn_method_offlineprotocol_wifi_direct_status_changed(
|
|
2884
|
+
it,
|
|
2885
|
+
FfiConverterBoolean.lower(`isConnected`),_status)
|
|
2886
|
+
}
|
|
2887
|
+
}
|
|
2888
|
+
|
|
2889
|
+
|
|
2890
|
+
|
|
2891
|
+
|
|
2892
|
+
|
|
2893
|
+
|
|
2894
|
+
|
|
2895
|
+
|
|
2896
|
+
|
|
2897
|
+
|
|
2898
|
+
/**
|
|
2899
|
+
* @suppress
|
|
2900
|
+
*/
|
|
2901
|
+
companion object
|
|
2902
|
+
|
|
2903
|
+
}
|
|
2904
|
+
|
|
2905
|
+
|
|
2906
|
+
/**
|
|
2907
|
+
* @suppress
|
|
2908
|
+
*/
|
|
2909
|
+
public object FfiConverterTypeOfflineProtocol: FfiConverter<OfflineProtocol, Long> {
|
|
2910
|
+
override fun lower(value: OfflineProtocol): Long {
|
|
2911
|
+
return value.uniffiCloneHandle()
|
|
2912
|
+
}
|
|
2913
|
+
|
|
2914
|
+
override fun lift(value: Long): OfflineProtocol {
|
|
2915
|
+
return OfflineProtocol(UniffiWithHandle, value)
|
|
2916
|
+
}
|
|
2917
|
+
|
|
2918
|
+
override fun read(buf: ByteBuffer): OfflineProtocol {
|
|
2919
|
+
return lift(buf.getLong())
|
|
2920
|
+
}
|
|
2921
|
+
|
|
2922
|
+
override fun allocationSize(value: OfflineProtocol) = 8UL
|
|
2923
|
+
|
|
2924
|
+
override fun write(value: OfflineProtocol, buf: ByteBuffer) {
|
|
2925
|
+
buf.putLong(lower(value))
|
|
2926
|
+
}
|
|
2927
|
+
}
|
|
2928
|
+
|
|
2929
|
+
|
|
2930
|
+
|
|
2931
|
+
data class AckConfig (
|
|
2932
|
+
var `defaultTimeoutMs`: kotlin.ULong
|
|
2933
|
+
,
|
|
2934
|
+
var `maxPendingAcks`: kotlin.ULong
|
|
2935
|
+
|
|
2936
|
+
){
|
|
2937
|
+
|
|
2938
|
+
|
|
2939
|
+
|
|
2940
|
+
companion object
|
|
2941
|
+
}
|
|
2942
|
+
|
|
2943
|
+
/**
|
|
2944
|
+
* @suppress
|
|
2945
|
+
*/
|
|
2946
|
+
public object FfiConverterTypeAckConfig: FfiConverterRustBuffer<AckConfig> {
|
|
2947
|
+
override fun read(buf: ByteBuffer): AckConfig {
|
|
2948
|
+
return AckConfig(
|
|
2949
|
+
FfiConverterULong.read(buf),
|
|
2950
|
+
FfiConverterULong.read(buf),
|
|
2951
|
+
)
|
|
2952
|
+
}
|
|
2953
|
+
|
|
2954
|
+
override fun allocationSize(value: AckConfig) = (
|
|
2955
|
+
FfiConverterULong.allocationSize(value.`defaultTimeoutMs`) +
|
|
2956
|
+
FfiConverterULong.allocationSize(value.`maxPendingAcks`)
|
|
2957
|
+
)
|
|
2958
|
+
|
|
2959
|
+
override fun write(value: AckConfig, buf: ByteBuffer) {
|
|
2960
|
+
FfiConverterULong.write(value.`defaultTimeoutMs`, buf)
|
|
2961
|
+
FfiConverterULong.write(value.`maxPendingAcks`, buf)
|
|
2962
|
+
}
|
|
2963
|
+
}
|
|
2964
|
+
|
|
2965
|
+
|
|
2966
|
+
|
|
2967
|
+
data class BleFragment (
|
|
2968
|
+
var `recipientId`: kotlin.String
|
|
2969
|
+
,
|
|
2970
|
+
var `data`: List<kotlin.UByte>
|
|
2971
|
+
|
|
2972
|
+
){
|
|
2973
|
+
|
|
2974
|
+
|
|
2975
|
+
|
|
2976
|
+
companion object
|
|
2977
|
+
}
|
|
2978
|
+
|
|
2979
|
+
/**
|
|
2980
|
+
* @suppress
|
|
2981
|
+
*/
|
|
2982
|
+
public object FfiConverterTypeBleFragment: FfiConverterRustBuffer<BleFragment> {
|
|
2983
|
+
override fun read(buf: ByteBuffer): BleFragment {
|
|
2984
|
+
return BleFragment(
|
|
2985
|
+
FfiConverterString.read(buf),
|
|
2986
|
+
FfiConverterSequenceUByte.read(buf),
|
|
2987
|
+
)
|
|
2988
|
+
}
|
|
2989
|
+
|
|
2990
|
+
override fun allocationSize(value: BleFragment) = (
|
|
2991
|
+
FfiConverterString.allocationSize(value.`recipientId`) +
|
|
2992
|
+
FfiConverterSequenceUByte.allocationSize(value.`data`)
|
|
2993
|
+
)
|
|
2994
|
+
|
|
2995
|
+
override fun write(value: BleFragment, buf: ByteBuffer) {
|
|
2996
|
+
FfiConverterString.write(value.`recipientId`, buf)
|
|
2997
|
+
FfiConverterSequenceUByte.write(value.`data`, buf)
|
|
2998
|
+
}
|
|
2999
|
+
}
|
|
3000
|
+
|
|
3001
|
+
|
|
3002
|
+
|
|
3003
|
+
data class DedupConfig (
|
|
3004
|
+
var `maxTrackedMessages`: kotlin.ULong
|
|
3005
|
+
,
|
|
3006
|
+
var `retentionTimeSecs`: kotlin.ULong
|
|
3007
|
+
|
|
3008
|
+
){
|
|
3009
|
+
|
|
3010
|
+
|
|
3011
|
+
|
|
3012
|
+
companion object
|
|
3013
|
+
}
|
|
3014
|
+
|
|
3015
|
+
/**
|
|
3016
|
+
* @suppress
|
|
3017
|
+
*/
|
|
3018
|
+
public object FfiConverterTypeDedupConfig: FfiConverterRustBuffer<DedupConfig> {
|
|
3019
|
+
override fun read(buf: ByteBuffer): DedupConfig {
|
|
3020
|
+
return DedupConfig(
|
|
3021
|
+
FfiConverterULong.read(buf),
|
|
3022
|
+
FfiConverterULong.read(buf),
|
|
3023
|
+
)
|
|
3024
|
+
}
|
|
3025
|
+
|
|
3026
|
+
override fun allocationSize(value: DedupConfig) = (
|
|
3027
|
+
FfiConverterULong.allocationSize(value.`maxTrackedMessages`) +
|
|
3028
|
+
FfiConverterULong.allocationSize(value.`retentionTimeSecs`)
|
|
3029
|
+
)
|
|
3030
|
+
|
|
3031
|
+
override fun write(value: DedupConfig, buf: ByteBuffer) {
|
|
3032
|
+
FfiConverterULong.write(value.`maxTrackedMessages`, buf)
|
|
3033
|
+
FfiConverterULong.write(value.`retentionTimeSecs`, buf)
|
|
3034
|
+
}
|
|
3035
|
+
}
|
|
3036
|
+
|
|
3037
|
+
|
|
3038
|
+
|
|
3039
|
+
data class DedupStats (
|
|
3040
|
+
var `totalTracked`: kotlin.ULong
|
|
3041
|
+
,
|
|
3042
|
+
var `recentTracked`: kotlin.ULong
|
|
3043
|
+
,
|
|
3044
|
+
var `capacityUsedPercent`: kotlin.UByte
|
|
3045
|
+
,
|
|
3046
|
+
var `mode`: kotlin.String
|
|
3047
|
+
|
|
3048
|
+
){
|
|
3049
|
+
|
|
3050
|
+
|
|
3051
|
+
|
|
3052
|
+
companion object
|
|
3053
|
+
}
|
|
3054
|
+
|
|
3055
|
+
/**
|
|
3056
|
+
* @suppress
|
|
3057
|
+
*/
|
|
3058
|
+
public object FfiConverterTypeDedupStats: FfiConverterRustBuffer<DedupStats> {
|
|
3059
|
+
override fun read(buf: ByteBuffer): DedupStats {
|
|
3060
|
+
return DedupStats(
|
|
3061
|
+
FfiConverterULong.read(buf),
|
|
3062
|
+
FfiConverterULong.read(buf),
|
|
3063
|
+
FfiConverterUByte.read(buf),
|
|
3064
|
+
FfiConverterString.read(buf),
|
|
3065
|
+
)
|
|
3066
|
+
}
|
|
3067
|
+
|
|
3068
|
+
override fun allocationSize(value: DedupStats) = (
|
|
3069
|
+
FfiConverterULong.allocationSize(value.`totalTracked`) +
|
|
3070
|
+
FfiConverterULong.allocationSize(value.`recentTracked`) +
|
|
3071
|
+
FfiConverterUByte.allocationSize(value.`capacityUsedPercent`) +
|
|
3072
|
+
FfiConverterString.allocationSize(value.`mode`)
|
|
3073
|
+
)
|
|
3074
|
+
|
|
3075
|
+
override fun write(value: DedupStats, buf: ByteBuffer) {
|
|
3076
|
+
FfiConverterULong.write(value.`totalTracked`, buf)
|
|
3077
|
+
FfiConverterULong.write(value.`recentTracked`, buf)
|
|
3078
|
+
FfiConverterUByte.write(value.`capacityUsedPercent`, buf)
|
|
3079
|
+
FfiConverterString.write(value.`mode`, buf)
|
|
3080
|
+
}
|
|
3081
|
+
}
|
|
3082
|
+
|
|
3083
|
+
|
|
3084
|
+
|
|
3085
|
+
data class DorsConfig (
|
|
3086
|
+
var `preferOnline`: kotlin.Boolean
|
|
3087
|
+
,
|
|
3088
|
+
var `switchHysteresis`: kotlin.Float
|
|
3089
|
+
,
|
|
3090
|
+
var `switchCooldownSecs`: kotlin.ULong
|
|
3091
|
+
,
|
|
3092
|
+
var `bleToWifiRetryThreshold`: kotlin.UInt
|
|
3093
|
+
,
|
|
3094
|
+
var `rssiSwitchThreshold`: kotlin.Short
|
|
3095
|
+
,
|
|
3096
|
+
var `congestionQueueThreshold`: kotlin.ULong
|
|
3097
|
+
,
|
|
3098
|
+
var `stabilityWindowSecs`: kotlin.ULong
|
|
3099
|
+
,
|
|
3100
|
+
var `poorSignalDurationSecs`: kotlin.ULong
|
|
3101
|
+
,
|
|
3102
|
+
var `ttlEscalationThreshold`: kotlin.UByte
|
|
3103
|
+
,
|
|
3104
|
+
var `congestionDurationSecs`: kotlin.ULong
|
|
3105
|
+
,
|
|
3106
|
+
var `ttlEscalationHoldSecs`: kotlin.ULong
|
|
3107
|
+
,
|
|
3108
|
+
var `historyWindowSize`: kotlin.ULong
|
|
3109
|
+
,
|
|
3110
|
+
var `queueRecoveryRatio`: kotlin.Float
|
|
3111
|
+
|
|
3112
|
+
){
|
|
3113
|
+
|
|
3114
|
+
|
|
3115
|
+
|
|
3116
|
+
companion object
|
|
3117
|
+
}
|
|
3118
|
+
|
|
3119
|
+
/**
|
|
3120
|
+
* @suppress
|
|
3121
|
+
*/
|
|
3122
|
+
public object FfiConverterTypeDorsConfig: FfiConverterRustBuffer<DorsConfig> {
|
|
3123
|
+
override fun read(buf: ByteBuffer): DorsConfig {
|
|
3124
|
+
return DorsConfig(
|
|
3125
|
+
FfiConverterBoolean.read(buf),
|
|
3126
|
+
FfiConverterFloat.read(buf),
|
|
3127
|
+
FfiConverterULong.read(buf),
|
|
3128
|
+
FfiConverterUInt.read(buf),
|
|
3129
|
+
FfiConverterShort.read(buf),
|
|
3130
|
+
FfiConverterULong.read(buf),
|
|
3131
|
+
FfiConverterULong.read(buf),
|
|
3132
|
+
FfiConverterULong.read(buf),
|
|
3133
|
+
FfiConverterUByte.read(buf),
|
|
3134
|
+
FfiConverterULong.read(buf),
|
|
3135
|
+
FfiConverterULong.read(buf),
|
|
3136
|
+
FfiConverterULong.read(buf),
|
|
3137
|
+
FfiConverterFloat.read(buf),
|
|
3138
|
+
)
|
|
3139
|
+
}
|
|
3140
|
+
|
|
3141
|
+
override fun allocationSize(value: DorsConfig) = (
|
|
3142
|
+
FfiConverterBoolean.allocationSize(value.`preferOnline`) +
|
|
3143
|
+
FfiConverterFloat.allocationSize(value.`switchHysteresis`) +
|
|
3144
|
+
FfiConverterULong.allocationSize(value.`switchCooldownSecs`) +
|
|
3145
|
+
FfiConverterUInt.allocationSize(value.`bleToWifiRetryThreshold`) +
|
|
3146
|
+
FfiConverterShort.allocationSize(value.`rssiSwitchThreshold`) +
|
|
3147
|
+
FfiConverterULong.allocationSize(value.`congestionQueueThreshold`) +
|
|
3148
|
+
FfiConverterULong.allocationSize(value.`stabilityWindowSecs`) +
|
|
3149
|
+
FfiConverterULong.allocationSize(value.`poorSignalDurationSecs`) +
|
|
3150
|
+
FfiConverterUByte.allocationSize(value.`ttlEscalationThreshold`) +
|
|
3151
|
+
FfiConverterULong.allocationSize(value.`congestionDurationSecs`) +
|
|
3152
|
+
FfiConverterULong.allocationSize(value.`ttlEscalationHoldSecs`) +
|
|
3153
|
+
FfiConverterULong.allocationSize(value.`historyWindowSize`) +
|
|
3154
|
+
FfiConverterFloat.allocationSize(value.`queueRecoveryRatio`)
|
|
3155
|
+
)
|
|
3156
|
+
|
|
3157
|
+
override fun write(value: DorsConfig, buf: ByteBuffer) {
|
|
3158
|
+
FfiConverterBoolean.write(value.`preferOnline`, buf)
|
|
3159
|
+
FfiConverterFloat.write(value.`switchHysteresis`, buf)
|
|
3160
|
+
FfiConverterULong.write(value.`switchCooldownSecs`, buf)
|
|
3161
|
+
FfiConverterUInt.write(value.`bleToWifiRetryThreshold`, buf)
|
|
3162
|
+
FfiConverterShort.write(value.`rssiSwitchThreshold`, buf)
|
|
3163
|
+
FfiConverterULong.write(value.`congestionQueueThreshold`, buf)
|
|
3164
|
+
FfiConverterULong.write(value.`stabilityWindowSecs`, buf)
|
|
3165
|
+
FfiConverterULong.write(value.`poorSignalDurationSecs`, buf)
|
|
3166
|
+
FfiConverterUByte.write(value.`ttlEscalationThreshold`, buf)
|
|
3167
|
+
FfiConverterULong.write(value.`congestionDurationSecs`, buf)
|
|
3168
|
+
FfiConverterULong.write(value.`ttlEscalationHoldSecs`, buf)
|
|
3169
|
+
FfiConverterULong.write(value.`historyWindowSize`, buf)
|
|
3170
|
+
FfiConverterFloat.write(value.`queueRecoveryRatio`, buf)
|
|
3171
|
+
}
|
|
3172
|
+
}
|
|
3173
|
+
|
|
3174
|
+
|
|
3175
|
+
|
|
3176
|
+
data class FileProgress (
|
|
3177
|
+
var `fileId`: kotlin.String
|
|
3178
|
+
,
|
|
3179
|
+
var `chunksSent`: kotlin.UInt
|
|
3180
|
+
,
|
|
3181
|
+
var `totalChunks`: kotlin.UInt
|
|
3182
|
+
,
|
|
3183
|
+
var `percentage`: kotlin.UByte
|
|
3184
|
+
|
|
3185
|
+
){
|
|
3186
|
+
|
|
3187
|
+
|
|
3188
|
+
|
|
3189
|
+
companion object
|
|
3190
|
+
}
|
|
3191
|
+
|
|
3192
|
+
/**
|
|
3193
|
+
* @suppress
|
|
3194
|
+
*/
|
|
3195
|
+
public object FfiConverterTypeFileProgress: FfiConverterRustBuffer<FileProgress> {
|
|
3196
|
+
override fun read(buf: ByteBuffer): FileProgress {
|
|
3197
|
+
return FileProgress(
|
|
3198
|
+
FfiConverterString.read(buf),
|
|
3199
|
+
FfiConverterUInt.read(buf),
|
|
3200
|
+
FfiConverterUInt.read(buf),
|
|
3201
|
+
FfiConverterUByte.read(buf),
|
|
3202
|
+
)
|
|
3203
|
+
}
|
|
3204
|
+
|
|
3205
|
+
override fun allocationSize(value: FileProgress) = (
|
|
3206
|
+
FfiConverterString.allocationSize(value.`fileId`) +
|
|
3207
|
+
FfiConverterUInt.allocationSize(value.`chunksSent`) +
|
|
3208
|
+
FfiConverterUInt.allocationSize(value.`totalChunks`) +
|
|
3209
|
+
FfiConverterUByte.allocationSize(value.`percentage`)
|
|
3210
|
+
)
|
|
3211
|
+
|
|
3212
|
+
override fun write(value: FileProgress, buf: ByteBuffer) {
|
|
3213
|
+
FfiConverterString.write(value.`fileId`, buf)
|
|
3214
|
+
FfiConverterUInt.write(value.`chunksSent`, buf)
|
|
3215
|
+
FfiConverterUInt.write(value.`totalChunks`, buf)
|
|
3216
|
+
FfiConverterUByte.write(value.`percentage`, buf)
|
|
3217
|
+
}
|
|
3218
|
+
}
|
|
3219
|
+
|
|
3220
|
+
|
|
3221
|
+
|
|
3222
|
+
data class GradientRoutingConfig (
|
|
3223
|
+
var `maxRoutesPerDestination`: kotlin.UInt
|
|
3224
|
+
,
|
|
3225
|
+
var `routeTtlSecs`: kotlin.ULong
|
|
3226
|
+
,
|
|
3227
|
+
var `maxRoutingTableSize`: kotlin.UInt
|
|
3228
|
+
|
|
3229
|
+
){
|
|
3230
|
+
|
|
3231
|
+
|
|
3232
|
+
|
|
3233
|
+
companion object
|
|
3234
|
+
}
|
|
3235
|
+
|
|
3236
|
+
/**
|
|
3237
|
+
* @suppress
|
|
3238
|
+
*/
|
|
3239
|
+
public object FfiConverterTypeGradientRoutingConfig: FfiConverterRustBuffer<GradientRoutingConfig> {
|
|
3240
|
+
override fun read(buf: ByteBuffer): GradientRoutingConfig {
|
|
3241
|
+
return GradientRoutingConfig(
|
|
3242
|
+
FfiConverterUInt.read(buf),
|
|
3243
|
+
FfiConverterULong.read(buf),
|
|
3244
|
+
FfiConverterUInt.read(buf),
|
|
3245
|
+
)
|
|
3246
|
+
}
|
|
3247
|
+
|
|
3248
|
+
override fun allocationSize(value: GradientRoutingConfig) = (
|
|
3249
|
+
FfiConverterUInt.allocationSize(value.`maxRoutesPerDestination`) +
|
|
3250
|
+
FfiConverterULong.allocationSize(value.`routeTtlSecs`) +
|
|
3251
|
+
FfiConverterUInt.allocationSize(value.`maxRoutingTableSize`)
|
|
3252
|
+
)
|
|
3253
|
+
|
|
3254
|
+
override fun write(value: GradientRoutingConfig, buf: ByteBuffer) {
|
|
3255
|
+
FfiConverterUInt.write(value.`maxRoutesPerDestination`, buf)
|
|
3256
|
+
FfiConverterULong.write(value.`routeTtlSecs`, buf)
|
|
3257
|
+
FfiConverterUInt.write(value.`maxRoutingTableSize`, buf)
|
|
3258
|
+
}
|
|
3259
|
+
}
|
|
3260
|
+
|
|
3261
|
+
|
|
3262
|
+
|
|
3263
|
+
data class InternetMessage (
|
|
3264
|
+
var `recipientId`: kotlin.String
|
|
3265
|
+
,
|
|
3266
|
+
var `data`: List<kotlin.UByte>
|
|
3267
|
+
|
|
3268
|
+
){
|
|
3269
|
+
|
|
3270
|
+
|
|
3271
|
+
|
|
3272
|
+
companion object
|
|
3273
|
+
}
|
|
3274
|
+
|
|
3275
|
+
/**
|
|
3276
|
+
* @suppress
|
|
3277
|
+
*/
|
|
3278
|
+
public object FfiConverterTypeInternetMessage: FfiConverterRustBuffer<InternetMessage> {
|
|
3279
|
+
override fun read(buf: ByteBuffer): InternetMessage {
|
|
3280
|
+
return InternetMessage(
|
|
3281
|
+
FfiConverterString.read(buf),
|
|
3282
|
+
FfiConverterSequenceUByte.read(buf),
|
|
3283
|
+
)
|
|
3284
|
+
}
|
|
3285
|
+
|
|
3286
|
+
override fun allocationSize(value: InternetMessage) = (
|
|
3287
|
+
FfiConverterString.allocationSize(value.`recipientId`) +
|
|
3288
|
+
FfiConverterSequenceUByte.allocationSize(value.`data`)
|
|
3289
|
+
)
|
|
3290
|
+
|
|
3291
|
+
override fun write(value: InternetMessage, buf: ByteBuffer) {
|
|
3292
|
+
FfiConverterString.write(value.`recipientId`, buf)
|
|
3293
|
+
FfiConverterSequenceUByte.write(value.`data`, buf)
|
|
3294
|
+
}
|
|
3295
|
+
}
|
|
3296
|
+
|
|
3297
|
+
|
|
3298
|
+
|
|
3299
|
+
data class MessageStats (
|
|
3300
|
+
var `messageId`: kotlin.String
|
|
3301
|
+
,
|
|
3302
|
+
var `sentAtMs`: kotlin.ULong
|
|
3303
|
+
,
|
|
3304
|
+
var `deliveredAtMs`: kotlin.ULong?
|
|
3305
|
+
,
|
|
3306
|
+
var `hopCount`: kotlin.UByte
|
|
3307
|
+
,
|
|
3308
|
+
var `status`: kotlin.String
|
|
3309
|
+
|
|
3310
|
+
){
|
|
3311
|
+
|
|
3312
|
+
|
|
3313
|
+
|
|
3314
|
+
companion object
|
|
3315
|
+
}
|
|
3316
|
+
|
|
3317
|
+
/**
|
|
3318
|
+
* @suppress
|
|
3319
|
+
*/
|
|
3320
|
+
public object FfiConverterTypeMessageStats: FfiConverterRustBuffer<MessageStats> {
|
|
3321
|
+
override fun read(buf: ByteBuffer): MessageStats {
|
|
3322
|
+
return MessageStats(
|
|
3323
|
+
FfiConverterString.read(buf),
|
|
3324
|
+
FfiConverterULong.read(buf),
|
|
3325
|
+
FfiConverterOptionalULong.read(buf),
|
|
3326
|
+
FfiConverterUByte.read(buf),
|
|
3327
|
+
FfiConverterString.read(buf),
|
|
3328
|
+
)
|
|
3329
|
+
}
|
|
3330
|
+
|
|
3331
|
+
override fun allocationSize(value: MessageStats) = (
|
|
3332
|
+
FfiConverterString.allocationSize(value.`messageId`) +
|
|
3333
|
+
FfiConverterULong.allocationSize(value.`sentAtMs`) +
|
|
3334
|
+
FfiConverterOptionalULong.allocationSize(value.`deliveredAtMs`) +
|
|
3335
|
+
FfiConverterUByte.allocationSize(value.`hopCount`) +
|
|
3336
|
+
FfiConverterString.allocationSize(value.`status`)
|
|
3337
|
+
)
|
|
3338
|
+
|
|
3339
|
+
override fun write(value: MessageStats, buf: ByteBuffer) {
|
|
3340
|
+
FfiConverterString.write(value.`messageId`, buf)
|
|
3341
|
+
FfiConverterULong.write(value.`sentAtMs`, buf)
|
|
3342
|
+
FfiConverterOptionalULong.write(value.`deliveredAtMs`, buf)
|
|
3343
|
+
FfiConverterUByte.write(value.`hopCount`, buf)
|
|
3344
|
+
FfiConverterString.write(value.`status`, buf)
|
|
3345
|
+
}
|
|
3346
|
+
}
|
|
3347
|
+
|
|
3348
|
+
|
|
3349
|
+
|
|
3350
|
+
data class NetworkLink (
|
|
3351
|
+
var `sourceId`: kotlin.String
|
|
3352
|
+
,
|
|
3353
|
+
var `targetId`: kotlin.String
|
|
3354
|
+
,
|
|
3355
|
+
var `transport`: kotlin.String
|
|
3356
|
+
,
|
|
3357
|
+
var `quality`: kotlin.Float
|
|
3358
|
+
|
|
3359
|
+
){
|
|
3360
|
+
|
|
3361
|
+
|
|
3362
|
+
|
|
3363
|
+
companion object
|
|
3364
|
+
}
|
|
3365
|
+
|
|
3366
|
+
/**
|
|
3367
|
+
* @suppress
|
|
3368
|
+
*/
|
|
3369
|
+
public object FfiConverterTypeNetworkLink: FfiConverterRustBuffer<NetworkLink> {
|
|
3370
|
+
override fun read(buf: ByteBuffer): NetworkLink {
|
|
3371
|
+
return NetworkLink(
|
|
3372
|
+
FfiConverterString.read(buf),
|
|
3373
|
+
FfiConverterString.read(buf),
|
|
3374
|
+
FfiConverterString.read(buf),
|
|
3375
|
+
FfiConverterFloat.read(buf),
|
|
3376
|
+
)
|
|
3377
|
+
}
|
|
3378
|
+
|
|
3379
|
+
override fun allocationSize(value: NetworkLink) = (
|
|
3380
|
+
FfiConverterString.allocationSize(value.`sourceId`) +
|
|
3381
|
+
FfiConverterString.allocationSize(value.`targetId`) +
|
|
3382
|
+
FfiConverterString.allocationSize(value.`transport`) +
|
|
3383
|
+
FfiConverterFloat.allocationSize(value.`quality`)
|
|
3384
|
+
)
|
|
3385
|
+
|
|
3386
|
+
override fun write(value: NetworkLink, buf: ByteBuffer) {
|
|
3387
|
+
FfiConverterString.write(value.`sourceId`, buf)
|
|
3388
|
+
FfiConverterString.write(value.`targetId`, buf)
|
|
3389
|
+
FfiConverterString.write(value.`transport`, buf)
|
|
3390
|
+
FfiConverterFloat.write(value.`quality`, buf)
|
|
3391
|
+
}
|
|
3392
|
+
}
|
|
3393
|
+
|
|
3394
|
+
|
|
3395
|
+
|
|
3396
|
+
data class NetworkNode (
|
|
3397
|
+
var `nodeId`: kotlin.String
|
|
3398
|
+
,
|
|
3399
|
+
var `role`: kotlin.String
|
|
3400
|
+
,
|
|
3401
|
+
var `rssi`: kotlin.Short?
|
|
3402
|
+
,
|
|
3403
|
+
var `lastSeenMs`: kotlin.ULong
|
|
3404
|
+
|
|
3405
|
+
){
|
|
3406
|
+
|
|
3407
|
+
|
|
3408
|
+
|
|
3409
|
+
companion object
|
|
3410
|
+
}
|
|
3411
|
+
|
|
3412
|
+
/**
|
|
3413
|
+
* @suppress
|
|
3414
|
+
*/
|
|
3415
|
+
public object FfiConverterTypeNetworkNode: FfiConverterRustBuffer<NetworkNode> {
|
|
3416
|
+
override fun read(buf: ByteBuffer): NetworkNode {
|
|
3417
|
+
return NetworkNode(
|
|
3418
|
+
FfiConverterString.read(buf),
|
|
3419
|
+
FfiConverterString.read(buf),
|
|
3420
|
+
FfiConverterOptionalShort.read(buf),
|
|
3421
|
+
FfiConverterULong.read(buf),
|
|
3422
|
+
)
|
|
3423
|
+
}
|
|
3424
|
+
|
|
3425
|
+
override fun allocationSize(value: NetworkNode) = (
|
|
3426
|
+
FfiConverterString.allocationSize(value.`nodeId`) +
|
|
3427
|
+
FfiConverterString.allocationSize(value.`role`) +
|
|
3428
|
+
FfiConverterOptionalShort.allocationSize(value.`rssi`) +
|
|
3429
|
+
FfiConverterULong.allocationSize(value.`lastSeenMs`)
|
|
3430
|
+
)
|
|
3431
|
+
|
|
3432
|
+
override fun write(value: NetworkNode, buf: ByteBuffer) {
|
|
3433
|
+
FfiConverterString.write(value.`nodeId`, buf)
|
|
3434
|
+
FfiConverterString.write(value.`role`, buf)
|
|
3435
|
+
FfiConverterOptionalShort.write(value.`rssi`, buf)
|
|
3436
|
+
FfiConverterULong.write(value.`lastSeenMs`, buf)
|
|
3437
|
+
}
|
|
3438
|
+
}
|
|
3439
|
+
|
|
3440
|
+
|
|
3441
|
+
|
|
3442
|
+
data class NetworkTopology (
|
|
3443
|
+
var `nodes`: List<NetworkNode>
|
|
3444
|
+
,
|
|
3445
|
+
var `links`: List<NetworkLink>
|
|
3446
|
+
,
|
|
3447
|
+
var `messageStats`: List<MessageStats>
|
|
3448
|
+
|
|
3449
|
+
){
|
|
3450
|
+
|
|
3451
|
+
|
|
3452
|
+
|
|
3453
|
+
companion object
|
|
3454
|
+
}
|
|
3455
|
+
|
|
3456
|
+
/**
|
|
3457
|
+
* @suppress
|
|
3458
|
+
*/
|
|
3459
|
+
public object FfiConverterTypeNetworkTopology: FfiConverterRustBuffer<NetworkTopology> {
|
|
3460
|
+
override fun read(buf: ByteBuffer): NetworkTopology {
|
|
3461
|
+
return NetworkTopology(
|
|
3462
|
+
FfiConverterSequenceTypeNetworkNode.read(buf),
|
|
3463
|
+
FfiConverterSequenceTypeNetworkLink.read(buf),
|
|
3464
|
+
FfiConverterSequenceTypeMessageStats.read(buf),
|
|
3465
|
+
)
|
|
3466
|
+
}
|
|
3467
|
+
|
|
3468
|
+
override fun allocationSize(value: NetworkTopology) = (
|
|
3469
|
+
FfiConverterSequenceTypeNetworkNode.allocationSize(value.`nodes`) +
|
|
3470
|
+
FfiConverterSequenceTypeNetworkLink.allocationSize(value.`links`) +
|
|
3471
|
+
FfiConverterSequenceTypeMessageStats.allocationSize(value.`messageStats`)
|
|
3472
|
+
)
|
|
3473
|
+
|
|
3474
|
+
override fun write(value: NetworkTopology, buf: ByteBuffer) {
|
|
3475
|
+
FfiConverterSequenceTypeNetworkNode.write(value.`nodes`, buf)
|
|
3476
|
+
FfiConverterSequenceTypeNetworkLink.write(value.`links`, buf)
|
|
3477
|
+
FfiConverterSequenceTypeMessageStats.write(value.`messageStats`, buf)
|
|
3478
|
+
}
|
|
3479
|
+
}
|
|
3480
|
+
|
|
3481
|
+
|
|
3482
|
+
|
|
3483
|
+
data class PathConfig (
|
|
3484
|
+
var `forwardToTopK`: kotlin.UInt
|
|
3485
|
+
,
|
|
3486
|
+
var `maxCongestionLevel`: kotlin.UInt
|
|
3487
|
+
|
|
3488
|
+
){
|
|
3489
|
+
|
|
3490
|
+
|
|
3491
|
+
|
|
3492
|
+
companion object
|
|
3493
|
+
}
|
|
3494
|
+
|
|
3495
|
+
/**
|
|
3496
|
+
* @suppress
|
|
3497
|
+
*/
|
|
3498
|
+
public object FfiConverterTypePathConfig: FfiConverterRustBuffer<PathConfig> {
|
|
3499
|
+
override fun read(buf: ByteBuffer): PathConfig {
|
|
3500
|
+
return PathConfig(
|
|
3501
|
+
FfiConverterUInt.read(buf),
|
|
3502
|
+
FfiConverterUInt.read(buf),
|
|
3503
|
+
)
|
|
3504
|
+
}
|
|
3505
|
+
|
|
3506
|
+
override fun allocationSize(value: PathConfig) = (
|
|
3507
|
+
FfiConverterUInt.allocationSize(value.`forwardToTopK`) +
|
|
3508
|
+
FfiConverterUInt.allocationSize(value.`maxCongestionLevel`)
|
|
3509
|
+
)
|
|
3510
|
+
|
|
3511
|
+
override fun write(value: PathConfig, buf: ByteBuffer) {
|
|
3512
|
+
FfiConverterUInt.write(value.`forwardToTopK`, buf)
|
|
3513
|
+
FfiConverterUInt.write(value.`maxCongestionLevel`, buf)
|
|
3514
|
+
}
|
|
3515
|
+
}
|
|
3516
|
+
|
|
3517
|
+
|
|
3518
|
+
|
|
3519
|
+
data class PeerDevice (
|
|
3520
|
+
var `peerId`: kotlin.String
|
|
3521
|
+
,
|
|
3522
|
+
var `rssi`: kotlin.Short
|
|
3523
|
+
,
|
|
3524
|
+
var `lastSeenMs`: kotlin.ULong
|
|
3525
|
+
|
|
3526
|
+
){
|
|
3527
|
+
|
|
3528
|
+
|
|
3529
|
+
|
|
3530
|
+
companion object
|
|
3531
|
+
}
|
|
3532
|
+
|
|
3533
|
+
/**
|
|
3534
|
+
* @suppress
|
|
3535
|
+
*/
|
|
3536
|
+
public object FfiConverterTypePeerDevice: FfiConverterRustBuffer<PeerDevice> {
|
|
3537
|
+
override fun read(buf: ByteBuffer): PeerDevice {
|
|
3538
|
+
return PeerDevice(
|
|
3539
|
+
FfiConverterString.read(buf),
|
|
3540
|
+
FfiConverterShort.read(buf),
|
|
3541
|
+
FfiConverterULong.read(buf),
|
|
3542
|
+
)
|
|
3543
|
+
}
|
|
3544
|
+
|
|
3545
|
+
override fun allocationSize(value: PeerDevice) = (
|
|
3546
|
+
FfiConverterString.allocationSize(value.`peerId`) +
|
|
3547
|
+
FfiConverterShort.allocationSize(value.`rssi`) +
|
|
3548
|
+
FfiConverterULong.allocationSize(value.`lastSeenMs`)
|
|
3549
|
+
)
|
|
3550
|
+
|
|
3551
|
+
override fun write(value: PeerDevice, buf: ByteBuffer) {
|
|
3552
|
+
FfiConverterString.write(value.`peerId`, buf)
|
|
3553
|
+
FfiConverterShort.write(value.`rssi`, buf)
|
|
3554
|
+
FfiConverterULong.write(value.`lastSeenMs`, buf)
|
|
3555
|
+
}
|
|
3556
|
+
}
|
|
3557
|
+
|
|
3558
|
+
|
|
3559
|
+
|
|
3560
|
+
data class ProtocolConfig (
|
|
3561
|
+
var `appId`: kotlin.String
|
|
3562
|
+
,
|
|
3563
|
+
var `userId`: kotlin.String
|
|
3564
|
+
,
|
|
3565
|
+
var `bleEnabled`: kotlin.Boolean
|
|
3566
|
+
,
|
|
3567
|
+
var `wifiDirectEnabled`: kotlin.Boolean
|
|
3568
|
+
,
|
|
3569
|
+
var `internetEnabled`: kotlin.Boolean
|
|
3570
|
+
,
|
|
3571
|
+
var `preferOnline`: kotlin.Boolean
|
|
3572
|
+
,
|
|
3573
|
+
var `initialTtl`: kotlin.UByte
|
|
3574
|
+
|
|
3575
|
+
){
|
|
3576
|
+
|
|
3577
|
+
|
|
3578
|
+
|
|
3579
|
+
companion object
|
|
3580
|
+
}
|
|
3581
|
+
|
|
3582
|
+
/**
|
|
3583
|
+
* @suppress
|
|
3584
|
+
*/
|
|
3585
|
+
public object FfiConverterTypeProtocolConfig: FfiConverterRustBuffer<ProtocolConfig> {
|
|
3586
|
+
override fun read(buf: ByteBuffer): ProtocolConfig {
|
|
3587
|
+
return ProtocolConfig(
|
|
3588
|
+
FfiConverterString.read(buf),
|
|
3589
|
+
FfiConverterString.read(buf),
|
|
3590
|
+
FfiConverterBoolean.read(buf),
|
|
3591
|
+
FfiConverterBoolean.read(buf),
|
|
3592
|
+
FfiConverterBoolean.read(buf),
|
|
3593
|
+
FfiConverterBoolean.read(buf),
|
|
3594
|
+
FfiConverterUByte.read(buf),
|
|
3595
|
+
)
|
|
3596
|
+
}
|
|
3597
|
+
|
|
3598
|
+
override fun allocationSize(value: ProtocolConfig) = (
|
|
3599
|
+
FfiConverterString.allocationSize(value.`appId`) +
|
|
3600
|
+
FfiConverterString.allocationSize(value.`userId`) +
|
|
3601
|
+
FfiConverterBoolean.allocationSize(value.`bleEnabled`) +
|
|
3602
|
+
FfiConverterBoolean.allocationSize(value.`wifiDirectEnabled`) +
|
|
3603
|
+
FfiConverterBoolean.allocationSize(value.`internetEnabled`) +
|
|
3604
|
+
FfiConverterBoolean.allocationSize(value.`preferOnline`) +
|
|
3605
|
+
FfiConverterUByte.allocationSize(value.`initialTtl`)
|
|
3606
|
+
)
|
|
3607
|
+
|
|
3608
|
+
override fun write(value: ProtocolConfig, buf: ByteBuffer) {
|
|
3609
|
+
FfiConverterString.write(value.`appId`, buf)
|
|
3610
|
+
FfiConverterString.write(value.`userId`, buf)
|
|
3611
|
+
FfiConverterBoolean.write(value.`bleEnabled`, buf)
|
|
3612
|
+
FfiConverterBoolean.write(value.`wifiDirectEnabled`, buf)
|
|
3613
|
+
FfiConverterBoolean.write(value.`internetEnabled`, buf)
|
|
3614
|
+
FfiConverterBoolean.write(value.`preferOnline`, buf)
|
|
3615
|
+
FfiConverterUByte.write(value.`initialTtl`, buf)
|
|
3616
|
+
}
|
|
3617
|
+
}
|
|
3618
|
+
|
|
3619
|
+
|
|
3620
|
+
|
|
3621
|
+
data class ProtocolConfigExtended (
|
|
3622
|
+
var `appId`: kotlin.String
|
|
3623
|
+
,
|
|
3624
|
+
var `userId`: kotlin.String
|
|
3625
|
+
,
|
|
3626
|
+
var `transport`: TransportConfig
|
|
3627
|
+
,
|
|
3628
|
+
var `dors`: DorsConfig
|
|
3629
|
+
,
|
|
3630
|
+
var `relay`: RelayConfig
|
|
3631
|
+
,
|
|
3632
|
+
var `path`: PathConfig
|
|
3633
|
+
,
|
|
3634
|
+
var `reliability`: ReliabilityConfig
|
|
3635
|
+
,
|
|
3636
|
+
var `initialTtl`: kotlin.UByte
|
|
3637
|
+
|
|
3638
|
+
){
|
|
3639
|
+
|
|
3640
|
+
|
|
3641
|
+
|
|
3642
|
+
companion object
|
|
3643
|
+
}
|
|
3644
|
+
|
|
3645
|
+
/**
|
|
3646
|
+
* @suppress
|
|
3647
|
+
*/
|
|
3648
|
+
public object FfiConverterTypeProtocolConfigExtended: FfiConverterRustBuffer<ProtocolConfigExtended> {
|
|
3649
|
+
override fun read(buf: ByteBuffer): ProtocolConfigExtended {
|
|
3650
|
+
return ProtocolConfigExtended(
|
|
3651
|
+
FfiConverterString.read(buf),
|
|
3652
|
+
FfiConverterString.read(buf),
|
|
3653
|
+
FfiConverterTypeTransportConfig.read(buf),
|
|
3654
|
+
FfiConverterTypeDorsConfig.read(buf),
|
|
3655
|
+
FfiConverterTypeRelayConfig.read(buf),
|
|
3656
|
+
FfiConverterTypePathConfig.read(buf),
|
|
3657
|
+
FfiConverterTypeReliabilityConfig.read(buf),
|
|
3658
|
+
FfiConverterUByte.read(buf),
|
|
3659
|
+
)
|
|
3660
|
+
}
|
|
3661
|
+
|
|
3662
|
+
override fun allocationSize(value: ProtocolConfigExtended) = (
|
|
3663
|
+
FfiConverterString.allocationSize(value.`appId`) +
|
|
3664
|
+
FfiConverterString.allocationSize(value.`userId`) +
|
|
3665
|
+
FfiConverterTypeTransportConfig.allocationSize(value.`transport`) +
|
|
3666
|
+
FfiConverterTypeDorsConfig.allocationSize(value.`dors`) +
|
|
3667
|
+
FfiConverterTypeRelayConfig.allocationSize(value.`relay`) +
|
|
3668
|
+
FfiConverterTypePathConfig.allocationSize(value.`path`) +
|
|
3669
|
+
FfiConverterTypeReliabilityConfig.allocationSize(value.`reliability`) +
|
|
3670
|
+
FfiConverterUByte.allocationSize(value.`initialTtl`)
|
|
3671
|
+
)
|
|
3672
|
+
|
|
3673
|
+
override fun write(value: ProtocolConfigExtended, buf: ByteBuffer) {
|
|
3674
|
+
FfiConverterString.write(value.`appId`, buf)
|
|
3675
|
+
FfiConverterString.write(value.`userId`, buf)
|
|
3676
|
+
FfiConverterTypeTransportConfig.write(value.`transport`, buf)
|
|
3677
|
+
FfiConverterTypeDorsConfig.write(value.`dors`, buf)
|
|
3678
|
+
FfiConverterTypeRelayConfig.write(value.`relay`, buf)
|
|
3679
|
+
FfiConverterTypePathConfig.write(value.`path`, buf)
|
|
3680
|
+
FfiConverterTypeReliabilityConfig.write(value.`reliability`, buf)
|
|
3681
|
+
FfiConverterUByte.write(value.`initialTtl`, buf)
|
|
3682
|
+
}
|
|
3683
|
+
}
|
|
3684
|
+
|
|
3685
|
+
|
|
3686
|
+
|
|
3687
|
+
data class RelayConfig (
|
|
3688
|
+
var `relayThreshold`: kotlin.ULong
|
|
3689
|
+
,
|
|
3690
|
+
var `minBatteryForRelay`: kotlin.UByte
|
|
3691
|
+
,
|
|
3692
|
+
var `allowRelay`: kotlin.Boolean
|
|
3693
|
+
,
|
|
3694
|
+
var `relayPriority`: RelayPriority
|
|
3695
|
+
|
|
3696
|
+
){
|
|
3697
|
+
|
|
3698
|
+
|
|
3699
|
+
|
|
3700
|
+
companion object
|
|
3701
|
+
}
|
|
3702
|
+
|
|
3703
|
+
/**
|
|
3704
|
+
* @suppress
|
|
3705
|
+
*/
|
|
3706
|
+
public object FfiConverterTypeRelayConfig: FfiConverterRustBuffer<RelayConfig> {
|
|
3707
|
+
override fun read(buf: ByteBuffer): RelayConfig {
|
|
3708
|
+
return RelayConfig(
|
|
3709
|
+
FfiConverterULong.read(buf),
|
|
3710
|
+
FfiConverterUByte.read(buf),
|
|
3711
|
+
FfiConverterBoolean.read(buf),
|
|
3712
|
+
FfiConverterTypeRelayPriority.read(buf),
|
|
3713
|
+
)
|
|
3714
|
+
}
|
|
3715
|
+
|
|
3716
|
+
override fun allocationSize(value: RelayConfig) = (
|
|
3717
|
+
FfiConverterULong.allocationSize(value.`relayThreshold`) +
|
|
3718
|
+
FfiConverterUByte.allocationSize(value.`minBatteryForRelay`) +
|
|
3719
|
+
FfiConverterBoolean.allocationSize(value.`allowRelay`) +
|
|
3720
|
+
FfiConverterTypeRelayPriority.allocationSize(value.`relayPriority`)
|
|
3721
|
+
)
|
|
3722
|
+
|
|
3723
|
+
override fun write(value: RelayConfig, buf: ByteBuffer) {
|
|
3724
|
+
FfiConverterULong.write(value.`relayThreshold`, buf)
|
|
3725
|
+
FfiConverterUByte.write(value.`minBatteryForRelay`, buf)
|
|
3726
|
+
FfiConverterBoolean.write(value.`allowRelay`, buf)
|
|
3727
|
+
FfiConverterTypeRelayPriority.write(value.`relayPriority`, buf)
|
|
3728
|
+
}
|
|
3729
|
+
}
|
|
3730
|
+
|
|
3731
|
+
|
|
3732
|
+
|
|
3733
|
+
data class ReliabilityConfig (
|
|
3734
|
+
var `ack`: AckConfig
|
|
3735
|
+
,
|
|
3736
|
+
var `retry`: RetryConfig
|
|
3737
|
+
,
|
|
3738
|
+
var `dedup`: DedupConfig
|
|
3739
|
+
|
|
3740
|
+
){
|
|
3741
|
+
|
|
3742
|
+
|
|
3743
|
+
|
|
3744
|
+
companion object
|
|
3745
|
+
}
|
|
3746
|
+
|
|
3747
|
+
/**
|
|
3748
|
+
* @suppress
|
|
3749
|
+
*/
|
|
3750
|
+
public object FfiConverterTypeReliabilityConfig: FfiConverterRustBuffer<ReliabilityConfig> {
|
|
3751
|
+
override fun read(buf: ByteBuffer): ReliabilityConfig {
|
|
3752
|
+
return ReliabilityConfig(
|
|
3753
|
+
FfiConverterTypeAckConfig.read(buf),
|
|
3754
|
+
FfiConverterTypeRetryConfig.read(buf),
|
|
3755
|
+
FfiConverterTypeDedupConfig.read(buf),
|
|
3756
|
+
)
|
|
3757
|
+
}
|
|
3758
|
+
|
|
3759
|
+
override fun allocationSize(value: ReliabilityConfig) = (
|
|
3760
|
+
FfiConverterTypeAckConfig.allocationSize(value.`ack`) +
|
|
3761
|
+
FfiConverterTypeRetryConfig.allocationSize(value.`retry`) +
|
|
3762
|
+
FfiConverterTypeDedupConfig.allocationSize(value.`dedup`)
|
|
3763
|
+
)
|
|
3764
|
+
|
|
3765
|
+
override fun write(value: ReliabilityConfig, buf: ByteBuffer) {
|
|
3766
|
+
FfiConverterTypeAckConfig.write(value.`ack`, buf)
|
|
3767
|
+
FfiConverterTypeRetryConfig.write(value.`retry`, buf)
|
|
3768
|
+
FfiConverterTypeDedupConfig.write(value.`dedup`, buf)
|
|
3769
|
+
}
|
|
3770
|
+
}
|
|
3771
|
+
|
|
3772
|
+
|
|
3773
|
+
|
|
3774
|
+
data class RetryConfig (
|
|
3775
|
+
var `maxRetries`: kotlin.UInt
|
|
3776
|
+
,
|
|
3777
|
+
var `initialDelayMs`: kotlin.ULong
|
|
3778
|
+
,
|
|
3779
|
+
var `maxDelayMs`: kotlin.ULong
|
|
3780
|
+
,
|
|
3781
|
+
var `backoffMultiplier`: kotlin.Float
|
|
3782
|
+
,
|
|
3783
|
+
var `outboxMaxLifetimeMs`: kotlin.ULong
|
|
3784
|
+
|
|
3785
|
+
){
|
|
3786
|
+
|
|
3787
|
+
|
|
3788
|
+
|
|
3789
|
+
companion object
|
|
3790
|
+
}
|
|
3791
|
+
|
|
3792
|
+
/**
|
|
3793
|
+
* @suppress
|
|
3794
|
+
*/
|
|
3795
|
+
public object FfiConverterTypeRetryConfig: FfiConverterRustBuffer<RetryConfig> {
|
|
3796
|
+
override fun read(buf: ByteBuffer): RetryConfig {
|
|
3797
|
+
return RetryConfig(
|
|
3798
|
+
FfiConverterUInt.read(buf),
|
|
3799
|
+
FfiConverterULong.read(buf),
|
|
3800
|
+
FfiConverterULong.read(buf),
|
|
3801
|
+
FfiConverterFloat.read(buf),
|
|
3802
|
+
FfiConverterULong.read(buf),
|
|
3803
|
+
)
|
|
3804
|
+
}
|
|
3805
|
+
|
|
3806
|
+
override fun allocationSize(value: RetryConfig) = (
|
|
3807
|
+
FfiConverterUInt.allocationSize(value.`maxRetries`) +
|
|
3808
|
+
FfiConverterULong.allocationSize(value.`initialDelayMs`) +
|
|
3809
|
+
FfiConverterULong.allocationSize(value.`maxDelayMs`) +
|
|
3810
|
+
FfiConverterFloat.allocationSize(value.`backoffMultiplier`) +
|
|
3811
|
+
FfiConverterULong.allocationSize(value.`outboxMaxLifetimeMs`)
|
|
3812
|
+
)
|
|
3813
|
+
|
|
3814
|
+
override fun write(value: RetryConfig, buf: ByteBuffer) {
|
|
3815
|
+
FfiConverterUInt.write(value.`maxRetries`, buf)
|
|
3816
|
+
FfiConverterULong.write(value.`initialDelayMs`, buf)
|
|
3817
|
+
FfiConverterULong.write(value.`maxDelayMs`, buf)
|
|
3818
|
+
FfiConverterFloat.write(value.`backoffMultiplier`, buf)
|
|
3819
|
+
FfiConverterULong.write(value.`outboxMaxLifetimeMs`, buf)
|
|
3820
|
+
}
|
|
3821
|
+
}
|
|
3822
|
+
|
|
3823
|
+
|
|
3824
|
+
|
|
3825
|
+
data class RouteEntry (
|
|
3826
|
+
var `nextHop`: kotlin.String
|
|
3827
|
+
,
|
|
3828
|
+
var `hopCount`: kotlin.UByte
|
|
3829
|
+
,
|
|
3830
|
+
var `quality`: kotlin.Float
|
|
3831
|
+
,
|
|
3832
|
+
var `lastSeenMs`: kotlin.ULong
|
|
3833
|
+
|
|
3834
|
+
){
|
|
3835
|
+
|
|
3836
|
+
|
|
3837
|
+
|
|
3838
|
+
companion object
|
|
3839
|
+
}
|
|
3840
|
+
|
|
3841
|
+
/**
|
|
3842
|
+
* @suppress
|
|
3843
|
+
*/
|
|
3844
|
+
public object FfiConverterTypeRouteEntry: FfiConverterRustBuffer<RouteEntry> {
|
|
3845
|
+
override fun read(buf: ByteBuffer): RouteEntry {
|
|
3846
|
+
return RouteEntry(
|
|
3847
|
+
FfiConverterString.read(buf),
|
|
3848
|
+
FfiConverterUByte.read(buf),
|
|
3849
|
+
FfiConverterFloat.read(buf),
|
|
3850
|
+
FfiConverterULong.read(buf),
|
|
3851
|
+
)
|
|
3852
|
+
}
|
|
3853
|
+
|
|
3854
|
+
override fun allocationSize(value: RouteEntry) = (
|
|
3855
|
+
FfiConverterString.allocationSize(value.`nextHop`) +
|
|
3856
|
+
FfiConverterUByte.allocationSize(value.`hopCount`) +
|
|
3857
|
+
FfiConverterFloat.allocationSize(value.`quality`) +
|
|
3858
|
+
FfiConverterULong.allocationSize(value.`lastSeenMs`)
|
|
3859
|
+
)
|
|
3860
|
+
|
|
3861
|
+
override fun write(value: RouteEntry, buf: ByteBuffer) {
|
|
3862
|
+
FfiConverterString.write(value.`nextHop`, buf)
|
|
3863
|
+
FfiConverterUByte.write(value.`hopCount`, buf)
|
|
3864
|
+
FfiConverterFloat.write(value.`quality`, buf)
|
|
3865
|
+
FfiConverterULong.write(value.`lastSeenMs`, buf)
|
|
3866
|
+
}
|
|
3867
|
+
}
|
|
3868
|
+
|
|
3869
|
+
|
|
3870
|
+
|
|
3871
|
+
data class RoutingStats (
|
|
3872
|
+
var `destinationCount`: kotlin.UInt
|
|
3873
|
+
,
|
|
3874
|
+
var `routeCount`: kotlin.UInt
|
|
3875
|
+
|
|
3876
|
+
){
|
|
3877
|
+
|
|
3878
|
+
|
|
3879
|
+
|
|
3880
|
+
companion object
|
|
3881
|
+
}
|
|
3882
|
+
|
|
3883
|
+
/**
|
|
3884
|
+
* @suppress
|
|
3885
|
+
*/
|
|
3886
|
+
public object FfiConverterTypeRoutingStats: FfiConverterRustBuffer<RoutingStats> {
|
|
3887
|
+
override fun read(buf: ByteBuffer): RoutingStats {
|
|
3888
|
+
return RoutingStats(
|
|
3889
|
+
FfiConverterUInt.read(buf),
|
|
3890
|
+
FfiConverterUInt.read(buf),
|
|
3891
|
+
)
|
|
3892
|
+
}
|
|
3893
|
+
|
|
3894
|
+
override fun allocationSize(value: RoutingStats) = (
|
|
3895
|
+
FfiConverterUInt.allocationSize(value.`destinationCount`) +
|
|
3896
|
+
FfiConverterUInt.allocationSize(value.`routeCount`)
|
|
3897
|
+
)
|
|
3898
|
+
|
|
3899
|
+
override fun write(value: RoutingStats, buf: ByteBuffer) {
|
|
3900
|
+
FfiConverterUInt.write(value.`destinationCount`, buf)
|
|
3901
|
+
FfiConverterUInt.write(value.`routeCount`, buf)
|
|
3902
|
+
}
|
|
3903
|
+
}
|
|
3904
|
+
|
|
3905
|
+
|
|
3906
|
+
|
|
3907
|
+
data class TransportConfig (
|
|
3908
|
+
var `bleEnabled`: kotlin.Boolean
|
|
3909
|
+
,
|
|
3910
|
+
var `wifiDirectEnabled`: kotlin.Boolean
|
|
3911
|
+
,
|
|
3912
|
+
var `internetEnabled`: kotlin.Boolean
|
|
3913
|
+
|
|
3914
|
+
){
|
|
3915
|
+
|
|
3916
|
+
|
|
3917
|
+
|
|
3918
|
+
companion object
|
|
3919
|
+
}
|
|
3920
|
+
|
|
3921
|
+
/**
|
|
3922
|
+
* @suppress
|
|
3923
|
+
*/
|
|
3924
|
+
public object FfiConverterTypeTransportConfig: FfiConverterRustBuffer<TransportConfig> {
|
|
3925
|
+
override fun read(buf: ByteBuffer): TransportConfig {
|
|
3926
|
+
return TransportConfig(
|
|
3927
|
+
FfiConverterBoolean.read(buf),
|
|
3928
|
+
FfiConverterBoolean.read(buf),
|
|
3929
|
+
FfiConverterBoolean.read(buf),
|
|
3930
|
+
)
|
|
3931
|
+
}
|
|
3932
|
+
|
|
3933
|
+
override fun allocationSize(value: TransportConfig) = (
|
|
3934
|
+
FfiConverterBoolean.allocationSize(value.`bleEnabled`) +
|
|
3935
|
+
FfiConverterBoolean.allocationSize(value.`wifiDirectEnabled`) +
|
|
3936
|
+
FfiConverterBoolean.allocationSize(value.`internetEnabled`)
|
|
3937
|
+
)
|
|
3938
|
+
|
|
3939
|
+
override fun write(value: TransportConfig, buf: ByteBuffer) {
|
|
3940
|
+
FfiConverterBoolean.write(value.`bleEnabled`, buf)
|
|
3941
|
+
FfiConverterBoolean.write(value.`wifiDirectEnabled`, buf)
|
|
3942
|
+
FfiConverterBoolean.write(value.`internetEnabled`, buf)
|
|
3943
|
+
}
|
|
3944
|
+
}
|
|
3945
|
+
|
|
3946
|
+
|
|
3947
|
+
|
|
3948
|
+
data class TransportMetrics (
|
|
3949
|
+
var `packetsSent`: kotlin.UInt
|
|
3950
|
+
,
|
|
3951
|
+
var `packetsReceived`: kotlin.UInt
|
|
3952
|
+
,
|
|
3953
|
+
var `bytesSent`: kotlin.UInt
|
|
3954
|
+
,
|
|
3955
|
+
var `bytesReceived`: kotlin.UInt
|
|
3956
|
+
,
|
|
3957
|
+
var `errorRate`: kotlin.Float
|
|
3958
|
+
,
|
|
3959
|
+
var `avgLatencyMs`: kotlin.UInt
|
|
3960
|
+
|
|
3961
|
+
){
|
|
3962
|
+
|
|
3963
|
+
|
|
3964
|
+
|
|
3965
|
+
companion object
|
|
3966
|
+
}
|
|
3967
|
+
|
|
3968
|
+
/**
|
|
3969
|
+
* @suppress
|
|
3970
|
+
*/
|
|
3971
|
+
public object FfiConverterTypeTransportMetrics: FfiConverterRustBuffer<TransportMetrics> {
|
|
3972
|
+
override fun read(buf: ByteBuffer): TransportMetrics {
|
|
3973
|
+
return TransportMetrics(
|
|
3974
|
+
FfiConverterUInt.read(buf),
|
|
3975
|
+
FfiConverterUInt.read(buf),
|
|
3976
|
+
FfiConverterUInt.read(buf),
|
|
3977
|
+
FfiConverterUInt.read(buf),
|
|
3978
|
+
FfiConverterFloat.read(buf),
|
|
3979
|
+
FfiConverterUInt.read(buf),
|
|
3980
|
+
)
|
|
3981
|
+
}
|
|
3982
|
+
|
|
3983
|
+
override fun allocationSize(value: TransportMetrics) = (
|
|
3984
|
+
FfiConverterUInt.allocationSize(value.`packetsSent`) +
|
|
3985
|
+
FfiConverterUInt.allocationSize(value.`packetsReceived`) +
|
|
3986
|
+
FfiConverterUInt.allocationSize(value.`bytesSent`) +
|
|
3987
|
+
FfiConverterUInt.allocationSize(value.`bytesReceived`) +
|
|
3988
|
+
FfiConverterFloat.allocationSize(value.`errorRate`) +
|
|
3989
|
+
FfiConverterUInt.allocationSize(value.`avgLatencyMs`)
|
|
3990
|
+
)
|
|
3991
|
+
|
|
3992
|
+
override fun write(value: TransportMetrics, buf: ByteBuffer) {
|
|
3993
|
+
FfiConverterUInt.write(value.`packetsSent`, buf)
|
|
3994
|
+
FfiConverterUInt.write(value.`packetsReceived`, buf)
|
|
3995
|
+
FfiConverterUInt.write(value.`bytesSent`, buf)
|
|
3996
|
+
FfiConverterUInt.write(value.`bytesReceived`, buf)
|
|
3997
|
+
FfiConverterFloat.write(value.`errorRate`, buf)
|
|
3998
|
+
FfiConverterUInt.write(value.`avgLatencyMs`, buf)
|
|
3999
|
+
}
|
|
4000
|
+
}
|
|
4001
|
+
|
|
4002
|
+
|
|
4003
|
+
|
|
4004
|
+
data class WifiDirectMessage (
|
|
4005
|
+
var `recipientId`: kotlin.String
|
|
4006
|
+
,
|
|
4007
|
+
var `data`: List<kotlin.UByte>
|
|
4008
|
+
|
|
4009
|
+
){
|
|
4010
|
+
|
|
4011
|
+
|
|
4012
|
+
|
|
4013
|
+
companion object
|
|
4014
|
+
}
|
|
4015
|
+
|
|
4016
|
+
/**
|
|
4017
|
+
* @suppress
|
|
4018
|
+
*/
|
|
4019
|
+
public object FfiConverterTypeWifiDirectMessage: FfiConverterRustBuffer<WifiDirectMessage> {
|
|
4020
|
+
override fun read(buf: ByteBuffer): WifiDirectMessage {
|
|
4021
|
+
return WifiDirectMessage(
|
|
4022
|
+
FfiConverterString.read(buf),
|
|
4023
|
+
FfiConverterSequenceUByte.read(buf),
|
|
4024
|
+
)
|
|
4025
|
+
}
|
|
4026
|
+
|
|
4027
|
+
override fun allocationSize(value: WifiDirectMessage) = (
|
|
4028
|
+
FfiConverterString.allocationSize(value.`recipientId`) +
|
|
4029
|
+
FfiConverterSequenceUByte.allocationSize(value.`data`)
|
|
4030
|
+
)
|
|
4031
|
+
|
|
4032
|
+
override fun write(value: WifiDirectMessage, buf: ByteBuffer) {
|
|
4033
|
+
FfiConverterString.write(value.`recipientId`, buf)
|
|
4034
|
+
FfiConverterSequenceUByte.write(value.`data`, buf)
|
|
4035
|
+
}
|
|
4036
|
+
}
|
|
4037
|
+
|
|
4038
|
+
|
|
4039
|
+
|
|
4040
|
+
|
|
4041
|
+
enum class MessagePriority {
|
|
4042
|
+
|
|
4043
|
+
LOW,
|
|
4044
|
+
MEDIUM,
|
|
4045
|
+
HIGH,
|
|
4046
|
+
CRITICAL;
|
|
4047
|
+
companion object
|
|
4048
|
+
}
|
|
4049
|
+
|
|
4050
|
+
|
|
4051
|
+
/**
|
|
4052
|
+
* @suppress
|
|
4053
|
+
*/
|
|
4054
|
+
public object FfiConverterTypeMessagePriority: FfiConverterRustBuffer<MessagePriority> {
|
|
4055
|
+
override fun read(buf: ByteBuffer) = try {
|
|
4056
|
+
MessagePriority.values()[buf.getInt() - 1]
|
|
4057
|
+
} catch (e: IndexOutOfBoundsException) {
|
|
4058
|
+
throw RuntimeException("invalid enum value, something is very wrong!!", e)
|
|
4059
|
+
}
|
|
4060
|
+
|
|
4061
|
+
override fun allocationSize(value: MessagePriority) = 4UL
|
|
4062
|
+
|
|
4063
|
+
override fun write(value: MessagePriority, buf: ByteBuffer) {
|
|
4064
|
+
buf.putInt(value.ordinal + 1)
|
|
4065
|
+
}
|
|
4066
|
+
}
|
|
4067
|
+
|
|
4068
|
+
|
|
4069
|
+
|
|
4070
|
+
|
|
4071
|
+
|
|
4072
|
+
|
|
4073
|
+
|
|
4074
|
+
sealed class ProtocolException(message: String): kotlin.Exception(message) {
|
|
4075
|
+
|
|
4076
|
+
class NotStarted(message: String) : ProtocolException(message)
|
|
4077
|
+
|
|
4078
|
+
class AlreadyStarted(message: String) : ProtocolException(message)
|
|
4079
|
+
|
|
4080
|
+
class InvalidConfiguration(message: String) : ProtocolException(message)
|
|
4081
|
+
|
|
4082
|
+
class SendFailed(message: String) : ProtocolException(message)
|
|
4083
|
+
|
|
4084
|
+
class InvalidState(message: String) : ProtocolException(message)
|
|
4085
|
+
|
|
4086
|
+
class Other(message: String) : ProtocolException(message)
|
|
4087
|
+
|
|
4088
|
+
|
|
4089
|
+
companion object ErrorHandler : UniffiRustCallStatusErrorHandler<ProtocolException> {
|
|
4090
|
+
override fun lift(error_buf: RustBuffer.ByValue): ProtocolException = FfiConverterTypeProtocolError.lift(error_buf)
|
|
4091
|
+
}
|
|
4092
|
+
}
|
|
4093
|
+
|
|
4094
|
+
/**
|
|
4095
|
+
* @suppress
|
|
4096
|
+
*/
|
|
4097
|
+
public object FfiConverterTypeProtocolError : FfiConverterRustBuffer<ProtocolException> {
|
|
4098
|
+
override fun read(buf: ByteBuffer): ProtocolException {
|
|
4099
|
+
|
|
4100
|
+
return when(buf.getInt()) {
|
|
4101
|
+
1 -> ProtocolException.NotStarted(FfiConverterString.read(buf))
|
|
4102
|
+
2 -> ProtocolException.AlreadyStarted(FfiConverterString.read(buf))
|
|
4103
|
+
3 -> ProtocolException.InvalidConfiguration(FfiConverterString.read(buf))
|
|
4104
|
+
4 -> ProtocolException.SendFailed(FfiConverterString.read(buf))
|
|
4105
|
+
5 -> ProtocolException.InvalidState(FfiConverterString.read(buf))
|
|
4106
|
+
6 -> ProtocolException.Other(FfiConverterString.read(buf))
|
|
4107
|
+
else -> throw RuntimeException("invalid error enum value, something is very wrong!!")
|
|
4108
|
+
}
|
|
4109
|
+
|
|
4110
|
+
}
|
|
4111
|
+
|
|
4112
|
+
override fun allocationSize(value: ProtocolException): ULong {
|
|
4113
|
+
return 4UL
|
|
4114
|
+
}
|
|
4115
|
+
|
|
4116
|
+
override fun write(value: ProtocolException, buf: ByteBuffer) {
|
|
4117
|
+
when(value) {
|
|
4118
|
+
is ProtocolException.NotStarted -> {
|
|
4119
|
+
buf.putInt(1)
|
|
4120
|
+
Unit
|
|
4121
|
+
}
|
|
4122
|
+
is ProtocolException.AlreadyStarted -> {
|
|
4123
|
+
buf.putInt(2)
|
|
4124
|
+
Unit
|
|
4125
|
+
}
|
|
4126
|
+
is ProtocolException.InvalidConfiguration -> {
|
|
4127
|
+
buf.putInt(3)
|
|
4128
|
+
Unit
|
|
4129
|
+
}
|
|
4130
|
+
is ProtocolException.SendFailed -> {
|
|
4131
|
+
buf.putInt(4)
|
|
4132
|
+
Unit
|
|
4133
|
+
}
|
|
4134
|
+
is ProtocolException.InvalidState -> {
|
|
4135
|
+
buf.putInt(5)
|
|
4136
|
+
Unit
|
|
4137
|
+
}
|
|
4138
|
+
is ProtocolException.Other -> {
|
|
4139
|
+
buf.putInt(6)
|
|
4140
|
+
Unit
|
|
4141
|
+
}
|
|
4142
|
+
}.let { /* this makes the `when` an expression, which ensures it is exhaustive */ }
|
|
4143
|
+
}
|
|
4144
|
+
|
|
4145
|
+
}
|
|
4146
|
+
|
|
4147
|
+
|
|
4148
|
+
|
|
4149
|
+
|
|
4150
|
+
enum class ProtocolState {
|
|
4151
|
+
|
|
4152
|
+
STOPPED,
|
|
4153
|
+
STARTING,
|
|
4154
|
+
RUNNING,
|
|
4155
|
+
PAUSED,
|
|
4156
|
+
STOPPING;
|
|
4157
|
+
companion object
|
|
4158
|
+
}
|
|
4159
|
+
|
|
4160
|
+
|
|
4161
|
+
/**
|
|
4162
|
+
* @suppress
|
|
4163
|
+
*/
|
|
4164
|
+
public object FfiConverterTypeProtocolState: FfiConverterRustBuffer<ProtocolState> {
|
|
4165
|
+
override fun read(buf: ByteBuffer) = try {
|
|
4166
|
+
ProtocolState.values()[buf.getInt() - 1]
|
|
4167
|
+
} catch (e: IndexOutOfBoundsException) {
|
|
4168
|
+
throw RuntimeException("invalid enum value, something is very wrong!!", e)
|
|
4169
|
+
}
|
|
4170
|
+
|
|
4171
|
+
override fun allocationSize(value: ProtocolState) = 4UL
|
|
4172
|
+
|
|
4173
|
+
override fun write(value: ProtocolState, buf: ByteBuffer) {
|
|
4174
|
+
buf.putInt(value.ordinal + 1)
|
|
4175
|
+
}
|
|
4176
|
+
}
|
|
4177
|
+
|
|
4178
|
+
|
|
4179
|
+
|
|
4180
|
+
|
|
4181
|
+
|
|
4182
|
+
|
|
4183
|
+
enum class RelayPriority {
|
|
4184
|
+
|
|
4185
|
+
LOW,
|
|
4186
|
+
MEDIUM,
|
|
4187
|
+
HIGH;
|
|
4188
|
+
companion object
|
|
4189
|
+
}
|
|
4190
|
+
|
|
4191
|
+
|
|
4192
|
+
/**
|
|
4193
|
+
* @suppress
|
|
4194
|
+
*/
|
|
4195
|
+
public object FfiConverterTypeRelayPriority: FfiConverterRustBuffer<RelayPriority> {
|
|
4196
|
+
override fun read(buf: ByteBuffer) = try {
|
|
4197
|
+
RelayPriority.values()[buf.getInt() - 1]
|
|
4198
|
+
} catch (e: IndexOutOfBoundsException) {
|
|
4199
|
+
throw RuntimeException("invalid enum value, something is very wrong!!", e)
|
|
4200
|
+
}
|
|
4201
|
+
|
|
4202
|
+
override fun allocationSize(value: RelayPriority) = 4UL
|
|
4203
|
+
|
|
4204
|
+
override fun write(value: RelayPriority, buf: ByteBuffer) {
|
|
4205
|
+
buf.putInt(value.ordinal + 1)
|
|
4206
|
+
}
|
|
4207
|
+
}
|
|
4208
|
+
|
|
4209
|
+
|
|
4210
|
+
|
|
4211
|
+
|
|
4212
|
+
|
|
4213
|
+
|
|
4214
|
+
enum class TransportType {
|
|
4215
|
+
|
|
4216
|
+
INTERNET,
|
|
4217
|
+
BLE,
|
|
4218
|
+
WI_FI_DIRECT;
|
|
4219
|
+
companion object
|
|
4220
|
+
}
|
|
4221
|
+
|
|
4222
|
+
|
|
4223
|
+
/**
|
|
4224
|
+
* @suppress
|
|
4225
|
+
*/
|
|
4226
|
+
public object FfiConverterTypeTransportType: FfiConverterRustBuffer<TransportType> {
|
|
4227
|
+
override fun read(buf: ByteBuffer) = try {
|
|
4228
|
+
TransportType.values()[buf.getInt() - 1]
|
|
4229
|
+
} catch (e: IndexOutOfBoundsException) {
|
|
4230
|
+
throw RuntimeException("invalid enum value, something is very wrong!!", e)
|
|
4231
|
+
}
|
|
4232
|
+
|
|
4233
|
+
override fun allocationSize(value: TransportType) = 4UL
|
|
4234
|
+
|
|
4235
|
+
override fun write(value: TransportType, buf: ByteBuffer) {
|
|
4236
|
+
buf.putInt(value.ordinal + 1)
|
|
4237
|
+
}
|
|
4238
|
+
}
|
|
4239
|
+
|
|
4240
|
+
|
|
4241
|
+
|
|
4242
|
+
|
|
4243
|
+
|
|
4244
|
+
|
|
4245
|
+
|
|
4246
|
+
public interface EventCallback {
|
|
4247
|
+
|
|
4248
|
+
fun `onEvent`(`eventJson`: kotlin.String)
|
|
4249
|
+
|
|
4250
|
+
companion object
|
|
4251
|
+
}
|
|
4252
|
+
|
|
4253
|
+
|
|
4254
|
+
|
|
4255
|
+
// Put the implementation in an object so we don't pollute the top-level namespace
|
|
4256
|
+
internal object uniffiCallbackInterfaceEventCallback {
|
|
4257
|
+
internal object `onEvent`: UniffiCallbackInterfaceEventCallbackMethod0 {
|
|
4258
|
+
override fun callback(`uniffiHandle`: Long,`eventJson`: RustBuffer.ByValue,`uniffiOutReturn`: Pointer,uniffiCallStatus: UniffiRustCallStatus,) {
|
|
4259
|
+
val uniffiObj = FfiConverterTypeEventCallback.handleMap.get(uniffiHandle)
|
|
4260
|
+
val makeCall = { ->
|
|
4261
|
+
uniffiObj.`onEvent`(
|
|
4262
|
+
FfiConverterString.lift(`eventJson`),
|
|
4263
|
+
)
|
|
4264
|
+
}
|
|
4265
|
+
val writeReturn = { _: Unit -> Unit }
|
|
4266
|
+
uniffiTraitInterfaceCall(uniffiCallStatus, makeCall, writeReturn)
|
|
4267
|
+
}
|
|
4268
|
+
}
|
|
4269
|
+
|
|
4270
|
+
internal object uniffiFree: UniffiCallbackInterfaceFree {
|
|
4271
|
+
override fun callback(handle: Long) {
|
|
4272
|
+
FfiConverterTypeEventCallback.handleMap.remove(handle)
|
|
4273
|
+
}
|
|
4274
|
+
}
|
|
4275
|
+
|
|
4276
|
+
internal object uniffiClone: UniffiCallbackInterfaceClone {
|
|
4277
|
+
override fun callback(handle: Long): Long {
|
|
4278
|
+
return FfiConverterTypeEventCallback.handleMap.clone(handle)
|
|
4279
|
+
}
|
|
4280
|
+
}
|
|
4281
|
+
|
|
4282
|
+
internal var vtable = UniffiVTableCallbackInterfaceEventCallback.UniffiByValue(
|
|
4283
|
+
uniffiFree,
|
|
4284
|
+
uniffiClone,
|
|
4285
|
+
`onEvent`,
|
|
4286
|
+
)
|
|
4287
|
+
|
|
4288
|
+
// Registers the foreign callback with the Rust side.
|
|
4289
|
+
// This method is generated for each callback interface.
|
|
4290
|
+
internal fun register(lib: UniffiLib) {
|
|
4291
|
+
lib.uniffi_offline_protocol_uniffi_fn_init_callback_vtable_eventcallback(vtable)
|
|
4292
|
+
}
|
|
4293
|
+
}
|
|
4294
|
+
|
|
4295
|
+
/**
|
|
4296
|
+
* The ffiConverter which transforms the Callbacks in to handles to pass to Rust.
|
|
4297
|
+
*
|
|
4298
|
+
* @suppress
|
|
4299
|
+
*/
|
|
4300
|
+
public object FfiConverterTypeEventCallback: FfiConverterCallbackInterface<EventCallback>()
|
|
4301
|
+
|
|
4302
|
+
|
|
4303
|
+
|
|
4304
|
+
|
|
4305
|
+
/**
|
|
4306
|
+
* @suppress
|
|
4307
|
+
*/
|
|
4308
|
+
public object FfiConverterOptionalUByte: FfiConverterRustBuffer<kotlin.UByte?> {
|
|
4309
|
+
override fun read(buf: ByteBuffer): kotlin.UByte? {
|
|
4310
|
+
if (buf.get().toInt() == 0) {
|
|
4311
|
+
return null
|
|
4312
|
+
}
|
|
4313
|
+
return FfiConverterUByte.read(buf)
|
|
4314
|
+
}
|
|
4315
|
+
|
|
4316
|
+
override fun allocationSize(value: kotlin.UByte?): ULong {
|
|
4317
|
+
if (value == null) {
|
|
4318
|
+
return 1UL
|
|
4319
|
+
} else {
|
|
4320
|
+
return 1UL + FfiConverterUByte.allocationSize(value)
|
|
4321
|
+
}
|
|
4322
|
+
}
|
|
4323
|
+
|
|
4324
|
+
override fun write(value: kotlin.UByte?, buf: ByteBuffer) {
|
|
4325
|
+
if (value == null) {
|
|
4326
|
+
buf.put(0)
|
|
4327
|
+
} else {
|
|
4328
|
+
buf.put(1)
|
|
4329
|
+
FfiConverterUByte.write(value, buf)
|
|
4330
|
+
}
|
|
4331
|
+
}
|
|
4332
|
+
}
|
|
4333
|
+
|
|
4334
|
+
|
|
4335
|
+
|
|
4336
|
+
|
|
4337
|
+
/**
|
|
4338
|
+
* @suppress
|
|
4339
|
+
*/
|
|
4340
|
+
public object FfiConverterOptionalShort: FfiConverterRustBuffer<kotlin.Short?> {
|
|
4341
|
+
override fun read(buf: ByteBuffer): kotlin.Short? {
|
|
4342
|
+
if (buf.get().toInt() == 0) {
|
|
4343
|
+
return null
|
|
4344
|
+
}
|
|
4345
|
+
return FfiConverterShort.read(buf)
|
|
4346
|
+
}
|
|
4347
|
+
|
|
4348
|
+
override fun allocationSize(value: kotlin.Short?): ULong {
|
|
4349
|
+
if (value == null) {
|
|
4350
|
+
return 1UL
|
|
4351
|
+
} else {
|
|
4352
|
+
return 1UL + FfiConverterShort.allocationSize(value)
|
|
4353
|
+
}
|
|
4354
|
+
}
|
|
4355
|
+
|
|
4356
|
+
override fun write(value: kotlin.Short?, buf: ByteBuffer) {
|
|
4357
|
+
if (value == null) {
|
|
4358
|
+
buf.put(0)
|
|
4359
|
+
} else {
|
|
4360
|
+
buf.put(1)
|
|
4361
|
+
FfiConverterShort.write(value, buf)
|
|
4362
|
+
}
|
|
4363
|
+
}
|
|
4364
|
+
}
|
|
4365
|
+
|
|
4366
|
+
|
|
4367
|
+
|
|
4368
|
+
|
|
4369
|
+
/**
|
|
4370
|
+
* @suppress
|
|
4371
|
+
*/
|
|
4372
|
+
public object FfiConverterOptionalULong: FfiConverterRustBuffer<kotlin.ULong?> {
|
|
4373
|
+
override fun read(buf: ByteBuffer): kotlin.ULong? {
|
|
4374
|
+
if (buf.get().toInt() == 0) {
|
|
4375
|
+
return null
|
|
4376
|
+
}
|
|
4377
|
+
return FfiConverterULong.read(buf)
|
|
4378
|
+
}
|
|
4379
|
+
|
|
4380
|
+
override fun allocationSize(value: kotlin.ULong?): ULong {
|
|
4381
|
+
if (value == null) {
|
|
4382
|
+
return 1UL
|
|
4383
|
+
} else {
|
|
4384
|
+
return 1UL + FfiConverterULong.allocationSize(value)
|
|
4385
|
+
}
|
|
4386
|
+
}
|
|
4387
|
+
|
|
4388
|
+
override fun write(value: kotlin.ULong?, buf: ByteBuffer) {
|
|
4389
|
+
if (value == null) {
|
|
4390
|
+
buf.put(0)
|
|
4391
|
+
} else {
|
|
4392
|
+
buf.put(1)
|
|
4393
|
+
FfiConverterULong.write(value, buf)
|
|
4394
|
+
}
|
|
4395
|
+
}
|
|
4396
|
+
}
|
|
4397
|
+
|
|
4398
|
+
|
|
4399
|
+
|
|
4400
|
+
|
|
4401
|
+
/**
|
|
4402
|
+
* @suppress
|
|
4403
|
+
*/
|
|
4404
|
+
public object FfiConverterOptionalString: FfiConverterRustBuffer<kotlin.String?> {
|
|
4405
|
+
override fun read(buf: ByteBuffer): kotlin.String? {
|
|
4406
|
+
if (buf.get().toInt() == 0) {
|
|
4407
|
+
return null
|
|
4408
|
+
}
|
|
4409
|
+
return FfiConverterString.read(buf)
|
|
4410
|
+
}
|
|
4411
|
+
|
|
4412
|
+
override fun allocationSize(value: kotlin.String?): ULong {
|
|
4413
|
+
if (value == null) {
|
|
4414
|
+
return 1UL
|
|
4415
|
+
} else {
|
|
4416
|
+
return 1UL + FfiConverterString.allocationSize(value)
|
|
4417
|
+
}
|
|
4418
|
+
}
|
|
4419
|
+
|
|
4420
|
+
override fun write(value: kotlin.String?, buf: ByteBuffer) {
|
|
4421
|
+
if (value == null) {
|
|
4422
|
+
buf.put(0)
|
|
4423
|
+
} else {
|
|
4424
|
+
buf.put(1)
|
|
4425
|
+
FfiConverterString.write(value, buf)
|
|
4426
|
+
}
|
|
4427
|
+
}
|
|
4428
|
+
}
|
|
4429
|
+
|
|
4430
|
+
|
|
4431
|
+
|
|
4432
|
+
|
|
4433
|
+
/**
|
|
4434
|
+
* @suppress
|
|
4435
|
+
*/
|
|
4436
|
+
public object FfiConverterOptionalTypeBleFragment: FfiConverterRustBuffer<BleFragment?> {
|
|
4437
|
+
override fun read(buf: ByteBuffer): BleFragment? {
|
|
4438
|
+
if (buf.get().toInt() == 0) {
|
|
4439
|
+
return null
|
|
4440
|
+
}
|
|
4441
|
+
return FfiConverterTypeBleFragment.read(buf)
|
|
4442
|
+
}
|
|
4443
|
+
|
|
4444
|
+
override fun allocationSize(value: BleFragment?): ULong {
|
|
4445
|
+
if (value == null) {
|
|
4446
|
+
return 1UL
|
|
4447
|
+
} else {
|
|
4448
|
+
return 1UL + FfiConverterTypeBleFragment.allocationSize(value)
|
|
4449
|
+
}
|
|
4450
|
+
}
|
|
4451
|
+
|
|
4452
|
+
override fun write(value: BleFragment?, buf: ByteBuffer) {
|
|
4453
|
+
if (value == null) {
|
|
4454
|
+
buf.put(0)
|
|
4455
|
+
} else {
|
|
4456
|
+
buf.put(1)
|
|
4457
|
+
FfiConverterTypeBleFragment.write(value, buf)
|
|
4458
|
+
}
|
|
4459
|
+
}
|
|
4460
|
+
}
|
|
4461
|
+
|
|
4462
|
+
|
|
4463
|
+
|
|
4464
|
+
|
|
4465
|
+
/**
|
|
4466
|
+
* @suppress
|
|
4467
|
+
*/
|
|
4468
|
+
public object FfiConverterOptionalTypeFileProgress: FfiConverterRustBuffer<FileProgress?> {
|
|
4469
|
+
override fun read(buf: ByteBuffer): FileProgress? {
|
|
4470
|
+
if (buf.get().toInt() == 0) {
|
|
4471
|
+
return null
|
|
4472
|
+
}
|
|
4473
|
+
return FfiConverterTypeFileProgress.read(buf)
|
|
4474
|
+
}
|
|
4475
|
+
|
|
4476
|
+
override fun allocationSize(value: FileProgress?): ULong {
|
|
4477
|
+
if (value == null) {
|
|
4478
|
+
return 1UL
|
|
4479
|
+
} else {
|
|
4480
|
+
return 1UL + FfiConverterTypeFileProgress.allocationSize(value)
|
|
4481
|
+
}
|
|
4482
|
+
}
|
|
4483
|
+
|
|
4484
|
+
override fun write(value: FileProgress?, buf: ByteBuffer) {
|
|
4485
|
+
if (value == null) {
|
|
4486
|
+
buf.put(0)
|
|
4487
|
+
} else {
|
|
4488
|
+
buf.put(1)
|
|
4489
|
+
FfiConverterTypeFileProgress.write(value, buf)
|
|
4490
|
+
}
|
|
4491
|
+
}
|
|
4492
|
+
}
|
|
4493
|
+
|
|
4494
|
+
|
|
4495
|
+
|
|
4496
|
+
|
|
4497
|
+
/**
|
|
4498
|
+
* @suppress
|
|
4499
|
+
*/
|
|
4500
|
+
public object FfiConverterOptionalTypeInternetMessage: FfiConverterRustBuffer<InternetMessage?> {
|
|
4501
|
+
override fun read(buf: ByteBuffer): InternetMessage? {
|
|
4502
|
+
if (buf.get().toInt() == 0) {
|
|
4503
|
+
return null
|
|
4504
|
+
}
|
|
4505
|
+
return FfiConverterTypeInternetMessage.read(buf)
|
|
4506
|
+
}
|
|
4507
|
+
|
|
4508
|
+
override fun allocationSize(value: InternetMessage?): ULong {
|
|
4509
|
+
if (value == null) {
|
|
4510
|
+
return 1UL
|
|
4511
|
+
} else {
|
|
4512
|
+
return 1UL + FfiConverterTypeInternetMessage.allocationSize(value)
|
|
4513
|
+
}
|
|
4514
|
+
}
|
|
4515
|
+
|
|
4516
|
+
override fun write(value: InternetMessage?, buf: ByteBuffer) {
|
|
4517
|
+
if (value == null) {
|
|
4518
|
+
buf.put(0)
|
|
4519
|
+
} else {
|
|
4520
|
+
buf.put(1)
|
|
4521
|
+
FfiConverterTypeInternetMessage.write(value, buf)
|
|
4522
|
+
}
|
|
4523
|
+
}
|
|
4524
|
+
}
|
|
4525
|
+
|
|
4526
|
+
|
|
4527
|
+
|
|
4528
|
+
|
|
4529
|
+
/**
|
|
4530
|
+
* @suppress
|
|
4531
|
+
*/
|
|
4532
|
+
public object FfiConverterOptionalTypeRouteEntry: FfiConverterRustBuffer<RouteEntry?> {
|
|
4533
|
+
override fun read(buf: ByteBuffer): RouteEntry? {
|
|
4534
|
+
if (buf.get().toInt() == 0) {
|
|
4535
|
+
return null
|
|
4536
|
+
}
|
|
4537
|
+
return FfiConverterTypeRouteEntry.read(buf)
|
|
4538
|
+
}
|
|
4539
|
+
|
|
4540
|
+
override fun allocationSize(value: RouteEntry?): ULong {
|
|
4541
|
+
if (value == null) {
|
|
4542
|
+
return 1UL
|
|
4543
|
+
} else {
|
|
4544
|
+
return 1UL + FfiConverterTypeRouteEntry.allocationSize(value)
|
|
4545
|
+
}
|
|
4546
|
+
}
|
|
4547
|
+
|
|
4548
|
+
override fun write(value: RouteEntry?, buf: ByteBuffer) {
|
|
4549
|
+
if (value == null) {
|
|
4550
|
+
buf.put(0)
|
|
4551
|
+
} else {
|
|
4552
|
+
buf.put(1)
|
|
4553
|
+
FfiConverterTypeRouteEntry.write(value, buf)
|
|
4554
|
+
}
|
|
4555
|
+
}
|
|
4556
|
+
}
|
|
4557
|
+
|
|
4558
|
+
|
|
4559
|
+
|
|
4560
|
+
|
|
4561
|
+
/**
|
|
4562
|
+
* @suppress
|
|
4563
|
+
*/
|
|
4564
|
+
public object FfiConverterOptionalTypeTransportMetrics: FfiConverterRustBuffer<TransportMetrics?> {
|
|
4565
|
+
override fun read(buf: ByteBuffer): TransportMetrics? {
|
|
4566
|
+
if (buf.get().toInt() == 0) {
|
|
4567
|
+
return null
|
|
4568
|
+
}
|
|
4569
|
+
return FfiConverterTypeTransportMetrics.read(buf)
|
|
4570
|
+
}
|
|
4571
|
+
|
|
4572
|
+
override fun allocationSize(value: TransportMetrics?): ULong {
|
|
4573
|
+
if (value == null) {
|
|
4574
|
+
return 1UL
|
|
4575
|
+
} else {
|
|
4576
|
+
return 1UL + FfiConverterTypeTransportMetrics.allocationSize(value)
|
|
4577
|
+
}
|
|
4578
|
+
}
|
|
4579
|
+
|
|
4580
|
+
override fun write(value: TransportMetrics?, buf: ByteBuffer) {
|
|
4581
|
+
if (value == null) {
|
|
4582
|
+
buf.put(0)
|
|
4583
|
+
} else {
|
|
4584
|
+
buf.put(1)
|
|
4585
|
+
FfiConverterTypeTransportMetrics.write(value, buf)
|
|
4586
|
+
}
|
|
4587
|
+
}
|
|
4588
|
+
}
|
|
4589
|
+
|
|
4590
|
+
|
|
4591
|
+
|
|
4592
|
+
|
|
4593
|
+
/**
|
|
4594
|
+
* @suppress
|
|
4595
|
+
*/
|
|
4596
|
+
public object FfiConverterOptionalTypeWifiDirectMessage: FfiConverterRustBuffer<WifiDirectMessage?> {
|
|
4597
|
+
override fun read(buf: ByteBuffer): WifiDirectMessage? {
|
|
4598
|
+
if (buf.get().toInt() == 0) {
|
|
4599
|
+
return null
|
|
4600
|
+
}
|
|
4601
|
+
return FfiConverterTypeWifiDirectMessage.read(buf)
|
|
4602
|
+
}
|
|
4603
|
+
|
|
4604
|
+
override fun allocationSize(value: WifiDirectMessage?): ULong {
|
|
4605
|
+
if (value == null) {
|
|
4606
|
+
return 1UL
|
|
4607
|
+
} else {
|
|
4608
|
+
return 1UL + FfiConverterTypeWifiDirectMessage.allocationSize(value)
|
|
4609
|
+
}
|
|
4610
|
+
}
|
|
4611
|
+
|
|
4612
|
+
override fun write(value: WifiDirectMessage?, buf: ByteBuffer) {
|
|
4613
|
+
if (value == null) {
|
|
4614
|
+
buf.put(0)
|
|
4615
|
+
} else {
|
|
4616
|
+
buf.put(1)
|
|
4617
|
+
FfiConverterTypeWifiDirectMessage.write(value, buf)
|
|
4618
|
+
}
|
|
4619
|
+
}
|
|
4620
|
+
}
|
|
4621
|
+
|
|
4622
|
+
|
|
4623
|
+
|
|
4624
|
+
|
|
4625
|
+
/**
|
|
4626
|
+
* @suppress
|
|
4627
|
+
*/
|
|
4628
|
+
public object FfiConverterSequenceUByte: FfiConverterRustBuffer<List<kotlin.UByte>> {
|
|
4629
|
+
override fun read(buf: ByteBuffer): List<kotlin.UByte> {
|
|
4630
|
+
val len = buf.getInt()
|
|
4631
|
+
return List<kotlin.UByte>(len) {
|
|
4632
|
+
FfiConverterUByte.read(buf)
|
|
4633
|
+
}
|
|
4634
|
+
}
|
|
4635
|
+
|
|
4636
|
+
override fun allocationSize(value: List<kotlin.UByte>): ULong {
|
|
4637
|
+
val sizeForLength = 4UL
|
|
4638
|
+
val sizeForItems = value.map { FfiConverterUByte.allocationSize(it) }.sum()
|
|
4639
|
+
return sizeForLength + sizeForItems
|
|
4640
|
+
}
|
|
4641
|
+
|
|
4642
|
+
override fun write(value: List<kotlin.UByte>, buf: ByteBuffer) {
|
|
4643
|
+
buf.putInt(value.size)
|
|
4644
|
+
value.iterator().forEach {
|
|
4645
|
+
FfiConverterUByte.write(it, buf)
|
|
4646
|
+
}
|
|
4647
|
+
}
|
|
4648
|
+
}
|
|
4649
|
+
|
|
4650
|
+
|
|
4651
|
+
|
|
4652
|
+
|
|
4653
|
+
/**
|
|
4654
|
+
* @suppress
|
|
4655
|
+
*/
|
|
4656
|
+
public object FfiConverterSequenceString: FfiConverterRustBuffer<List<kotlin.String>> {
|
|
4657
|
+
override fun read(buf: ByteBuffer): List<kotlin.String> {
|
|
4658
|
+
val len = buf.getInt()
|
|
4659
|
+
return List<kotlin.String>(len) {
|
|
4660
|
+
FfiConverterString.read(buf)
|
|
4661
|
+
}
|
|
4662
|
+
}
|
|
4663
|
+
|
|
4664
|
+
override fun allocationSize(value: List<kotlin.String>): ULong {
|
|
4665
|
+
val sizeForLength = 4UL
|
|
4666
|
+
val sizeForItems = value.map { FfiConverterString.allocationSize(it) }.sum()
|
|
4667
|
+
return sizeForLength + sizeForItems
|
|
4668
|
+
}
|
|
4669
|
+
|
|
4670
|
+
override fun write(value: List<kotlin.String>, buf: ByteBuffer) {
|
|
4671
|
+
buf.putInt(value.size)
|
|
4672
|
+
value.iterator().forEach {
|
|
4673
|
+
FfiConverterString.write(it, buf)
|
|
4674
|
+
}
|
|
4675
|
+
}
|
|
4676
|
+
}
|
|
4677
|
+
|
|
4678
|
+
|
|
4679
|
+
|
|
4680
|
+
|
|
4681
|
+
/**
|
|
4682
|
+
* @suppress
|
|
4683
|
+
*/
|
|
4684
|
+
public object FfiConverterSequenceTypeMessageStats: FfiConverterRustBuffer<List<MessageStats>> {
|
|
4685
|
+
override fun read(buf: ByteBuffer): List<MessageStats> {
|
|
4686
|
+
val len = buf.getInt()
|
|
4687
|
+
return List<MessageStats>(len) {
|
|
4688
|
+
FfiConverterTypeMessageStats.read(buf)
|
|
4689
|
+
}
|
|
4690
|
+
}
|
|
4691
|
+
|
|
4692
|
+
override fun allocationSize(value: List<MessageStats>): ULong {
|
|
4693
|
+
val sizeForLength = 4UL
|
|
4694
|
+
val sizeForItems = value.map { FfiConverterTypeMessageStats.allocationSize(it) }.sum()
|
|
4695
|
+
return sizeForLength + sizeForItems
|
|
4696
|
+
}
|
|
4697
|
+
|
|
4698
|
+
override fun write(value: List<MessageStats>, buf: ByteBuffer) {
|
|
4699
|
+
buf.putInt(value.size)
|
|
4700
|
+
value.iterator().forEach {
|
|
4701
|
+
FfiConverterTypeMessageStats.write(it, buf)
|
|
4702
|
+
}
|
|
4703
|
+
}
|
|
4704
|
+
}
|
|
4705
|
+
|
|
4706
|
+
|
|
4707
|
+
|
|
4708
|
+
|
|
4709
|
+
/**
|
|
4710
|
+
* @suppress
|
|
4711
|
+
*/
|
|
4712
|
+
public object FfiConverterSequenceTypeNetworkLink: FfiConverterRustBuffer<List<NetworkLink>> {
|
|
4713
|
+
override fun read(buf: ByteBuffer): List<NetworkLink> {
|
|
4714
|
+
val len = buf.getInt()
|
|
4715
|
+
return List<NetworkLink>(len) {
|
|
4716
|
+
FfiConverterTypeNetworkLink.read(buf)
|
|
4717
|
+
}
|
|
4718
|
+
}
|
|
4719
|
+
|
|
4720
|
+
override fun allocationSize(value: List<NetworkLink>): ULong {
|
|
4721
|
+
val sizeForLength = 4UL
|
|
4722
|
+
val sizeForItems = value.map { FfiConverterTypeNetworkLink.allocationSize(it) }.sum()
|
|
4723
|
+
return sizeForLength + sizeForItems
|
|
4724
|
+
}
|
|
4725
|
+
|
|
4726
|
+
override fun write(value: List<NetworkLink>, buf: ByteBuffer) {
|
|
4727
|
+
buf.putInt(value.size)
|
|
4728
|
+
value.iterator().forEach {
|
|
4729
|
+
FfiConverterTypeNetworkLink.write(it, buf)
|
|
4730
|
+
}
|
|
4731
|
+
}
|
|
4732
|
+
}
|
|
4733
|
+
|
|
4734
|
+
|
|
4735
|
+
|
|
4736
|
+
|
|
4737
|
+
/**
|
|
4738
|
+
* @suppress
|
|
4739
|
+
*/
|
|
4740
|
+
public object FfiConverterSequenceTypeNetworkNode: FfiConverterRustBuffer<List<NetworkNode>> {
|
|
4741
|
+
override fun read(buf: ByteBuffer): List<NetworkNode> {
|
|
4742
|
+
val len = buf.getInt()
|
|
4743
|
+
return List<NetworkNode>(len) {
|
|
4744
|
+
FfiConverterTypeNetworkNode.read(buf)
|
|
4745
|
+
}
|
|
4746
|
+
}
|
|
4747
|
+
|
|
4748
|
+
override fun allocationSize(value: List<NetworkNode>): ULong {
|
|
4749
|
+
val sizeForLength = 4UL
|
|
4750
|
+
val sizeForItems = value.map { FfiConverterTypeNetworkNode.allocationSize(it) }.sum()
|
|
4751
|
+
return sizeForLength + sizeForItems
|
|
4752
|
+
}
|
|
4753
|
+
|
|
4754
|
+
override fun write(value: List<NetworkNode>, buf: ByteBuffer) {
|
|
4755
|
+
buf.putInt(value.size)
|
|
4756
|
+
value.iterator().forEach {
|
|
4757
|
+
FfiConverterTypeNetworkNode.write(it, buf)
|
|
4758
|
+
}
|
|
4759
|
+
}
|
|
4760
|
+
}
|
|
4761
|
+
|
|
4762
|
+
|
|
4763
|
+
|
|
4764
|
+
|
|
4765
|
+
/**
|
|
4766
|
+
* @suppress
|
|
4767
|
+
*/
|
|
4768
|
+
public object FfiConverterSequenceTypeRouteEntry: FfiConverterRustBuffer<List<RouteEntry>> {
|
|
4769
|
+
override fun read(buf: ByteBuffer): List<RouteEntry> {
|
|
4770
|
+
val len = buf.getInt()
|
|
4771
|
+
return List<RouteEntry>(len) {
|
|
4772
|
+
FfiConverterTypeRouteEntry.read(buf)
|
|
4773
|
+
}
|
|
4774
|
+
}
|
|
4775
|
+
|
|
4776
|
+
override fun allocationSize(value: List<RouteEntry>): ULong {
|
|
4777
|
+
val sizeForLength = 4UL
|
|
4778
|
+
val sizeForItems = value.map { FfiConverterTypeRouteEntry.allocationSize(it) }.sum()
|
|
4779
|
+
return sizeForLength + sizeForItems
|
|
4780
|
+
}
|
|
4781
|
+
|
|
4782
|
+
override fun write(value: List<RouteEntry>, buf: ByteBuffer) {
|
|
4783
|
+
buf.putInt(value.size)
|
|
4784
|
+
value.iterator().forEach {
|
|
4785
|
+
FfiConverterTypeRouteEntry.write(it, buf)
|
|
4786
|
+
}
|
|
4787
|
+
}
|
|
4788
|
+
}
|
|
4789
|
+
|