react-native-wakeword 1.0.23 → 1.0.24

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 (37) hide show
  1. package/ios/KeyWordDetection.xcframework/Info.plist +44 -0
  2. package/ios/KeyWordDetection.xcframework/ios-arm64/KeyWordDetection.framework/Headers/KeyWordDetection-Swift.h +358 -0
  3. package/ios/KeyWordDetection.xcframework/ios-arm64/KeyWordDetection.framework/Headers/KeyWordDetection.h +18 -0
  4. package/ios/KeyWordDetection.xcframework/ios-arm64/KeyWordDetection.framework/Info.plist +0 -0
  5. package/ios/KeyWordDetection.xcframework/ios-arm64/KeyWordDetection.framework/KeyWordDetection +0 -0
  6. package/ios/KeyWordDetection.xcframework/ios-arm64/KeyWordDetection.framework/Modules/KeyWordDetection.swiftmodule/Project/arm64-apple-ios.swiftsourceinfo +0 -0
  7. package/ios/KeyWordDetection.xcframework/ios-arm64/KeyWordDetection.framework/Modules/KeyWordDetection.swiftmodule/arm64-apple-ios.abi.json +1586 -0
  8. package/ios/KeyWordDetection.xcframework/ios-arm64/KeyWordDetection.framework/Modules/KeyWordDetection.swiftmodule/arm64-apple-ios.private.swiftinterface +43 -0
  9. package/ios/KeyWordDetection.xcframework/ios-arm64/KeyWordDetection.framework/Modules/KeyWordDetection.swiftmodule/arm64-apple-ios.swiftdoc +0 -0
  10. package/ios/KeyWordDetection.xcframework/ios-arm64/KeyWordDetection.framework/Modules/KeyWordDetection.swiftmodule/arm64-apple-ios.swiftinterface +43 -0
  11. package/ios/KeyWordDetection.xcframework/ios-arm64/KeyWordDetection.framework/Modules/module.modulemap +11 -0
  12. package/ios/KeyWordDetection.xcframework/ios-arm64_x86_64-simulator/KeyWordDetection.framework/Headers/KeyWordDetection-Swift.h +712 -0
  13. package/ios/KeyWordDetection.xcframework/ios-arm64_x86_64-simulator/KeyWordDetection.framework/Headers/KeyWordDetection.h +18 -0
  14. package/ios/KeyWordDetection.xcframework/ios-arm64_x86_64-simulator/KeyWordDetection.framework/Info.plist +0 -0
  15. package/ios/KeyWordDetection.xcframework/ios-arm64_x86_64-simulator/KeyWordDetection.framework/KeyWordDetection +0 -0
  16. package/ios/KeyWordDetection.xcframework/ios-arm64_x86_64-simulator/KeyWordDetection.framework/Modules/KeyWordDetection.swiftmodule/Project/arm64-apple-ios-simulator.swiftsourceinfo +0 -0
  17. package/ios/KeyWordDetection.xcframework/ios-arm64_x86_64-simulator/KeyWordDetection.framework/Modules/KeyWordDetection.swiftmodule/Project/x86_64-apple-ios-simulator.swiftsourceinfo +0 -0
  18. package/ios/KeyWordDetection.xcframework/ios-arm64_x86_64-simulator/KeyWordDetection.framework/Modules/KeyWordDetection.swiftmodule/arm64-apple-ios-simulator.abi.json +1586 -0
  19. package/ios/KeyWordDetection.xcframework/ios-arm64_x86_64-simulator/KeyWordDetection.framework/Modules/KeyWordDetection.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface +43 -0
  20. package/ios/KeyWordDetection.xcframework/ios-arm64_x86_64-simulator/KeyWordDetection.framework/Modules/KeyWordDetection.swiftmodule/arm64-apple-ios-simulator.swiftdoc +0 -0
  21. package/ios/KeyWordDetection.xcframework/ios-arm64_x86_64-simulator/KeyWordDetection.framework/Modules/KeyWordDetection.swiftmodule/arm64-apple-ios-simulator.swiftinterface +43 -0
  22. package/ios/KeyWordDetection.xcframework/ios-arm64_x86_64-simulator/KeyWordDetection.framework/Modules/KeyWordDetection.swiftmodule/x86_64-apple-ios-simulator.abi.json +1586 -0
  23. package/ios/KeyWordDetection.xcframework/ios-arm64_x86_64-simulator/KeyWordDetection.framework/Modules/KeyWordDetection.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface +43 -0
  24. package/ios/KeyWordDetection.xcframework/ios-arm64_x86_64-simulator/KeyWordDetection.framework/Modules/KeyWordDetection.swiftmodule/x86_64-apple-ios-simulator.swiftdoc +0 -0
  25. package/ios/KeyWordDetection.xcframework/ios-arm64_x86_64-simulator/KeyWordDetection.framework/Modules/KeyWordDetection.swiftmodule/x86_64-apple-ios-simulator.swiftinterface +43 -0
  26. package/ios/KeyWordDetection.xcframework/ios-arm64_x86_64-simulator/KeyWordDetection.framework/Modules/module.modulemap +11 -0
  27. package/ios/KeyWordDetection.xcframework/ios-arm64_x86_64-simulator/KeyWordDetection.framework/_CodeSignature/CodeResources +267 -0
  28. package/ios/KeyWordRNBridge.h +18 -0
  29. package/ios/KeyWordRNBridge.mm +197 -0
  30. package/ios/KeyWordRNBridgeSwift.h +5 -0
  31. package/ios/KeyWordRNBridgeSwift.mm +5 -0
  32. package/ios/models/embedding_model.onnx +0 -0
  33. package/ios/models/melspectrogram.onnx +0 -0
  34. package/ios/models/need_help_now.onnx +0 -0
  35. package/ios/react-native-wakeword.podspec +30 -0
  36. package/package.json +2 -1
  37. package/react-native.config.js +3 -0
@@ -0,0 +1,43 @@
1
+ // swift-interface-format-version: 1.0
2
+ // swift-compiler-version: Apple Swift version 5.10 (swiftlang-5.10.0.13 clang-1500.3.9.4)
3
+ // swift-module-flags: -target arm64-apple-ios13.4 -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -enable-bare-slash-regex -module-name KeyWordDetection
4
+ import AVFoundation
5
+ import CommonCrypto
6
+ import Foundation
7
+ @_exported import KeyWordDetection
8
+ import Swift
9
+ import _Concurrency
10
+ import _StringProcessing
11
+ import _SwiftConcurrencyShims
12
+ import ios_voice_processor
13
+ import os.log
14
+ import onnxruntime_objc
15
+ import os
16
+ @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers @objc public class GlobalVariables : ObjectiveC.NSObject {
17
+ @objc public static let shared: KeyWordDetection.GlobalVariables
18
+ @objc public var keyWordsDetectionInstance: KeyWordDetection.KeyWordsDetection?
19
+ @objc public var modelName: Swift.String?
20
+ @objc public var threshold: Swift.Float
21
+ @objc public var bufferCnt: Swift.Int
22
+ @objc deinit
23
+ }
24
+ @objc public protocol KeywordDetectionRNDelegate {
25
+ @objc func KeywordDetectionDidDetectEvent(_ eventInfo: [Swift.String : Any])
26
+ }
27
+ @objc public class KeyWordsDetection : ObjectiveC.NSObject {
28
+ @objc weak public var delegate: (any KeyWordDetection.KeywordDetectionRNDelegate)?
29
+ @objc public init(modelPath: Swift.String, threshold: Swift.Float, bufferCnt: Swift.Int) throws
30
+ @objc public func replaceKeywordDetectionModel(modelPath: Swift.String, threshold: Swift.Float, bufferCnt: Swift.Int) throws
31
+ @objc public func getKeywordDetectionModel() -> Swift.String
32
+ @objc public func getRecordingWav() -> Swift.String
33
+ @objc public func setKeywordDetectionLicense(licenseKey: Swift.String) -> Swift.Bool
34
+ @objc public func setLicense(licenseKey: Swift.String) -> Swift.Bool
35
+ @objc public func callBack(frame: [Swift.Int16])
36
+ @objc public func startListening() throws
37
+ @objc public func stopListening()
38
+ @objc deinit
39
+ }
40
+ @_inheritsConvenienceInitializers @objc public class LicenseManager : ObjectiveC.NSObject {
41
+ @objc override dynamic public init()
42
+ @objc deinit
43
+ }
@@ -0,0 +1,43 @@
1
+ // swift-interface-format-version: 1.0
2
+ // swift-compiler-version: Apple Swift version 5.10 (swiftlang-5.10.0.13 clang-1500.3.9.4)
3
+ // swift-module-flags: -target arm64-apple-ios13.4 -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -enable-bare-slash-regex -module-name KeyWordDetection
4
+ import AVFoundation
5
+ import CommonCrypto
6
+ import Foundation
7
+ @_exported import KeyWordDetection
8
+ import Swift
9
+ import _Concurrency
10
+ import _StringProcessing
11
+ import _SwiftConcurrencyShims
12
+ import ios_voice_processor
13
+ import os.log
14
+ import onnxruntime_objc
15
+ import os
16
+ @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers @objc public class GlobalVariables : ObjectiveC.NSObject {
17
+ @objc public static let shared: KeyWordDetection.GlobalVariables
18
+ @objc public var keyWordsDetectionInstance: KeyWordDetection.KeyWordsDetection?
19
+ @objc public var modelName: Swift.String?
20
+ @objc public var threshold: Swift.Float
21
+ @objc public var bufferCnt: Swift.Int
22
+ @objc deinit
23
+ }
24
+ @objc public protocol KeywordDetectionRNDelegate {
25
+ @objc func KeywordDetectionDidDetectEvent(_ eventInfo: [Swift.String : Any])
26
+ }
27
+ @objc public class KeyWordsDetection : ObjectiveC.NSObject {
28
+ @objc weak public var delegate: (any KeyWordDetection.KeywordDetectionRNDelegate)?
29
+ @objc public init(modelPath: Swift.String, threshold: Swift.Float, bufferCnt: Swift.Int) throws
30
+ @objc public func replaceKeywordDetectionModel(modelPath: Swift.String, threshold: Swift.Float, bufferCnt: Swift.Int) throws
31
+ @objc public func getKeywordDetectionModel() -> Swift.String
32
+ @objc public func getRecordingWav() -> Swift.String
33
+ @objc public func setKeywordDetectionLicense(licenseKey: Swift.String) -> Swift.Bool
34
+ @objc public func setLicense(licenseKey: Swift.String) -> Swift.Bool
35
+ @objc public func callBack(frame: [Swift.Int16])
36
+ @objc public func startListening() throws
37
+ @objc public func stopListening()
38
+ @objc deinit
39
+ }
40
+ @_inheritsConvenienceInitializers @objc public class LicenseManager : ObjectiveC.NSObject {
41
+ @objc override dynamic public init()
42
+ @objc deinit
43
+ }
@@ -0,0 +1,11 @@
1
+ framework module KeyWordDetection {
2
+ umbrella header "KeyWordDetection.h"
3
+ export *
4
+
5
+ module * { export * }
6
+ }
7
+
8
+ module KeyWordDetection.Swift {
9
+ header "KeyWordDetection-Swift.h"
10
+ requires objc
11
+ }