@npaw/forge-react-native 9.7.2 → 9.7.4

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.
Files changed (20) hide show
  1. package/android/build.gradle +1 -1
  2. package/ios/ForgeApple/ForgeKernelFFI.xcframework/Info.plist +7 -7
  3. package/ios/ForgeApple/ForgeKernelFFI.xcframework/ios-arm64/Headers/forge_kernelFFI.h +60 -0
  4. package/ios/ForgeApple/ForgeKernelFFI.xcframework/ios-arm64/libForgeKernelFFI.a +0 -0
  5. package/ios/ForgeApple/ForgeKernelFFI.xcframework/ios-arm64_x86_64-simulator/Headers/forge_kernelFFI.h +60 -0
  6. package/ios/ForgeApple/ForgeKernelFFI.xcframework/ios-arm64_x86_64-simulator/libForgeKernelFFI.a +0 -0
  7. package/ios/ForgeApple/ForgeKernelFFI.xcframework/tvos-arm64/Headers/forge_kernelFFI.h +60 -0
  8. package/ios/ForgeApple/ForgeKernelFFI.xcframework/tvos-arm64/libForgeKernelFFI.a +0 -0
  9. package/ios/ForgeApple/ForgeKernelFFI.xcframework/tvos-arm64-simulator/Headers/forge_kernelFFI.h +60 -0
  10. package/ios/ForgeApple/ForgeKernelFFI.xcframework/tvos-arm64-simulator/libForgeKernelFFI.a +0 -0
  11. package/ios/ForgeApple/Sources/ForgeKernelUniFFI/forge_kernel.swift +415 -1
  12. package/ios/ForgeApple/Sources/ForgeKernelUniFFI/forge_kernelFFI.h +60 -0
  13. package/ios/ForgeApple/Sources/NPAWForgeAVPlayerAdapter/AVPlayerAdapter.swift +22 -1
  14. package/ios/ForgeApple/Sources/NPAWForgeCore/DeviceInsightsCollector.swift +494 -0
  15. package/ios/ForgeApple/Sources/NPAWForgeCore/ForgeApple.swift +51 -0
  16. package/ios/ForgeApple/Sources/NPAWForgeCore/ForgeCapturePlan.swift +14 -0
  17. package/ios/ForgeApple/Sources/NPAWForgeCore/ForgeRuntime.swift +48 -0
  18. package/ios/ForgeApple/Sources/NPAWForgeCore/NPAWForge.swift +49 -1
  19. package/ios/ForgeApple/Sources/NPAWForgeCore/NativeUniFFIRuntime.swift +77 -0
  20. package/package.json +1 -1
@@ -28,7 +28,7 @@ def safeExtGet(prop, fallback) {
28
28
  // FORGE_CORE_VERSION (see scripts/react-native/hydrate-natives.sh).
29
29
  def forgeCoreVersion = project.hasProperty('NpawForge_forgeCoreVersion')
30
30
  ? project.property('NpawForge_forgeCoreVersion')
31
- : (System.getenv('FORGE_CORE_VERSION') ?: '9.7.2')
31
+ : (System.getenv('FORGE_CORE_VERSION') ?: '9.7.4')
32
32
 
33
33
  android {
34
34
  namespace 'com.npaw.forge.reactnative'
@@ -44,18 +44,15 @@
44
44
  <key>HeadersPath</key>
45
45
  <string>Headers</string>
46
46
  <key>LibraryIdentifier</key>
47
- <string>ios-arm64_x86_64-simulator</string>
47
+ <string>tvos-arm64</string>
48
48
  <key>LibraryPath</key>
49
49
  <string>libForgeKernelFFI.a</string>
50
50
  <key>SupportedArchitectures</key>
51
51
  <array>
52
52
  <string>arm64</string>
53
- <string>x86_64</string>
54
53
  </array>
55
54
  <key>SupportedPlatform</key>
56
- <string>ios</string>
57
- <key>SupportedPlatformVariant</key>
58
- <string>simulator</string>
55
+ <string>tvos</string>
59
56
  </dict>
60
57
  <dict>
61
58
  <key>BinaryPath</key>
@@ -63,15 +60,18 @@
63
60
  <key>HeadersPath</key>
64
61
  <string>Headers</string>
65
62
  <key>LibraryIdentifier</key>
66
- <string>tvos-arm64</string>
63
+ <string>ios-arm64_x86_64-simulator</string>
67
64
  <key>LibraryPath</key>
68
65
  <string>libForgeKernelFFI.a</string>
69
66
  <key>SupportedArchitectures</key>
70
67
  <array>
71
68
  <string>arm64</string>
69
+ <string>x86_64</string>
72
70
  </array>
73
71
  <key>SupportedPlatform</key>
74
- <string>tvos</string>
72
+ <string>ios</string>
73
+ <key>SupportedPlatformVariant</key>
74
+ <string>simulator</string>
75
75
  </dict>
76
76
  </array>
77
77
  <key>CFBundlePackageType</key>
@@ -256,6 +256,13 @@ typedef void (*UniffiCallbackInterfaceAppleContentMetadataProviderMethod0)(uint6
256
256
  RustCallStatus *_Nonnull uniffiCallStatus
257
257
  );
258
258
 
259
+ #endif
260
+ #ifndef UNIFFI_FFIDEF_CALLBACK_INTERFACE_APPLE_DEVICE_SAMPLE_LISTENER_METHOD0
261
+ #define UNIFFI_FFIDEF_CALLBACK_INTERFACE_APPLE_DEVICE_SAMPLE_LISTENER_METHOD0
262
+ typedef void (*UniffiCallbackInterfaceAppleDeviceSampleListenerMethod0)(uint64_t, RustBuffer, void* _Nonnull,
263
+ RustCallStatus *_Nonnull uniffiCallStatus
264
+ );
265
+
259
266
  #endif
260
267
  #ifndef UNIFFI_FFIDEF_CALLBACK_INTERFACE_APPLE_LOG_LISTENER_METHOD0
261
268
  #define UNIFFI_FFIDEF_CALLBACK_INTERFACE_APPLE_LOG_LISTENER_METHOD0
@@ -295,6 +302,15 @@ typedef struct UniffiVTableCallbackInterfaceAppleContentMetadataProvider {
295
302
  UniffiCallbackInterfaceAppleContentMetadataProviderMethod0 _Nonnull metadataSnapshot;
296
303
  } UniffiVTableCallbackInterfaceAppleContentMetadataProvider;
297
304
 
305
+ #endif
306
+ #ifndef UNIFFI_FFIDEF_V_TABLE_CALLBACK_INTERFACE_APPLE_DEVICE_SAMPLE_LISTENER
307
+ #define UNIFFI_FFIDEF_V_TABLE_CALLBACK_INTERFACE_APPLE_DEVICE_SAMPLE_LISTENER
308
+ typedef struct UniffiVTableCallbackInterfaceAppleDeviceSampleListener {
309
+ UniffiCallbackInterfaceFree _Nonnull uniffiFree;
310
+ UniffiCallbackInterfaceClone _Nonnull uniffiClone;
311
+ UniffiCallbackInterfaceAppleDeviceSampleListenerMethod0 _Nonnull onSampleRequest;
312
+ } UniffiVTableCallbackInterfaceAppleDeviceSampleListener;
313
+
298
314
  #endif
299
315
  #ifndef UNIFFI_FFIDEF_V_TABLE_CALLBACK_INTERFACE_APPLE_LOG_LISTENER
300
316
  #define UNIFFI_FFIDEF_V_TABLE_CALLBACK_INTERFACE_APPLE_LOG_LISTENER
@@ -353,6 +369,11 @@ RustBuffer uniffi_forge_kernel_uniffi_fn_method_forgeruntimebridge_clear_capture
353
369
  RustBuffer uniffi_forge_kernel_uniffi_fn_method_forgeruntimebridge_clear_content_metadata_provider(uint64_t ptr, uint64_t view_id, RustCallStatus *_Nonnull out_status
354
370
  );
355
371
  #endif
372
+ #ifndef UNIFFI_FFIDEF_UNIFFI_FORGE_KERNEL_UNIFFI_FN_METHOD_FORGERUNTIMEBRIDGE_CLEAR_DEVICE_SAMPLE_LISTENER
373
+ #define UNIFFI_FFIDEF_UNIFFI_FORGE_KERNEL_UNIFFI_FN_METHOD_FORGERUNTIMEBRIDGE_CLEAR_DEVICE_SAMPLE_LISTENER
374
+ RustBuffer uniffi_forge_kernel_uniffi_fn_method_forgeruntimebridge_clear_device_sample_listener(uint64_t ptr, RustCallStatus *_Nonnull out_status
375
+ );
376
+ #endif
356
377
  #ifndef UNIFFI_FFIDEF_UNIFFI_FORGE_KERNEL_UNIFFI_FN_METHOD_FORGERUNTIMEBRIDGE_CLEAR_LOG_LISTENER
357
378
  #define UNIFFI_FFIDEF_UNIFFI_FORGE_KERNEL_UNIFFI_FN_METHOD_FORGERUNTIMEBRIDGE_CLEAR_LOG_LISTENER
358
379
  RustBuffer uniffi_forge_kernel_uniffi_fn_method_forgeruntimebridge_clear_log_listener(uint64_t ptr, RustCallStatus *_Nonnull out_status
@@ -388,6 +409,11 @@ RustBuffer uniffi_forge_kernel_uniffi_fn_method_forgeruntimebridge_record_ad_eve
388
409
  RustBuffer uniffi_forge_kernel_uniffi_fn_method_forgeruntimebridge_record_application_foreground(uint64_t ptr, int8_t foreground, uint64_t timemark_ms, RustCallStatus *_Nonnull out_status
389
410
  );
390
411
  #endif
412
+ #ifndef UNIFFI_FFIDEF_UNIFFI_FORGE_KERNEL_UNIFFI_FN_METHOD_FORGERUNTIMEBRIDGE_RECORD_DEVICE_SAMPLE
413
+ #define UNIFFI_FFIDEF_UNIFFI_FORGE_KERNEL_UNIFFI_FN_METHOD_FORGERUNTIMEBRIDGE_RECORD_DEVICE_SAMPLE
414
+ RustBuffer uniffi_forge_kernel_uniffi_fn_method_forgeruntimebridge_record_device_sample(uint64_t ptr, RustBuffer sample, RustCallStatus *_Nonnull out_status
415
+ );
416
+ #endif
391
417
  #ifndef UNIFFI_FFIDEF_UNIFFI_FORGE_KERNEL_UNIFFI_FN_METHOD_FORGERUNTIMEBRIDGE_RECORD_IDENTITY_EVENT
392
418
  #define UNIFFI_FFIDEF_UNIFFI_FORGE_KERNEL_UNIFFI_FN_METHOD_FORGERUNTIMEBRIDGE_RECORD_IDENTITY_EVENT
393
419
  RustBuffer uniffi_forge_kernel_uniffi_fn_method_forgeruntimebridge_record_identity_event(uint64_t ptr, RustBuffer kind, uint64_t timemark_ms, RustBuffer fields, RustCallStatus *_Nonnull out_status
@@ -428,6 +454,11 @@ RustBuffer uniffi_forge_kernel_uniffi_fn_method_forgeruntimebridge_set_capture_p
428
454
  RustBuffer uniffi_forge_kernel_uniffi_fn_method_forgeruntimebridge_set_content_metadata_provider(uint64_t ptr, uint64_t view_id, uint64_t provider, RustCallStatus *_Nonnull out_status
429
455
  );
430
456
  #endif
457
+ #ifndef UNIFFI_FFIDEF_UNIFFI_FORGE_KERNEL_UNIFFI_FN_METHOD_FORGERUNTIMEBRIDGE_SET_DEVICE_SAMPLE_LISTENER
458
+ #define UNIFFI_FFIDEF_UNIFFI_FORGE_KERNEL_UNIFFI_FN_METHOD_FORGERUNTIMEBRIDGE_SET_DEVICE_SAMPLE_LISTENER
459
+ RustBuffer uniffi_forge_kernel_uniffi_fn_method_forgeruntimebridge_set_device_sample_listener(uint64_t ptr, uint64_t listener, RustCallStatus *_Nonnull out_status
460
+ );
461
+ #endif
431
462
  #ifndef UNIFFI_FFIDEF_UNIFFI_FORGE_KERNEL_UNIFFI_FN_METHOD_FORGERUNTIMEBRIDGE_SET_LOG_LEVEL
432
463
  #define UNIFFI_FFIDEF_UNIFFI_FORGE_KERNEL_UNIFFI_FN_METHOD_FORGERUNTIMEBRIDGE_SET_LOG_LEVEL
433
464
  RustBuffer uniffi_forge_kernel_uniffi_fn_method_forgeruntimebridge_set_log_level(uint64_t ptr, RustBuffer log_level, RustCallStatus *_Nonnull out_status
@@ -468,6 +499,11 @@ void uniffi_forge_kernel_uniffi_fn_init_callback_vtable_applecaptureplanlistener
468
499
  void uniffi_forge_kernel_uniffi_fn_init_callback_vtable_applecontentmetadataprovider(const UniffiVTableCallbackInterfaceAppleContentMetadataProvider* _Nonnull vtable
469
500
  );
470
501
  #endif
502
+ #ifndef UNIFFI_FFIDEF_UNIFFI_FORGE_KERNEL_UNIFFI_FN_INIT_CALLBACK_VTABLE_APPLEDEVICESAMPLELISTENER
503
+ #define UNIFFI_FFIDEF_UNIFFI_FORGE_KERNEL_UNIFFI_FN_INIT_CALLBACK_VTABLE_APPLEDEVICESAMPLELISTENER
504
+ void uniffi_forge_kernel_uniffi_fn_init_callback_vtable_appledevicesamplelistener(const UniffiVTableCallbackInterfaceAppleDeviceSampleListener* _Nonnull vtable
505
+ );
506
+ #endif
471
507
  #ifndef UNIFFI_FFIDEF_UNIFFI_FORGE_KERNEL_UNIFFI_FN_INIT_CALLBACK_VTABLE_APPLELOGLISTENER
472
508
  #define UNIFFI_FFIDEF_UNIFFI_FORGE_KERNEL_UNIFFI_FN_INIT_CALLBACK_VTABLE_APPLELOGLISTENER
473
509
  void uniffi_forge_kernel_uniffi_fn_init_callback_vtable_appleloglistener(const UniffiVTableCallbackInterfaceAppleLogListener* _Nonnull vtable
@@ -771,6 +807,12 @@ uint16_t uniffi_forge_kernel_uniffi_checksum_method_forgeruntimebridge_clear_cap
771
807
  #define UNIFFI_FFIDEF_UNIFFI_FORGE_KERNEL_UNIFFI_CHECKSUM_METHOD_FORGERUNTIMEBRIDGE_CLEAR_CONTENT_METADATA_PROVIDER
772
808
  uint16_t uniffi_forge_kernel_uniffi_checksum_method_forgeruntimebridge_clear_content_metadata_provider(void
773
809
 
810
+ );
811
+ #endif
812
+ #ifndef UNIFFI_FFIDEF_UNIFFI_FORGE_KERNEL_UNIFFI_CHECKSUM_METHOD_FORGERUNTIMEBRIDGE_CLEAR_DEVICE_SAMPLE_LISTENER
813
+ #define UNIFFI_FFIDEF_UNIFFI_FORGE_KERNEL_UNIFFI_CHECKSUM_METHOD_FORGERUNTIMEBRIDGE_CLEAR_DEVICE_SAMPLE_LISTENER
814
+ uint16_t uniffi_forge_kernel_uniffi_checksum_method_forgeruntimebridge_clear_device_sample_listener(void
815
+
774
816
  );
775
817
  #endif
776
818
  #ifndef UNIFFI_FFIDEF_UNIFFI_FORGE_KERNEL_UNIFFI_CHECKSUM_METHOD_FORGERUNTIMEBRIDGE_CLEAR_LOG_LISTENER
@@ -813,6 +855,12 @@ uint16_t uniffi_forge_kernel_uniffi_checksum_method_forgeruntimebridge_record_ad
813
855
  #define UNIFFI_FFIDEF_UNIFFI_FORGE_KERNEL_UNIFFI_CHECKSUM_METHOD_FORGERUNTIMEBRIDGE_RECORD_APPLICATION_FOREGROUND
814
856
  uint16_t uniffi_forge_kernel_uniffi_checksum_method_forgeruntimebridge_record_application_foreground(void
815
857
 
858
+ );
859
+ #endif
860
+ #ifndef UNIFFI_FFIDEF_UNIFFI_FORGE_KERNEL_UNIFFI_CHECKSUM_METHOD_FORGERUNTIMEBRIDGE_RECORD_DEVICE_SAMPLE
861
+ #define UNIFFI_FFIDEF_UNIFFI_FORGE_KERNEL_UNIFFI_CHECKSUM_METHOD_FORGERUNTIMEBRIDGE_RECORD_DEVICE_SAMPLE
862
+ uint16_t uniffi_forge_kernel_uniffi_checksum_method_forgeruntimebridge_record_device_sample(void
863
+
816
864
  );
817
865
  #endif
818
866
  #ifndef UNIFFI_FFIDEF_UNIFFI_FORGE_KERNEL_UNIFFI_CHECKSUM_METHOD_FORGERUNTIMEBRIDGE_RECORD_IDENTITY_EVENT
@@ -861,6 +909,12 @@ uint16_t uniffi_forge_kernel_uniffi_checksum_method_forgeruntimebridge_set_captu
861
909
  #define UNIFFI_FFIDEF_UNIFFI_FORGE_KERNEL_UNIFFI_CHECKSUM_METHOD_FORGERUNTIMEBRIDGE_SET_CONTENT_METADATA_PROVIDER
862
910
  uint16_t uniffi_forge_kernel_uniffi_checksum_method_forgeruntimebridge_set_content_metadata_provider(void
863
911
 
912
+ );
913
+ #endif
914
+ #ifndef UNIFFI_FFIDEF_UNIFFI_FORGE_KERNEL_UNIFFI_CHECKSUM_METHOD_FORGERUNTIMEBRIDGE_SET_DEVICE_SAMPLE_LISTENER
915
+ #define UNIFFI_FFIDEF_UNIFFI_FORGE_KERNEL_UNIFFI_CHECKSUM_METHOD_FORGERUNTIMEBRIDGE_SET_DEVICE_SAMPLE_LISTENER
916
+ uint16_t uniffi_forge_kernel_uniffi_checksum_method_forgeruntimebridge_set_device_sample_listener(void
917
+
864
918
  );
865
919
  #endif
866
920
  #ifndef UNIFFI_FFIDEF_UNIFFI_FORGE_KERNEL_UNIFFI_CHECKSUM_METHOD_FORGERUNTIMEBRIDGE_SET_LOG_LEVEL
@@ -915,6 +969,12 @@ uint16_t uniffi_forge_kernel_uniffi_checksum_method_applecaptureplanlistener_on_
915
969
  #define UNIFFI_FFIDEF_UNIFFI_FORGE_KERNEL_UNIFFI_CHECKSUM_METHOD_APPLECONTENTMETADATAPROVIDER_METADATA_SNAPSHOT
916
970
  uint16_t uniffi_forge_kernel_uniffi_checksum_method_applecontentmetadataprovider_metadata_snapshot(void
917
971
 
972
+ );
973
+ #endif
974
+ #ifndef UNIFFI_FFIDEF_UNIFFI_FORGE_KERNEL_UNIFFI_CHECKSUM_METHOD_APPLEDEVICESAMPLELISTENER_ON_SAMPLE_REQUEST
975
+ #define UNIFFI_FFIDEF_UNIFFI_FORGE_KERNEL_UNIFFI_CHECKSUM_METHOD_APPLEDEVICESAMPLELISTENER_ON_SAMPLE_REQUEST
976
+ uint16_t uniffi_forge_kernel_uniffi_checksum_method_appledevicesamplelistener_on_sample_request(void
977
+
918
978
  );
919
979
  #endif
920
980
  #ifndef UNIFFI_FFIDEF_UNIFFI_FORGE_KERNEL_UNIFFI_CHECKSUM_METHOD_APPLELOGLISTENER_ON_LOG
@@ -256,6 +256,13 @@ typedef void (*UniffiCallbackInterfaceAppleContentMetadataProviderMethod0)(uint6
256
256
  RustCallStatus *_Nonnull uniffiCallStatus
257
257
  );
258
258
 
259
+ #endif
260
+ #ifndef UNIFFI_FFIDEF_CALLBACK_INTERFACE_APPLE_DEVICE_SAMPLE_LISTENER_METHOD0
261
+ #define UNIFFI_FFIDEF_CALLBACK_INTERFACE_APPLE_DEVICE_SAMPLE_LISTENER_METHOD0
262
+ typedef void (*UniffiCallbackInterfaceAppleDeviceSampleListenerMethod0)(uint64_t, RustBuffer, void* _Nonnull,
263
+ RustCallStatus *_Nonnull uniffiCallStatus
264
+ );
265
+
259
266
  #endif
260
267
  #ifndef UNIFFI_FFIDEF_CALLBACK_INTERFACE_APPLE_LOG_LISTENER_METHOD0
261
268
  #define UNIFFI_FFIDEF_CALLBACK_INTERFACE_APPLE_LOG_LISTENER_METHOD0
@@ -295,6 +302,15 @@ typedef struct UniffiVTableCallbackInterfaceAppleContentMetadataProvider {
295
302
  UniffiCallbackInterfaceAppleContentMetadataProviderMethod0 _Nonnull metadataSnapshot;
296
303
  } UniffiVTableCallbackInterfaceAppleContentMetadataProvider;
297
304
 
305
+ #endif
306
+ #ifndef UNIFFI_FFIDEF_V_TABLE_CALLBACK_INTERFACE_APPLE_DEVICE_SAMPLE_LISTENER
307
+ #define UNIFFI_FFIDEF_V_TABLE_CALLBACK_INTERFACE_APPLE_DEVICE_SAMPLE_LISTENER
308
+ typedef struct UniffiVTableCallbackInterfaceAppleDeviceSampleListener {
309
+ UniffiCallbackInterfaceFree _Nonnull uniffiFree;
310
+ UniffiCallbackInterfaceClone _Nonnull uniffiClone;
311
+ UniffiCallbackInterfaceAppleDeviceSampleListenerMethod0 _Nonnull onSampleRequest;
312
+ } UniffiVTableCallbackInterfaceAppleDeviceSampleListener;
313
+
298
314
  #endif
299
315
  #ifndef UNIFFI_FFIDEF_V_TABLE_CALLBACK_INTERFACE_APPLE_LOG_LISTENER
300
316
  #define UNIFFI_FFIDEF_V_TABLE_CALLBACK_INTERFACE_APPLE_LOG_LISTENER
@@ -353,6 +369,11 @@ RustBuffer uniffi_forge_kernel_uniffi_fn_method_forgeruntimebridge_clear_capture
353
369
  RustBuffer uniffi_forge_kernel_uniffi_fn_method_forgeruntimebridge_clear_content_metadata_provider(uint64_t ptr, uint64_t view_id, RustCallStatus *_Nonnull out_status
354
370
  );
355
371
  #endif
372
+ #ifndef UNIFFI_FFIDEF_UNIFFI_FORGE_KERNEL_UNIFFI_FN_METHOD_FORGERUNTIMEBRIDGE_CLEAR_DEVICE_SAMPLE_LISTENER
373
+ #define UNIFFI_FFIDEF_UNIFFI_FORGE_KERNEL_UNIFFI_FN_METHOD_FORGERUNTIMEBRIDGE_CLEAR_DEVICE_SAMPLE_LISTENER
374
+ RustBuffer uniffi_forge_kernel_uniffi_fn_method_forgeruntimebridge_clear_device_sample_listener(uint64_t ptr, RustCallStatus *_Nonnull out_status
375
+ );
376
+ #endif
356
377
  #ifndef UNIFFI_FFIDEF_UNIFFI_FORGE_KERNEL_UNIFFI_FN_METHOD_FORGERUNTIMEBRIDGE_CLEAR_LOG_LISTENER
357
378
  #define UNIFFI_FFIDEF_UNIFFI_FORGE_KERNEL_UNIFFI_FN_METHOD_FORGERUNTIMEBRIDGE_CLEAR_LOG_LISTENER
358
379
  RustBuffer uniffi_forge_kernel_uniffi_fn_method_forgeruntimebridge_clear_log_listener(uint64_t ptr, RustCallStatus *_Nonnull out_status
@@ -388,6 +409,11 @@ RustBuffer uniffi_forge_kernel_uniffi_fn_method_forgeruntimebridge_record_ad_eve
388
409
  RustBuffer uniffi_forge_kernel_uniffi_fn_method_forgeruntimebridge_record_application_foreground(uint64_t ptr, int8_t foreground, uint64_t timemark_ms, RustCallStatus *_Nonnull out_status
389
410
  );
390
411
  #endif
412
+ #ifndef UNIFFI_FFIDEF_UNIFFI_FORGE_KERNEL_UNIFFI_FN_METHOD_FORGERUNTIMEBRIDGE_RECORD_DEVICE_SAMPLE
413
+ #define UNIFFI_FFIDEF_UNIFFI_FORGE_KERNEL_UNIFFI_FN_METHOD_FORGERUNTIMEBRIDGE_RECORD_DEVICE_SAMPLE
414
+ RustBuffer uniffi_forge_kernel_uniffi_fn_method_forgeruntimebridge_record_device_sample(uint64_t ptr, RustBuffer sample, RustCallStatus *_Nonnull out_status
415
+ );
416
+ #endif
391
417
  #ifndef UNIFFI_FFIDEF_UNIFFI_FORGE_KERNEL_UNIFFI_FN_METHOD_FORGERUNTIMEBRIDGE_RECORD_IDENTITY_EVENT
392
418
  #define UNIFFI_FFIDEF_UNIFFI_FORGE_KERNEL_UNIFFI_FN_METHOD_FORGERUNTIMEBRIDGE_RECORD_IDENTITY_EVENT
393
419
  RustBuffer uniffi_forge_kernel_uniffi_fn_method_forgeruntimebridge_record_identity_event(uint64_t ptr, RustBuffer kind, uint64_t timemark_ms, RustBuffer fields, RustCallStatus *_Nonnull out_status
@@ -428,6 +454,11 @@ RustBuffer uniffi_forge_kernel_uniffi_fn_method_forgeruntimebridge_set_capture_p
428
454
  RustBuffer uniffi_forge_kernel_uniffi_fn_method_forgeruntimebridge_set_content_metadata_provider(uint64_t ptr, uint64_t view_id, uint64_t provider, RustCallStatus *_Nonnull out_status
429
455
  );
430
456
  #endif
457
+ #ifndef UNIFFI_FFIDEF_UNIFFI_FORGE_KERNEL_UNIFFI_FN_METHOD_FORGERUNTIMEBRIDGE_SET_DEVICE_SAMPLE_LISTENER
458
+ #define UNIFFI_FFIDEF_UNIFFI_FORGE_KERNEL_UNIFFI_FN_METHOD_FORGERUNTIMEBRIDGE_SET_DEVICE_SAMPLE_LISTENER
459
+ RustBuffer uniffi_forge_kernel_uniffi_fn_method_forgeruntimebridge_set_device_sample_listener(uint64_t ptr, uint64_t listener, RustCallStatus *_Nonnull out_status
460
+ );
461
+ #endif
431
462
  #ifndef UNIFFI_FFIDEF_UNIFFI_FORGE_KERNEL_UNIFFI_FN_METHOD_FORGERUNTIMEBRIDGE_SET_LOG_LEVEL
432
463
  #define UNIFFI_FFIDEF_UNIFFI_FORGE_KERNEL_UNIFFI_FN_METHOD_FORGERUNTIMEBRIDGE_SET_LOG_LEVEL
433
464
  RustBuffer uniffi_forge_kernel_uniffi_fn_method_forgeruntimebridge_set_log_level(uint64_t ptr, RustBuffer log_level, RustCallStatus *_Nonnull out_status
@@ -468,6 +499,11 @@ void uniffi_forge_kernel_uniffi_fn_init_callback_vtable_applecaptureplanlistener
468
499
  void uniffi_forge_kernel_uniffi_fn_init_callback_vtable_applecontentmetadataprovider(const UniffiVTableCallbackInterfaceAppleContentMetadataProvider* _Nonnull vtable
469
500
  );
470
501
  #endif
502
+ #ifndef UNIFFI_FFIDEF_UNIFFI_FORGE_KERNEL_UNIFFI_FN_INIT_CALLBACK_VTABLE_APPLEDEVICESAMPLELISTENER
503
+ #define UNIFFI_FFIDEF_UNIFFI_FORGE_KERNEL_UNIFFI_FN_INIT_CALLBACK_VTABLE_APPLEDEVICESAMPLELISTENER
504
+ void uniffi_forge_kernel_uniffi_fn_init_callback_vtable_appledevicesamplelistener(const UniffiVTableCallbackInterfaceAppleDeviceSampleListener* _Nonnull vtable
505
+ );
506
+ #endif
471
507
  #ifndef UNIFFI_FFIDEF_UNIFFI_FORGE_KERNEL_UNIFFI_FN_INIT_CALLBACK_VTABLE_APPLELOGLISTENER
472
508
  #define UNIFFI_FFIDEF_UNIFFI_FORGE_KERNEL_UNIFFI_FN_INIT_CALLBACK_VTABLE_APPLELOGLISTENER
473
509
  void uniffi_forge_kernel_uniffi_fn_init_callback_vtable_appleloglistener(const UniffiVTableCallbackInterfaceAppleLogListener* _Nonnull vtable
@@ -771,6 +807,12 @@ uint16_t uniffi_forge_kernel_uniffi_checksum_method_forgeruntimebridge_clear_cap
771
807
  #define UNIFFI_FFIDEF_UNIFFI_FORGE_KERNEL_UNIFFI_CHECKSUM_METHOD_FORGERUNTIMEBRIDGE_CLEAR_CONTENT_METADATA_PROVIDER
772
808
  uint16_t uniffi_forge_kernel_uniffi_checksum_method_forgeruntimebridge_clear_content_metadata_provider(void
773
809
 
810
+ );
811
+ #endif
812
+ #ifndef UNIFFI_FFIDEF_UNIFFI_FORGE_KERNEL_UNIFFI_CHECKSUM_METHOD_FORGERUNTIMEBRIDGE_CLEAR_DEVICE_SAMPLE_LISTENER
813
+ #define UNIFFI_FFIDEF_UNIFFI_FORGE_KERNEL_UNIFFI_CHECKSUM_METHOD_FORGERUNTIMEBRIDGE_CLEAR_DEVICE_SAMPLE_LISTENER
814
+ uint16_t uniffi_forge_kernel_uniffi_checksum_method_forgeruntimebridge_clear_device_sample_listener(void
815
+
774
816
  );
775
817
  #endif
776
818
  #ifndef UNIFFI_FFIDEF_UNIFFI_FORGE_KERNEL_UNIFFI_CHECKSUM_METHOD_FORGERUNTIMEBRIDGE_CLEAR_LOG_LISTENER
@@ -813,6 +855,12 @@ uint16_t uniffi_forge_kernel_uniffi_checksum_method_forgeruntimebridge_record_ad
813
855
  #define UNIFFI_FFIDEF_UNIFFI_FORGE_KERNEL_UNIFFI_CHECKSUM_METHOD_FORGERUNTIMEBRIDGE_RECORD_APPLICATION_FOREGROUND
814
856
  uint16_t uniffi_forge_kernel_uniffi_checksum_method_forgeruntimebridge_record_application_foreground(void
815
857
 
858
+ );
859
+ #endif
860
+ #ifndef UNIFFI_FFIDEF_UNIFFI_FORGE_KERNEL_UNIFFI_CHECKSUM_METHOD_FORGERUNTIMEBRIDGE_RECORD_DEVICE_SAMPLE
861
+ #define UNIFFI_FFIDEF_UNIFFI_FORGE_KERNEL_UNIFFI_CHECKSUM_METHOD_FORGERUNTIMEBRIDGE_RECORD_DEVICE_SAMPLE
862
+ uint16_t uniffi_forge_kernel_uniffi_checksum_method_forgeruntimebridge_record_device_sample(void
863
+
816
864
  );
817
865
  #endif
818
866
  #ifndef UNIFFI_FFIDEF_UNIFFI_FORGE_KERNEL_UNIFFI_CHECKSUM_METHOD_FORGERUNTIMEBRIDGE_RECORD_IDENTITY_EVENT
@@ -861,6 +909,12 @@ uint16_t uniffi_forge_kernel_uniffi_checksum_method_forgeruntimebridge_set_captu
861
909
  #define UNIFFI_FFIDEF_UNIFFI_FORGE_KERNEL_UNIFFI_CHECKSUM_METHOD_FORGERUNTIMEBRIDGE_SET_CONTENT_METADATA_PROVIDER
862
910
  uint16_t uniffi_forge_kernel_uniffi_checksum_method_forgeruntimebridge_set_content_metadata_provider(void
863
911
 
912
+ );
913
+ #endif
914
+ #ifndef UNIFFI_FFIDEF_UNIFFI_FORGE_KERNEL_UNIFFI_CHECKSUM_METHOD_FORGERUNTIMEBRIDGE_SET_DEVICE_SAMPLE_LISTENER
915
+ #define UNIFFI_FFIDEF_UNIFFI_FORGE_KERNEL_UNIFFI_CHECKSUM_METHOD_FORGERUNTIMEBRIDGE_SET_DEVICE_SAMPLE_LISTENER
916
+ uint16_t uniffi_forge_kernel_uniffi_checksum_method_forgeruntimebridge_set_device_sample_listener(void
917
+
864
918
  );
865
919
  #endif
866
920
  #ifndef UNIFFI_FFIDEF_UNIFFI_FORGE_KERNEL_UNIFFI_CHECKSUM_METHOD_FORGERUNTIMEBRIDGE_SET_LOG_LEVEL
@@ -915,6 +969,12 @@ uint16_t uniffi_forge_kernel_uniffi_checksum_method_applecaptureplanlistener_on_
915
969
  #define UNIFFI_FFIDEF_UNIFFI_FORGE_KERNEL_UNIFFI_CHECKSUM_METHOD_APPLECONTENTMETADATAPROVIDER_METADATA_SNAPSHOT
916
970
  uint16_t uniffi_forge_kernel_uniffi_checksum_method_applecontentmetadataprovider_metadata_snapshot(void
917
971
 
972
+ );
973
+ #endif
974
+ #ifndef UNIFFI_FFIDEF_UNIFFI_FORGE_KERNEL_UNIFFI_CHECKSUM_METHOD_APPLEDEVICESAMPLELISTENER_ON_SAMPLE_REQUEST
975
+ #define UNIFFI_FFIDEF_UNIFFI_FORGE_KERNEL_UNIFFI_CHECKSUM_METHOD_APPLEDEVICESAMPLELISTENER_ON_SAMPLE_REQUEST
976
+ uint16_t uniffi_forge_kernel_uniffi_checksum_method_appledevicesamplelistener_on_sample_request(void
977
+
918
978
  );
919
979
  #endif
920
980
  #ifndef UNIFFI_FFIDEF_UNIFFI_FORGE_KERNEL_UNIFFI_CHECKSUM_METHOD_APPLELOGLISTENER_ON_LOG
@@ -256,6 +256,13 @@ typedef void (*UniffiCallbackInterfaceAppleContentMetadataProviderMethod0)(uint6
256
256
  RustCallStatus *_Nonnull uniffiCallStatus
257
257
  );
258
258
 
259
+ #endif
260
+ #ifndef UNIFFI_FFIDEF_CALLBACK_INTERFACE_APPLE_DEVICE_SAMPLE_LISTENER_METHOD0
261
+ #define UNIFFI_FFIDEF_CALLBACK_INTERFACE_APPLE_DEVICE_SAMPLE_LISTENER_METHOD0
262
+ typedef void (*UniffiCallbackInterfaceAppleDeviceSampleListenerMethod0)(uint64_t, RustBuffer, void* _Nonnull,
263
+ RustCallStatus *_Nonnull uniffiCallStatus
264
+ );
265
+
259
266
  #endif
260
267
  #ifndef UNIFFI_FFIDEF_CALLBACK_INTERFACE_APPLE_LOG_LISTENER_METHOD0
261
268
  #define UNIFFI_FFIDEF_CALLBACK_INTERFACE_APPLE_LOG_LISTENER_METHOD0
@@ -295,6 +302,15 @@ typedef struct UniffiVTableCallbackInterfaceAppleContentMetadataProvider {
295
302
  UniffiCallbackInterfaceAppleContentMetadataProviderMethod0 _Nonnull metadataSnapshot;
296
303
  } UniffiVTableCallbackInterfaceAppleContentMetadataProvider;
297
304
 
305
+ #endif
306
+ #ifndef UNIFFI_FFIDEF_V_TABLE_CALLBACK_INTERFACE_APPLE_DEVICE_SAMPLE_LISTENER
307
+ #define UNIFFI_FFIDEF_V_TABLE_CALLBACK_INTERFACE_APPLE_DEVICE_SAMPLE_LISTENER
308
+ typedef struct UniffiVTableCallbackInterfaceAppleDeviceSampleListener {
309
+ UniffiCallbackInterfaceFree _Nonnull uniffiFree;
310
+ UniffiCallbackInterfaceClone _Nonnull uniffiClone;
311
+ UniffiCallbackInterfaceAppleDeviceSampleListenerMethod0 _Nonnull onSampleRequest;
312
+ } UniffiVTableCallbackInterfaceAppleDeviceSampleListener;
313
+
298
314
  #endif
299
315
  #ifndef UNIFFI_FFIDEF_V_TABLE_CALLBACK_INTERFACE_APPLE_LOG_LISTENER
300
316
  #define UNIFFI_FFIDEF_V_TABLE_CALLBACK_INTERFACE_APPLE_LOG_LISTENER
@@ -353,6 +369,11 @@ RustBuffer uniffi_forge_kernel_uniffi_fn_method_forgeruntimebridge_clear_capture
353
369
  RustBuffer uniffi_forge_kernel_uniffi_fn_method_forgeruntimebridge_clear_content_metadata_provider(uint64_t ptr, uint64_t view_id, RustCallStatus *_Nonnull out_status
354
370
  );
355
371
  #endif
372
+ #ifndef UNIFFI_FFIDEF_UNIFFI_FORGE_KERNEL_UNIFFI_FN_METHOD_FORGERUNTIMEBRIDGE_CLEAR_DEVICE_SAMPLE_LISTENER
373
+ #define UNIFFI_FFIDEF_UNIFFI_FORGE_KERNEL_UNIFFI_FN_METHOD_FORGERUNTIMEBRIDGE_CLEAR_DEVICE_SAMPLE_LISTENER
374
+ RustBuffer uniffi_forge_kernel_uniffi_fn_method_forgeruntimebridge_clear_device_sample_listener(uint64_t ptr, RustCallStatus *_Nonnull out_status
375
+ );
376
+ #endif
356
377
  #ifndef UNIFFI_FFIDEF_UNIFFI_FORGE_KERNEL_UNIFFI_FN_METHOD_FORGERUNTIMEBRIDGE_CLEAR_LOG_LISTENER
357
378
  #define UNIFFI_FFIDEF_UNIFFI_FORGE_KERNEL_UNIFFI_FN_METHOD_FORGERUNTIMEBRIDGE_CLEAR_LOG_LISTENER
358
379
  RustBuffer uniffi_forge_kernel_uniffi_fn_method_forgeruntimebridge_clear_log_listener(uint64_t ptr, RustCallStatus *_Nonnull out_status
@@ -388,6 +409,11 @@ RustBuffer uniffi_forge_kernel_uniffi_fn_method_forgeruntimebridge_record_ad_eve
388
409
  RustBuffer uniffi_forge_kernel_uniffi_fn_method_forgeruntimebridge_record_application_foreground(uint64_t ptr, int8_t foreground, uint64_t timemark_ms, RustCallStatus *_Nonnull out_status
389
410
  );
390
411
  #endif
412
+ #ifndef UNIFFI_FFIDEF_UNIFFI_FORGE_KERNEL_UNIFFI_FN_METHOD_FORGERUNTIMEBRIDGE_RECORD_DEVICE_SAMPLE
413
+ #define UNIFFI_FFIDEF_UNIFFI_FORGE_KERNEL_UNIFFI_FN_METHOD_FORGERUNTIMEBRIDGE_RECORD_DEVICE_SAMPLE
414
+ RustBuffer uniffi_forge_kernel_uniffi_fn_method_forgeruntimebridge_record_device_sample(uint64_t ptr, RustBuffer sample, RustCallStatus *_Nonnull out_status
415
+ );
416
+ #endif
391
417
  #ifndef UNIFFI_FFIDEF_UNIFFI_FORGE_KERNEL_UNIFFI_FN_METHOD_FORGERUNTIMEBRIDGE_RECORD_IDENTITY_EVENT
392
418
  #define UNIFFI_FFIDEF_UNIFFI_FORGE_KERNEL_UNIFFI_FN_METHOD_FORGERUNTIMEBRIDGE_RECORD_IDENTITY_EVENT
393
419
  RustBuffer uniffi_forge_kernel_uniffi_fn_method_forgeruntimebridge_record_identity_event(uint64_t ptr, RustBuffer kind, uint64_t timemark_ms, RustBuffer fields, RustCallStatus *_Nonnull out_status
@@ -428,6 +454,11 @@ RustBuffer uniffi_forge_kernel_uniffi_fn_method_forgeruntimebridge_set_capture_p
428
454
  RustBuffer uniffi_forge_kernel_uniffi_fn_method_forgeruntimebridge_set_content_metadata_provider(uint64_t ptr, uint64_t view_id, uint64_t provider, RustCallStatus *_Nonnull out_status
429
455
  );
430
456
  #endif
457
+ #ifndef UNIFFI_FFIDEF_UNIFFI_FORGE_KERNEL_UNIFFI_FN_METHOD_FORGERUNTIMEBRIDGE_SET_DEVICE_SAMPLE_LISTENER
458
+ #define UNIFFI_FFIDEF_UNIFFI_FORGE_KERNEL_UNIFFI_FN_METHOD_FORGERUNTIMEBRIDGE_SET_DEVICE_SAMPLE_LISTENER
459
+ RustBuffer uniffi_forge_kernel_uniffi_fn_method_forgeruntimebridge_set_device_sample_listener(uint64_t ptr, uint64_t listener, RustCallStatus *_Nonnull out_status
460
+ );
461
+ #endif
431
462
  #ifndef UNIFFI_FFIDEF_UNIFFI_FORGE_KERNEL_UNIFFI_FN_METHOD_FORGERUNTIMEBRIDGE_SET_LOG_LEVEL
432
463
  #define UNIFFI_FFIDEF_UNIFFI_FORGE_KERNEL_UNIFFI_FN_METHOD_FORGERUNTIMEBRIDGE_SET_LOG_LEVEL
433
464
  RustBuffer uniffi_forge_kernel_uniffi_fn_method_forgeruntimebridge_set_log_level(uint64_t ptr, RustBuffer log_level, RustCallStatus *_Nonnull out_status
@@ -468,6 +499,11 @@ void uniffi_forge_kernel_uniffi_fn_init_callback_vtable_applecaptureplanlistener
468
499
  void uniffi_forge_kernel_uniffi_fn_init_callback_vtable_applecontentmetadataprovider(const UniffiVTableCallbackInterfaceAppleContentMetadataProvider* _Nonnull vtable
469
500
  );
470
501
  #endif
502
+ #ifndef UNIFFI_FFIDEF_UNIFFI_FORGE_KERNEL_UNIFFI_FN_INIT_CALLBACK_VTABLE_APPLEDEVICESAMPLELISTENER
503
+ #define UNIFFI_FFIDEF_UNIFFI_FORGE_KERNEL_UNIFFI_FN_INIT_CALLBACK_VTABLE_APPLEDEVICESAMPLELISTENER
504
+ void uniffi_forge_kernel_uniffi_fn_init_callback_vtable_appledevicesamplelistener(const UniffiVTableCallbackInterfaceAppleDeviceSampleListener* _Nonnull vtable
505
+ );
506
+ #endif
471
507
  #ifndef UNIFFI_FFIDEF_UNIFFI_FORGE_KERNEL_UNIFFI_FN_INIT_CALLBACK_VTABLE_APPLELOGLISTENER
472
508
  #define UNIFFI_FFIDEF_UNIFFI_FORGE_KERNEL_UNIFFI_FN_INIT_CALLBACK_VTABLE_APPLELOGLISTENER
473
509
  void uniffi_forge_kernel_uniffi_fn_init_callback_vtable_appleloglistener(const UniffiVTableCallbackInterfaceAppleLogListener* _Nonnull vtable
@@ -771,6 +807,12 @@ uint16_t uniffi_forge_kernel_uniffi_checksum_method_forgeruntimebridge_clear_cap
771
807
  #define UNIFFI_FFIDEF_UNIFFI_FORGE_KERNEL_UNIFFI_CHECKSUM_METHOD_FORGERUNTIMEBRIDGE_CLEAR_CONTENT_METADATA_PROVIDER
772
808
  uint16_t uniffi_forge_kernel_uniffi_checksum_method_forgeruntimebridge_clear_content_metadata_provider(void
773
809
 
810
+ );
811
+ #endif
812
+ #ifndef UNIFFI_FFIDEF_UNIFFI_FORGE_KERNEL_UNIFFI_CHECKSUM_METHOD_FORGERUNTIMEBRIDGE_CLEAR_DEVICE_SAMPLE_LISTENER
813
+ #define UNIFFI_FFIDEF_UNIFFI_FORGE_KERNEL_UNIFFI_CHECKSUM_METHOD_FORGERUNTIMEBRIDGE_CLEAR_DEVICE_SAMPLE_LISTENER
814
+ uint16_t uniffi_forge_kernel_uniffi_checksum_method_forgeruntimebridge_clear_device_sample_listener(void
815
+
774
816
  );
775
817
  #endif
776
818
  #ifndef UNIFFI_FFIDEF_UNIFFI_FORGE_KERNEL_UNIFFI_CHECKSUM_METHOD_FORGERUNTIMEBRIDGE_CLEAR_LOG_LISTENER
@@ -813,6 +855,12 @@ uint16_t uniffi_forge_kernel_uniffi_checksum_method_forgeruntimebridge_record_ad
813
855
  #define UNIFFI_FFIDEF_UNIFFI_FORGE_KERNEL_UNIFFI_CHECKSUM_METHOD_FORGERUNTIMEBRIDGE_RECORD_APPLICATION_FOREGROUND
814
856
  uint16_t uniffi_forge_kernel_uniffi_checksum_method_forgeruntimebridge_record_application_foreground(void
815
857
 
858
+ );
859
+ #endif
860
+ #ifndef UNIFFI_FFIDEF_UNIFFI_FORGE_KERNEL_UNIFFI_CHECKSUM_METHOD_FORGERUNTIMEBRIDGE_RECORD_DEVICE_SAMPLE
861
+ #define UNIFFI_FFIDEF_UNIFFI_FORGE_KERNEL_UNIFFI_CHECKSUM_METHOD_FORGERUNTIMEBRIDGE_RECORD_DEVICE_SAMPLE
862
+ uint16_t uniffi_forge_kernel_uniffi_checksum_method_forgeruntimebridge_record_device_sample(void
863
+
816
864
  );
817
865
  #endif
818
866
  #ifndef UNIFFI_FFIDEF_UNIFFI_FORGE_KERNEL_UNIFFI_CHECKSUM_METHOD_FORGERUNTIMEBRIDGE_RECORD_IDENTITY_EVENT
@@ -861,6 +909,12 @@ uint16_t uniffi_forge_kernel_uniffi_checksum_method_forgeruntimebridge_set_captu
861
909
  #define UNIFFI_FFIDEF_UNIFFI_FORGE_KERNEL_UNIFFI_CHECKSUM_METHOD_FORGERUNTIMEBRIDGE_SET_CONTENT_METADATA_PROVIDER
862
910
  uint16_t uniffi_forge_kernel_uniffi_checksum_method_forgeruntimebridge_set_content_metadata_provider(void
863
911
 
912
+ );
913
+ #endif
914
+ #ifndef UNIFFI_FFIDEF_UNIFFI_FORGE_KERNEL_UNIFFI_CHECKSUM_METHOD_FORGERUNTIMEBRIDGE_SET_DEVICE_SAMPLE_LISTENER
915
+ #define UNIFFI_FFIDEF_UNIFFI_FORGE_KERNEL_UNIFFI_CHECKSUM_METHOD_FORGERUNTIMEBRIDGE_SET_DEVICE_SAMPLE_LISTENER
916
+ uint16_t uniffi_forge_kernel_uniffi_checksum_method_forgeruntimebridge_set_device_sample_listener(void
917
+
864
918
  );
865
919
  #endif
866
920
  #ifndef UNIFFI_FFIDEF_UNIFFI_FORGE_KERNEL_UNIFFI_CHECKSUM_METHOD_FORGERUNTIMEBRIDGE_SET_LOG_LEVEL
@@ -915,6 +969,12 @@ uint16_t uniffi_forge_kernel_uniffi_checksum_method_applecaptureplanlistener_on_
915
969
  #define UNIFFI_FFIDEF_UNIFFI_FORGE_KERNEL_UNIFFI_CHECKSUM_METHOD_APPLECONTENTMETADATAPROVIDER_METADATA_SNAPSHOT
916
970
  uint16_t uniffi_forge_kernel_uniffi_checksum_method_applecontentmetadataprovider_metadata_snapshot(void
917
971
 
972
+ );
973
+ #endif
974
+ #ifndef UNIFFI_FFIDEF_UNIFFI_FORGE_KERNEL_UNIFFI_CHECKSUM_METHOD_APPLEDEVICESAMPLELISTENER_ON_SAMPLE_REQUEST
975
+ #define UNIFFI_FFIDEF_UNIFFI_FORGE_KERNEL_UNIFFI_CHECKSUM_METHOD_APPLEDEVICESAMPLELISTENER_ON_SAMPLE_REQUEST
976
+ uint16_t uniffi_forge_kernel_uniffi_checksum_method_appledevicesamplelistener_on_sample_request(void
977
+
918
978
  );
919
979
  #endif
920
980
  #ifndef UNIFFI_FFIDEF_UNIFFI_FORGE_KERNEL_UNIFFI_CHECKSUM_METHOD_APPLELOGLISTENER_ON_LOG
@@ -256,6 +256,13 @@ typedef void (*UniffiCallbackInterfaceAppleContentMetadataProviderMethod0)(uint6
256
256
  RustCallStatus *_Nonnull uniffiCallStatus
257
257
  );
258
258
 
259
+ #endif
260
+ #ifndef UNIFFI_FFIDEF_CALLBACK_INTERFACE_APPLE_DEVICE_SAMPLE_LISTENER_METHOD0
261
+ #define UNIFFI_FFIDEF_CALLBACK_INTERFACE_APPLE_DEVICE_SAMPLE_LISTENER_METHOD0
262
+ typedef void (*UniffiCallbackInterfaceAppleDeviceSampleListenerMethod0)(uint64_t, RustBuffer, void* _Nonnull,
263
+ RustCallStatus *_Nonnull uniffiCallStatus
264
+ );
265
+
259
266
  #endif
260
267
  #ifndef UNIFFI_FFIDEF_CALLBACK_INTERFACE_APPLE_LOG_LISTENER_METHOD0
261
268
  #define UNIFFI_FFIDEF_CALLBACK_INTERFACE_APPLE_LOG_LISTENER_METHOD0
@@ -295,6 +302,15 @@ typedef struct UniffiVTableCallbackInterfaceAppleContentMetadataProvider {
295
302
  UniffiCallbackInterfaceAppleContentMetadataProviderMethod0 _Nonnull metadataSnapshot;
296
303
  } UniffiVTableCallbackInterfaceAppleContentMetadataProvider;
297
304
 
305
+ #endif
306
+ #ifndef UNIFFI_FFIDEF_V_TABLE_CALLBACK_INTERFACE_APPLE_DEVICE_SAMPLE_LISTENER
307
+ #define UNIFFI_FFIDEF_V_TABLE_CALLBACK_INTERFACE_APPLE_DEVICE_SAMPLE_LISTENER
308
+ typedef struct UniffiVTableCallbackInterfaceAppleDeviceSampleListener {
309
+ UniffiCallbackInterfaceFree _Nonnull uniffiFree;
310
+ UniffiCallbackInterfaceClone _Nonnull uniffiClone;
311
+ UniffiCallbackInterfaceAppleDeviceSampleListenerMethod0 _Nonnull onSampleRequest;
312
+ } UniffiVTableCallbackInterfaceAppleDeviceSampleListener;
313
+
298
314
  #endif
299
315
  #ifndef UNIFFI_FFIDEF_V_TABLE_CALLBACK_INTERFACE_APPLE_LOG_LISTENER
300
316
  #define UNIFFI_FFIDEF_V_TABLE_CALLBACK_INTERFACE_APPLE_LOG_LISTENER
@@ -353,6 +369,11 @@ RustBuffer uniffi_forge_kernel_uniffi_fn_method_forgeruntimebridge_clear_capture
353
369
  RustBuffer uniffi_forge_kernel_uniffi_fn_method_forgeruntimebridge_clear_content_metadata_provider(uint64_t ptr, uint64_t view_id, RustCallStatus *_Nonnull out_status
354
370
  );
355
371
  #endif
372
+ #ifndef UNIFFI_FFIDEF_UNIFFI_FORGE_KERNEL_UNIFFI_FN_METHOD_FORGERUNTIMEBRIDGE_CLEAR_DEVICE_SAMPLE_LISTENER
373
+ #define UNIFFI_FFIDEF_UNIFFI_FORGE_KERNEL_UNIFFI_FN_METHOD_FORGERUNTIMEBRIDGE_CLEAR_DEVICE_SAMPLE_LISTENER
374
+ RustBuffer uniffi_forge_kernel_uniffi_fn_method_forgeruntimebridge_clear_device_sample_listener(uint64_t ptr, RustCallStatus *_Nonnull out_status
375
+ );
376
+ #endif
356
377
  #ifndef UNIFFI_FFIDEF_UNIFFI_FORGE_KERNEL_UNIFFI_FN_METHOD_FORGERUNTIMEBRIDGE_CLEAR_LOG_LISTENER
357
378
  #define UNIFFI_FFIDEF_UNIFFI_FORGE_KERNEL_UNIFFI_FN_METHOD_FORGERUNTIMEBRIDGE_CLEAR_LOG_LISTENER
358
379
  RustBuffer uniffi_forge_kernel_uniffi_fn_method_forgeruntimebridge_clear_log_listener(uint64_t ptr, RustCallStatus *_Nonnull out_status
@@ -388,6 +409,11 @@ RustBuffer uniffi_forge_kernel_uniffi_fn_method_forgeruntimebridge_record_ad_eve
388
409
  RustBuffer uniffi_forge_kernel_uniffi_fn_method_forgeruntimebridge_record_application_foreground(uint64_t ptr, int8_t foreground, uint64_t timemark_ms, RustCallStatus *_Nonnull out_status
389
410
  );
390
411
  #endif
412
+ #ifndef UNIFFI_FFIDEF_UNIFFI_FORGE_KERNEL_UNIFFI_FN_METHOD_FORGERUNTIMEBRIDGE_RECORD_DEVICE_SAMPLE
413
+ #define UNIFFI_FFIDEF_UNIFFI_FORGE_KERNEL_UNIFFI_FN_METHOD_FORGERUNTIMEBRIDGE_RECORD_DEVICE_SAMPLE
414
+ RustBuffer uniffi_forge_kernel_uniffi_fn_method_forgeruntimebridge_record_device_sample(uint64_t ptr, RustBuffer sample, RustCallStatus *_Nonnull out_status
415
+ );
416
+ #endif
391
417
  #ifndef UNIFFI_FFIDEF_UNIFFI_FORGE_KERNEL_UNIFFI_FN_METHOD_FORGERUNTIMEBRIDGE_RECORD_IDENTITY_EVENT
392
418
  #define UNIFFI_FFIDEF_UNIFFI_FORGE_KERNEL_UNIFFI_FN_METHOD_FORGERUNTIMEBRIDGE_RECORD_IDENTITY_EVENT
393
419
  RustBuffer uniffi_forge_kernel_uniffi_fn_method_forgeruntimebridge_record_identity_event(uint64_t ptr, RustBuffer kind, uint64_t timemark_ms, RustBuffer fields, RustCallStatus *_Nonnull out_status
@@ -428,6 +454,11 @@ RustBuffer uniffi_forge_kernel_uniffi_fn_method_forgeruntimebridge_set_capture_p
428
454
  RustBuffer uniffi_forge_kernel_uniffi_fn_method_forgeruntimebridge_set_content_metadata_provider(uint64_t ptr, uint64_t view_id, uint64_t provider, RustCallStatus *_Nonnull out_status
429
455
  );
430
456
  #endif
457
+ #ifndef UNIFFI_FFIDEF_UNIFFI_FORGE_KERNEL_UNIFFI_FN_METHOD_FORGERUNTIMEBRIDGE_SET_DEVICE_SAMPLE_LISTENER
458
+ #define UNIFFI_FFIDEF_UNIFFI_FORGE_KERNEL_UNIFFI_FN_METHOD_FORGERUNTIMEBRIDGE_SET_DEVICE_SAMPLE_LISTENER
459
+ RustBuffer uniffi_forge_kernel_uniffi_fn_method_forgeruntimebridge_set_device_sample_listener(uint64_t ptr, uint64_t listener, RustCallStatus *_Nonnull out_status
460
+ );
461
+ #endif
431
462
  #ifndef UNIFFI_FFIDEF_UNIFFI_FORGE_KERNEL_UNIFFI_FN_METHOD_FORGERUNTIMEBRIDGE_SET_LOG_LEVEL
432
463
  #define UNIFFI_FFIDEF_UNIFFI_FORGE_KERNEL_UNIFFI_FN_METHOD_FORGERUNTIMEBRIDGE_SET_LOG_LEVEL
433
464
  RustBuffer uniffi_forge_kernel_uniffi_fn_method_forgeruntimebridge_set_log_level(uint64_t ptr, RustBuffer log_level, RustCallStatus *_Nonnull out_status
@@ -468,6 +499,11 @@ void uniffi_forge_kernel_uniffi_fn_init_callback_vtable_applecaptureplanlistener
468
499
  void uniffi_forge_kernel_uniffi_fn_init_callback_vtable_applecontentmetadataprovider(const UniffiVTableCallbackInterfaceAppleContentMetadataProvider* _Nonnull vtable
469
500
  );
470
501
  #endif
502
+ #ifndef UNIFFI_FFIDEF_UNIFFI_FORGE_KERNEL_UNIFFI_FN_INIT_CALLBACK_VTABLE_APPLEDEVICESAMPLELISTENER
503
+ #define UNIFFI_FFIDEF_UNIFFI_FORGE_KERNEL_UNIFFI_FN_INIT_CALLBACK_VTABLE_APPLEDEVICESAMPLELISTENER
504
+ void uniffi_forge_kernel_uniffi_fn_init_callback_vtable_appledevicesamplelistener(const UniffiVTableCallbackInterfaceAppleDeviceSampleListener* _Nonnull vtable
505
+ );
506
+ #endif
471
507
  #ifndef UNIFFI_FFIDEF_UNIFFI_FORGE_KERNEL_UNIFFI_FN_INIT_CALLBACK_VTABLE_APPLELOGLISTENER
472
508
  #define UNIFFI_FFIDEF_UNIFFI_FORGE_KERNEL_UNIFFI_FN_INIT_CALLBACK_VTABLE_APPLELOGLISTENER
473
509
  void uniffi_forge_kernel_uniffi_fn_init_callback_vtable_appleloglistener(const UniffiVTableCallbackInterfaceAppleLogListener* _Nonnull vtable
@@ -771,6 +807,12 @@ uint16_t uniffi_forge_kernel_uniffi_checksum_method_forgeruntimebridge_clear_cap
771
807
  #define UNIFFI_FFIDEF_UNIFFI_FORGE_KERNEL_UNIFFI_CHECKSUM_METHOD_FORGERUNTIMEBRIDGE_CLEAR_CONTENT_METADATA_PROVIDER
772
808
  uint16_t uniffi_forge_kernel_uniffi_checksum_method_forgeruntimebridge_clear_content_metadata_provider(void
773
809
 
810
+ );
811
+ #endif
812
+ #ifndef UNIFFI_FFIDEF_UNIFFI_FORGE_KERNEL_UNIFFI_CHECKSUM_METHOD_FORGERUNTIMEBRIDGE_CLEAR_DEVICE_SAMPLE_LISTENER
813
+ #define UNIFFI_FFIDEF_UNIFFI_FORGE_KERNEL_UNIFFI_CHECKSUM_METHOD_FORGERUNTIMEBRIDGE_CLEAR_DEVICE_SAMPLE_LISTENER
814
+ uint16_t uniffi_forge_kernel_uniffi_checksum_method_forgeruntimebridge_clear_device_sample_listener(void
815
+
774
816
  );
775
817
  #endif
776
818
  #ifndef UNIFFI_FFIDEF_UNIFFI_FORGE_KERNEL_UNIFFI_CHECKSUM_METHOD_FORGERUNTIMEBRIDGE_CLEAR_LOG_LISTENER
@@ -813,6 +855,12 @@ uint16_t uniffi_forge_kernel_uniffi_checksum_method_forgeruntimebridge_record_ad
813
855
  #define UNIFFI_FFIDEF_UNIFFI_FORGE_KERNEL_UNIFFI_CHECKSUM_METHOD_FORGERUNTIMEBRIDGE_RECORD_APPLICATION_FOREGROUND
814
856
  uint16_t uniffi_forge_kernel_uniffi_checksum_method_forgeruntimebridge_record_application_foreground(void
815
857
 
858
+ );
859
+ #endif
860
+ #ifndef UNIFFI_FFIDEF_UNIFFI_FORGE_KERNEL_UNIFFI_CHECKSUM_METHOD_FORGERUNTIMEBRIDGE_RECORD_DEVICE_SAMPLE
861
+ #define UNIFFI_FFIDEF_UNIFFI_FORGE_KERNEL_UNIFFI_CHECKSUM_METHOD_FORGERUNTIMEBRIDGE_RECORD_DEVICE_SAMPLE
862
+ uint16_t uniffi_forge_kernel_uniffi_checksum_method_forgeruntimebridge_record_device_sample(void
863
+
816
864
  );
817
865
  #endif
818
866
  #ifndef UNIFFI_FFIDEF_UNIFFI_FORGE_KERNEL_UNIFFI_CHECKSUM_METHOD_FORGERUNTIMEBRIDGE_RECORD_IDENTITY_EVENT
@@ -861,6 +909,12 @@ uint16_t uniffi_forge_kernel_uniffi_checksum_method_forgeruntimebridge_set_captu
861
909
  #define UNIFFI_FFIDEF_UNIFFI_FORGE_KERNEL_UNIFFI_CHECKSUM_METHOD_FORGERUNTIMEBRIDGE_SET_CONTENT_METADATA_PROVIDER
862
910
  uint16_t uniffi_forge_kernel_uniffi_checksum_method_forgeruntimebridge_set_content_metadata_provider(void
863
911
 
912
+ );
913
+ #endif
914
+ #ifndef UNIFFI_FFIDEF_UNIFFI_FORGE_KERNEL_UNIFFI_CHECKSUM_METHOD_FORGERUNTIMEBRIDGE_SET_DEVICE_SAMPLE_LISTENER
915
+ #define UNIFFI_FFIDEF_UNIFFI_FORGE_KERNEL_UNIFFI_CHECKSUM_METHOD_FORGERUNTIMEBRIDGE_SET_DEVICE_SAMPLE_LISTENER
916
+ uint16_t uniffi_forge_kernel_uniffi_checksum_method_forgeruntimebridge_set_device_sample_listener(void
917
+
864
918
  );
865
919
  #endif
866
920
  #ifndef UNIFFI_FFIDEF_UNIFFI_FORGE_KERNEL_UNIFFI_CHECKSUM_METHOD_FORGERUNTIMEBRIDGE_SET_LOG_LEVEL
@@ -915,6 +969,12 @@ uint16_t uniffi_forge_kernel_uniffi_checksum_method_applecaptureplanlistener_on_
915
969
  #define UNIFFI_FFIDEF_UNIFFI_FORGE_KERNEL_UNIFFI_CHECKSUM_METHOD_APPLECONTENTMETADATAPROVIDER_METADATA_SNAPSHOT
916
970
  uint16_t uniffi_forge_kernel_uniffi_checksum_method_applecontentmetadataprovider_metadata_snapshot(void
917
971
 
972
+ );
973
+ #endif
974
+ #ifndef UNIFFI_FFIDEF_UNIFFI_FORGE_KERNEL_UNIFFI_CHECKSUM_METHOD_APPLEDEVICESAMPLELISTENER_ON_SAMPLE_REQUEST
975
+ #define UNIFFI_FFIDEF_UNIFFI_FORGE_KERNEL_UNIFFI_CHECKSUM_METHOD_APPLEDEVICESAMPLELISTENER_ON_SAMPLE_REQUEST
976
+ uint16_t uniffi_forge_kernel_uniffi_checksum_method_appledevicesamplelistener_on_sample_request(void
977
+
918
978
  );
919
979
  #endif
920
980
  #ifndef UNIFFI_FFIDEF_UNIFFI_FORGE_KERNEL_UNIFFI_CHECKSUM_METHOD_APPLELOGLISTENER_ON_LOG