react-native-wakeword 1.0.81 → 1.1.2

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 (28) hide show
  1. package/KeyWordDetection.podspec +3 -1
  2. package/android/src/main/assets/hey_lookdeep.onnx +0 -0
  3. package/ios/KeyWordDetection.xcframework/ios-arm64/KeyWordDetection.framework/Headers/KeyWordDetection-Swift.h +21 -1
  4. package/ios/KeyWordDetection.xcframework/ios-arm64/KeyWordDetection.framework/KeyWordDetection +0 -0
  5. package/ios/KeyWordDetection.xcframework/ios-arm64/KeyWordDetection.framework/Modules/KeyWordDetection.swiftmodule/Project/arm64-apple-ios.swiftsourceinfo +0 -0
  6. package/ios/KeyWordDetection.xcframework/ios-arm64/KeyWordDetection.framework/Modules/KeyWordDetection.swiftmodule/arm64-apple-ios.abi.json +454 -40
  7. package/ios/KeyWordDetection.xcframework/ios-arm64/KeyWordDetection.framework/Modules/KeyWordDetection.swiftmodule/arm64-apple-ios.private.swiftinterface +14 -0
  8. package/ios/KeyWordDetection.xcframework/ios-arm64/KeyWordDetection.framework/Modules/KeyWordDetection.swiftmodule/arm64-apple-ios.swiftdoc +0 -0
  9. package/ios/KeyWordDetection.xcframework/ios-arm64/KeyWordDetection.framework/Modules/KeyWordDetection.swiftmodule/arm64-apple-ios.swiftinterface +14 -0
  10. package/ios/KeyWordDetection.xcframework/ios-arm64_x86_64-simulator/KeyWordDetection.framework/Headers/KeyWordDetection-Swift.h +42 -2
  11. package/ios/KeyWordDetection.xcframework/ios-arm64_x86_64-simulator/KeyWordDetection.framework/KeyWordDetection +0 -0
  12. package/ios/KeyWordDetection.xcframework/ios-arm64_x86_64-simulator/KeyWordDetection.framework/Modules/KeyWordDetection.swiftmodule/Project/arm64-apple-ios-simulator.swiftsourceinfo +0 -0
  13. package/ios/KeyWordDetection.xcframework/ios-arm64_x86_64-simulator/KeyWordDetection.framework/Modules/KeyWordDetection.swiftmodule/Project/x86_64-apple-ios-simulator.swiftsourceinfo +0 -0
  14. package/ios/KeyWordDetection.xcframework/ios-arm64_x86_64-simulator/KeyWordDetection.framework/Modules/KeyWordDetection.swiftmodule/arm64-apple-ios-simulator.abi.json +463 -40
  15. package/ios/KeyWordDetection.xcframework/ios-arm64_x86_64-simulator/KeyWordDetection.framework/Modules/KeyWordDetection.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface +14 -0
  16. package/ios/KeyWordDetection.xcframework/ios-arm64_x86_64-simulator/KeyWordDetection.framework/Modules/KeyWordDetection.swiftmodule/arm64-apple-ios-simulator.swiftdoc +0 -0
  17. package/ios/KeyWordDetection.xcframework/ios-arm64_x86_64-simulator/KeyWordDetection.framework/Modules/KeyWordDetection.swiftmodule/arm64-apple-ios-simulator.swiftinterface +14 -0
  18. package/ios/KeyWordDetection.xcframework/ios-arm64_x86_64-simulator/KeyWordDetection.framework/Modules/KeyWordDetection.swiftmodule/x86_64-apple-ios-simulator.abi.json +463 -40
  19. package/ios/KeyWordDetection.xcframework/ios-arm64_x86_64-simulator/KeyWordDetection.framework/Modules/KeyWordDetection.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface +14 -0
  20. package/ios/KeyWordDetection.xcframework/ios-arm64_x86_64-simulator/KeyWordDetection.framework/Modules/KeyWordDetection.swiftmodule/x86_64-apple-ios-simulator.swiftdoc +0 -0
  21. package/ios/KeyWordDetection.xcframework/ios-arm64_x86_64-simulator/KeyWordDetection.framework/Modules/KeyWordDetection.swiftmodule/x86_64-apple-ios-simulator.swiftinterface +14 -0
  22. package/ios/KeyWordDetection.xcframework/ios-arm64_x86_64-simulator/KeyWordDetection.framework/_CodeSignature/CodeResources +26 -26
  23. package/ios/KeyWordRNBridge.mm +26 -0
  24. package/ios/KeyWordRNBridgeSwift.mm +1 -0
  25. package/ios/models/hey_lookdeep.onnx +0 -0
  26. package/package.json +1 -1
  27. package/wakewords/KeyWordRNBridge.d.ts +4 -0
  28. package/wakewords/KeyWordRNBridge.js +19 -2
@@ -2,6 +2,7 @@
2
2
  // swift-compiler-version: Apple Swift version 6.0.3 effective-5.10 (swiftlang-6.0.3.1.10 clang-1600.0.30.1)
3
3
  // swift-module-flags: -target arm64-apple-ios13.4-simulator -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -Onone -enable-experimental-feature OpaqueTypeErasure -enable-bare-slash-regex -module-name KeyWordDetection
4
4
  // swift-module-flags-ignorable: -no-verify-emitted-module-interface
5
+ import AVFAudio
5
6
  import AVFoundation
6
7
  import AudioToolbox
7
8
  import CommonCrypto
@@ -114,6 +115,19 @@ public class AVAudioWrapperBuffer {
114
115
  @objc public func stopListening()
115
116
  @objc deinit
116
117
  }
118
+ @_inheritsConvenienceInitializers @objc public class AudioSessionAndDuckingManager : ObjectiveC.NSObject {
119
+ @objc public static let shared: KeyWordDetection.AudioSessionAndDuckingManager
120
+ @objc public func enableAggressiveDucking()
121
+ @objc public func disableDucking()
122
+ @objc public func restartListeningAfterDucking()
123
+ @objc public func disableDuckingAndCleanup()
124
+ @objc public func activateSessionForDucking()
125
+ @objc public func playInstructionSound(_ soundURL: Foundation.URL)
126
+ @objc public func speakInstruction(_ text: Swift.String)
127
+ @objc public func deactivateSession()
128
+ @objc override dynamic public init()
129
+ @objc deinit
130
+ }
117
131
  @_inheritsConvenienceInitializers @objc public class LicenseManager : ObjectiveC.NSObject {
118
132
  @objc override dynamic public init()
119
133
  @objc deinit
@@ -2,6 +2,7 @@
2
2
  // swift-compiler-version: Apple Swift version 6.0.3 effective-5.10 (swiftlang-6.0.3.1.10 clang-1600.0.30.1)
3
3
  // swift-module-flags: -target arm64-apple-ios13.4-simulator -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -Onone -enable-experimental-feature OpaqueTypeErasure -enable-bare-slash-regex -module-name KeyWordDetection
4
4
  // swift-module-flags-ignorable: -no-verify-emitted-module-interface
5
+ import AVFAudio
5
6
  import AVFoundation
6
7
  import AudioToolbox
7
8
  import CommonCrypto
@@ -114,6 +115,19 @@ public class AVAudioWrapperBuffer {
114
115
  @objc public func stopListening()
115
116
  @objc deinit
116
117
  }
118
+ @_inheritsConvenienceInitializers @objc public class AudioSessionAndDuckingManager : ObjectiveC.NSObject {
119
+ @objc public static let shared: KeyWordDetection.AudioSessionAndDuckingManager
120
+ @objc public func enableAggressiveDucking()
121
+ @objc public func disableDucking()
122
+ @objc public func restartListeningAfterDucking()
123
+ @objc public func disableDuckingAndCleanup()
124
+ @objc public func activateSessionForDucking()
125
+ @objc public func playInstructionSound(_ soundURL: Foundation.URL)
126
+ @objc public func speakInstruction(_ text: Swift.String)
127
+ @objc public func deactivateSession()
128
+ @objc override dynamic public init()
129
+ @objc deinit
130
+ }
117
131
  @_inheritsConvenienceInitializers @objc public class LicenseManager : ObjectiveC.NSObject {
118
132
  @objc override dynamic public init()
119
133
  @objc deinit