react-native-wakeword-sid 1.1.200 → 1.1.202

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 (21) hide show
  1. package/ios/KeyWordRNBridge/KeyWordDetection.xcframework/ios-arm64/KeyWordDetection.framework/Headers/KeyWordDetection-Swift.h +12 -7
  2. package/ios/KeyWordRNBridge/KeyWordDetection.xcframework/ios-arm64/KeyWordDetection.framework/KeyWordDetection +0 -0
  3. package/ios/KeyWordRNBridge/KeyWordDetection.xcframework/ios-arm64/KeyWordDetection.framework/Modules/KeyWordDetection.swiftmodule/arm64-apple-ios.abi.json +161 -377
  4. package/ios/KeyWordRNBridge/KeyWordDetection.xcframework/ios-arm64/KeyWordDetection.framework/Modules/KeyWordDetection.swiftmodule/arm64-apple-ios.private.swiftinterface +2 -7
  5. package/ios/KeyWordRNBridge/KeyWordDetection.xcframework/ios-arm64/KeyWordDetection.framework/Modules/KeyWordDetection.swiftmodule/arm64-apple-ios.swiftdoc +0 -0
  6. package/ios/KeyWordRNBridge/KeyWordDetection.xcframework/ios-arm64/KeyWordDetection.framework/Modules/KeyWordDetection.swiftmodule/arm64-apple-ios.swiftinterface +2 -7
  7. package/ios/KeyWordRNBridge/KeyWordDetection.xcframework/ios-arm64_x86_64-simulator/KeyWordDetection.framework/Headers/KeyWordDetection-Swift.h +24 -14
  8. package/ios/KeyWordRNBridge/KeyWordDetection.xcframework/ios-arm64_x86_64-simulator/KeyWordDetection.framework/KeyWordDetection +0 -0
  9. package/ios/KeyWordRNBridge/KeyWordDetection.xcframework/ios-arm64_x86_64-simulator/KeyWordDetection.framework/Modules/KeyWordDetection.swiftmodule/arm64-apple-ios-simulator.abi.json +161 -377
  10. package/ios/KeyWordRNBridge/KeyWordDetection.xcframework/ios-arm64_x86_64-simulator/KeyWordDetection.framework/Modules/KeyWordDetection.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface +2 -7
  11. package/ios/KeyWordRNBridge/KeyWordDetection.xcframework/ios-arm64_x86_64-simulator/KeyWordDetection.framework/Modules/KeyWordDetection.swiftmodule/arm64-apple-ios-simulator.swiftdoc +0 -0
  12. package/ios/KeyWordRNBridge/KeyWordDetection.xcframework/ios-arm64_x86_64-simulator/KeyWordDetection.framework/Modules/KeyWordDetection.swiftmodule/arm64-apple-ios-simulator.swiftinterface +2 -7
  13. package/ios/KeyWordRNBridge/KeyWordDetection.xcframework/ios-arm64_x86_64-simulator/KeyWordDetection.framework/Modules/KeyWordDetection.swiftmodule/x86_64-apple-ios-simulator.abi.json +161 -377
  14. package/ios/KeyWordRNBridge/KeyWordDetection.xcframework/ios-arm64_x86_64-simulator/KeyWordDetection.framework/Modules/KeyWordDetection.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface +2 -7
  15. package/ios/KeyWordRNBridge/KeyWordDetection.xcframework/ios-arm64_x86_64-simulator/KeyWordDetection.framework/Modules/KeyWordDetection.swiftmodule/x86_64-apple-ios-simulator.swiftdoc +0 -0
  16. package/ios/KeyWordRNBridge/KeyWordDetection.xcframework/ios-arm64_x86_64-simulator/KeyWordDetection.framework/Modules/KeyWordDetection.swiftmodule/x86_64-apple-ios-simulator.swiftinterface +2 -7
  17. package/ios/KeyWordRNBridge/KeyWordDetection.xcframework/ios-arm64_x86_64-simulator/KeyWordDetection.framework/_CodeSignature/CodeDirectory +0 -0
  18. package/ios/KeyWordRNBridge/KeyWordDetection.xcframework/ios-arm64_x86_64-simulator/KeyWordDetection.framework/_CodeSignature/CodeRequirements-1 +0 -0
  19. package/ios/KeyWordRNBridge/KeyWordDetection.xcframework/ios-arm64_x86_64-simulator/KeyWordDetection.framework/_CodeSignature/CodeResources +33 -33
  20. package/ios/KeyWordRNBridge/KeyWordRNBridge.m +46 -85
  21. package/package.json +1 -1
@@ -374,18 +374,15 @@ SWIFT_CLASS("_TtC16KeyWordDetection14LicenseManager")
374
374
 
375
375
  SWIFT_CLASS("_TtC16KeyWordDetection25SpeakerVerificationEngine")
376
376
  @interface SpeakerVerificationEngine : NSObject
377
- - (void)setVerifyHopSeconds:(float)hopSeconds;
378
377
  - (void)resetStreamingState;
379
378
  - (nonnull instancetype)init SWIFT_UNAVAILABLE;
380
379
  + (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
381
380
  @end
382
381
 
383
382
  @protocol SpeakerVerificationNativeDelegate;
384
- @class NSError;
385
383
  SWIFT_CLASS("_TtC16KeyWordDetection32SpeakerVerificationMicController")
386
384
  @interface SpeakerVerificationMicController : NSObject
387
385
  @property (nonatomic, weak) id <SpeakerVerificationNativeDelegate> _Nullable delegate;
388
- - (BOOL)beginOnboardingWithEnrollmentId:(NSString * _Nonnull)enrollmentId targetEmbeddingCount:(NSNumber * _Nonnull)targetEmbeddingCount reset:(BOOL)reset andReturnError:(NSError * _Nullable * _Nullable)error SWIFT_WARN_UNUSED_RESULT;
389
386
  - (BOOL)beginOnboardingWithEnrollmentId:(NSString * _Nonnull)enrollmentId targetEmbeddingCount:(NSInteger)targetEmbeddingCount reset:(BOOL)reset error:(NSError * _Nullable * _Nullable)error;
390
387
  /// App calls this each time it wants ONE embedding to be captured from mic.
391
388
  /// When collected, controller stops mic and notifies delegate.
@@ -393,9 +390,18 @@ SWIFT_CLASS("_TtC16KeyWordDetection32SpeakerVerificationMicController")
393
390
  /// Optional explicit finalize (usually you rely on auto-finalize when target reached).
394
391
  - (BOOL)finalizeOnboardingNowAndReturnError:(NSError * _Nullable * _Nullable)error;
395
392
  - (BOOL)setEnrollmentJson:(NSString * _Nonnull)enrollmentJson error:(NSError * _Nullable * _Nullable)error;
393
+ /// Starts mic and returns first verification result (then stops mic).
396
394
  - (BOOL)startVerifyFromMicWithResetState:(BOOL)resetState error:(NSError * _Nullable * _Nullable)error;
397
- - (BOOL)startVerifyContinuousFromMicWithResetState:(BOOL)resetState hopSeconds:(float)hopSeconds error:(NSError * _Nullable * _Nullable)error;
398
- - (void)stopVerifyContinuousFromMic;
395
+ /// Starts mic and keeps verifying forever (emits result every hopSeconds).
396
+ /// <ul>
397
+ /// <li>
398
+ /// hopSeconds: how often to emit results (e.g. 0.5)
399
+ /// </li>
400
+ /// <li>
401
+ /// stopOnMatch: if true, stops mic on first match; otherwise keeps running
402
+ /// </li>
403
+ /// </ul>
404
+ - (BOOL)startEndlessVerifyFromMicWithHopSeconds:(float)hopSeconds stopOnMatch:(BOOL)stopOnMatch resetState:(BOOL)resetState error:(NSError * _Nullable * _Nullable)error;
399
405
  - (void)stop;
400
406
  - (nonnull instancetype)init SWIFT_UNAVAILABLE;
401
407
  + (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
@@ -409,10 +415,9 @@ SWIFT_PROTOCOL("_TtP16KeyWordDetection33SpeakerVerificationNativeDelegate_")
409
415
  - (void)svError:(NSDictionary<NSString *, id> * _Nonnull)info;
410
416
  @end
411
417
 
418
+ @class NSError;
412
419
  SWIFT_CLASS_NAMED("SpeakerVerificationRNFacade")
413
420
  @interface SpeakerVerificationRNFacade : NSObject
414
- + (NSNumber * _Nonnull)startVerifyContinuousWithMicController:(id _Nonnull)micController reset:(BOOL)reset hopSeconds:(NSNumber * _Nonnull)hopSeconds error:(NSError * _Nullable * _Nullable)outError SWIFT_WARN_UNUSED_RESULT;
415
- + (void)stopVerifyContinuousWithMicController:(id _Nonnull)micController;
416
421
  + (id _Nullable)createEngineWithModelPath:(NSString * _Nonnull)modelPath enrollmentJsonPath:(NSString * _Nonnull)enrollmentJsonPath options:(NSDictionary<NSString *, id> * _Nonnull)options error:(NSError * _Nullable * _Nullable)outError SWIFT_WARN_UNUSED_RESULT;
417
422
  + (NSDictionary<NSString *, id> * _Nullable)verifyWavWithEngine:(id _Nonnull)engine wavPath:(NSString * _Nonnull)wavPath reset:(BOOL)reset error:(NSError * _Nullable * _Nullable)outError SWIFT_WARN_UNUSED_RESULT;
418
423
  - (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER;