react-native-wakeword 1.0.76 → 1.0.80
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/android/libs/com/davoice/keyworddetection/1.0.0/keyworddetection-1.0.0.aar +0 -0
- package/android/libs/com/davoice/keyworddetection/1.0.0/keyworddetection-1.0.0.aar.md5 +1 -1
- package/android/libs/com/davoice/keyworddetection/1.0.0/keyworddetection-1.0.0.aar.sha1 +1 -1
- package/android/src/main/java/com/davoice/keywordspotting/KeyWordRNBridge.java +4 -8
- package/ios/KeyWordDetection.xcframework/Info.plist +5 -5
- package/ios/KeyWordDetection.xcframework/ios-arm64/KeyWordDetection.framework/Headers/KeyWordDetection-Swift.h +2 -1
- package/ios/KeyWordDetection.xcframework/ios-arm64/KeyWordDetection.framework/KeyWordDetection +0 -0
- package/ios/KeyWordDetection.xcframework/ios-arm64/KeyWordDetection.framework/Modules/KeyWordDetection.swiftmodule/Project/arm64-apple-ios.swiftsourceinfo +0 -0
- package/ios/KeyWordDetection.xcframework/ios-arm64/KeyWordDetection.framework/Modules/KeyWordDetection.swiftmodule/arm64-apple-ios.abi.json +2326 -2067
- package/ios/KeyWordDetection.xcframework/ios-arm64/KeyWordDetection.framework/Modules/KeyWordDetection.swiftmodule/arm64-apple-ios.private.swiftinterface +60 -59
- package/ios/KeyWordDetection.xcframework/ios-arm64/KeyWordDetection.framework/Modules/KeyWordDetection.swiftmodule/arm64-apple-ios.swiftdoc +0 -0
- package/ios/KeyWordDetection.xcframework/ios-arm64/KeyWordDetection.framework/Modules/KeyWordDetection.swiftmodule/arm64-apple-ios.swiftinterface +60 -59
- package/ios/KeyWordDetection.xcframework/ios-arm64_x86_64-simulator/KeyWordDetection.framework/Headers/KeyWordDetection-Swift.h +4 -2
- package/ios/KeyWordDetection.xcframework/ios-arm64_x86_64-simulator/KeyWordDetection.framework/KeyWordDetection +0 -0
- package/ios/KeyWordDetection.xcframework/ios-arm64_x86_64-simulator/KeyWordDetection.framework/Modules/KeyWordDetection.swiftmodule/Project/arm64-apple-ios-simulator.swiftsourceinfo +0 -0
- package/ios/KeyWordDetection.xcframework/ios-arm64_x86_64-simulator/KeyWordDetection.framework/Modules/KeyWordDetection.swiftmodule/Project/x86_64-apple-ios-simulator.swiftsourceinfo +0 -0
- package/ios/KeyWordDetection.xcframework/ios-arm64_x86_64-simulator/KeyWordDetection.framework/Modules/KeyWordDetection.swiftmodule/arm64-apple-ios-simulator.abi.json +4290 -3796
- package/ios/KeyWordDetection.xcframework/ios-arm64_x86_64-simulator/KeyWordDetection.framework/Modules/KeyWordDetection.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface +59 -57
- package/ios/KeyWordDetection.xcframework/ios-arm64_x86_64-simulator/KeyWordDetection.framework/Modules/KeyWordDetection.swiftmodule/arm64-apple-ios-simulator.swiftdoc +0 -0
- package/ios/KeyWordDetection.xcframework/ios-arm64_x86_64-simulator/KeyWordDetection.framework/Modules/KeyWordDetection.swiftmodule/arm64-apple-ios-simulator.swiftinterface +59 -57
- package/ios/KeyWordDetection.xcframework/ios-arm64_x86_64-simulator/KeyWordDetection.framework/Modules/KeyWordDetection.swiftmodule/x86_64-apple-ios-simulator.abi.json +4290 -3796
- package/ios/KeyWordDetection.xcframework/ios-arm64_x86_64-simulator/KeyWordDetection.framework/Modules/KeyWordDetection.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface +59 -57
- package/ios/KeyWordDetection.xcframework/ios-arm64_x86_64-simulator/KeyWordDetection.framework/Modules/KeyWordDetection.swiftmodule/x86_64-apple-ios-simulator.swiftdoc +0 -0
- package/ios/KeyWordDetection.xcframework/ios-arm64_x86_64-simulator/KeyWordDetection.framework/Modules/KeyWordDetection.swiftmodule/x86_64-apple-ios-simulator.swiftinterface +59 -57
- package/ios/KeyWordDetection.xcframework/ios-arm64_x86_64-simulator/KeyWordDetection.framework/_CodeSignature/CodeResources +26 -26
- package/package.json +1 -1
|
@@ -14,72 +14,52 @@ import _SwiftConcurrencyShims
|
|
|
14
14
|
import os.log
|
|
15
15
|
import onnxruntime_objc
|
|
16
16
|
import os
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
@objc public var bufferCnt: Swift.Int
|
|
17
|
+
public class AVAudioWrapperBufferCE {
|
|
18
|
+
public init(size: Swift.Int)
|
|
19
|
+
public func write(samples: [Swift.Float])
|
|
20
|
+
public func read(count: Swift.Int) -> [Swift.Float]
|
|
21
|
+
public func availableSamples() -> Swift.Int
|
|
23
22
|
@objc deinit
|
|
24
23
|
}
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
@objc weak public var delegate: (any KeyWordDetection.KeywordDetectionRNDelegate)?
|
|
30
|
-
public var eventSink: (([Swift.String : Any]) -> Swift.Void)?
|
|
31
|
-
@objc public init(modelPath: Swift.String, threshold: Swift.Float, bufferCnt: Swift.Int) throws
|
|
32
|
-
@objc public func replaceKeywordDetectionModel(modelPath: Swift.String, threshold: Swift.Float, bufferCnt: Swift.Int) throws
|
|
33
|
-
@objc public func getKeywordDetectionModel() -> Swift.String
|
|
34
|
-
@objc public func getRecordingWav() -> Swift.String
|
|
35
|
-
@objc public func setKeywordDetectionLicense(licenseKey: Swift.String) -> Swift.Bool
|
|
36
|
-
@objc public func setLicense(licenseKey: Swift.String) -> Swift.Bool
|
|
37
|
-
@objc public func callBack(frame: [Swift.Float])
|
|
38
|
-
@objc public func startListening() -> Swift.Bool
|
|
39
|
-
@objc public func stopListening()
|
|
24
|
+
public typealias AVAudioWrapperFrameCallback = ([Swift.Float]) -> Swift.Void
|
|
25
|
+
public class AVAudioWrapperFrameListener {
|
|
26
|
+
public init(_ callback: @escaping KeyWordDetection.AVAudioWrapperFrameCallback)
|
|
27
|
+
public func onFrame(_ frame: [Swift.Float])
|
|
40
28
|
@objc deinit
|
|
41
29
|
}
|
|
42
|
-
public class
|
|
43
|
-
public
|
|
44
|
-
public var
|
|
30
|
+
@_hasMissingDesignatedInitializers public class AVAudioWrapperCE {
|
|
31
|
+
public static let instance: KeyWordDetection.AVAudioWrapperCE
|
|
32
|
+
public var isRecording: Swift.Bool {
|
|
45
33
|
get
|
|
46
34
|
}
|
|
47
|
-
public var
|
|
35
|
+
public var frameLength: Swift.UInt32? {
|
|
48
36
|
get
|
|
49
37
|
}
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
38
|
+
public var sampleRate: Swift.UInt32? {
|
|
39
|
+
get
|
|
40
|
+
}
|
|
41
|
+
public var numFrameListeners: Swift.Int {
|
|
42
|
+
get
|
|
43
|
+
}
|
|
44
|
+
public static var hasRecordAudioPermission: Swift.Bool {
|
|
45
|
+
get
|
|
46
|
+
}
|
|
47
|
+
public static func requestRecordAudioPermission(_ response: @escaping (Swift.Bool) -> Swift.Void)
|
|
48
|
+
public func addFrameListener(_ listener: KeyWordDetection.AVAudioWrapperFrameListener)
|
|
49
|
+
public func removeFrameListener(_ listener: KeyWordDetection.AVAudioWrapperFrameListener)
|
|
50
|
+
public func clearFrameListeners()
|
|
51
|
+
public func setSessionOptions(sessionOptions: AVFAudio.AVAudioSession.CategoryOptions)
|
|
52
|
+
public func start(frameLength: Swift.UInt32, sampleRate: Swift.UInt32)
|
|
53
|
+
public func stop() throws
|
|
62
54
|
@objc deinit
|
|
63
55
|
}
|
|
64
56
|
public class AVAudioWrapperBuffer {
|
|
65
57
|
public init(size: Swift.Int)
|
|
66
|
-
public func write(samples: [Swift.Float])
|
|
58
|
+
public func write(samples: [Swift.Float]) -> Swift.Int16
|
|
67
59
|
public func read(count: Swift.Int) -> [Swift.Float]
|
|
68
60
|
public func availableSamples() -> Swift.Int
|
|
69
61
|
@objc deinit
|
|
70
62
|
}
|
|
71
|
-
public typealias AVAudioWrapperFrameCallback = ([Swift.Float]) -> Swift.Void
|
|
72
|
-
public class AVAudioWrapperFrameListener {
|
|
73
|
-
public init(_ callback: @escaping KeyWordDetection.AVAudioWrapperFrameCallback)
|
|
74
|
-
public func onFrame(_ frame: [Swift.Float])
|
|
75
|
-
@objc deinit
|
|
76
|
-
}
|
|
77
|
-
public typealias AVAudioWrapperErrorCallback = (KeyWordDetection.AVAudioWrapperError) -> Swift.Void
|
|
78
|
-
public class AVAudioWrapperErrorListener {
|
|
79
|
-
public init(_ callback: @escaping KeyWordDetection.AVAudioWrapperErrorCallback)
|
|
80
|
-
public func onError(_ error: KeyWordDetection.AVAudioWrapperError)
|
|
81
|
-
@objc deinit
|
|
82
|
-
}
|
|
83
63
|
@_hasMissingDesignatedInitializers public class AVAudioWrapper {
|
|
84
64
|
public static let instance: KeyWordDetection.AVAudioWrapper
|
|
85
65
|
public var isRecording: Swift.Bool {
|
|
@@ -94,24 +74,46 @@ public class AVAudioWrapperErrorListener {
|
|
|
94
74
|
public var numFrameListeners: Swift.Int {
|
|
95
75
|
get
|
|
96
76
|
}
|
|
97
|
-
public
|
|
98
|
-
get
|
|
99
|
-
}
|
|
77
|
+
public func setSessionOptions(sessionOptions: AVFAudio.AVAudioSession.CategoryOptions)
|
|
100
78
|
public static var hasRecordAudioPermission: Swift.Bool {
|
|
101
79
|
get
|
|
102
80
|
}
|
|
103
81
|
public static func requestRecordAudioPermission(_ response: @escaping (Swift.Bool) -> Swift.Void)
|
|
104
82
|
public func addFrameListener(_ listener: KeyWordDetection.AVAudioWrapperFrameListener)
|
|
83
|
+
public func addFrameListeners(_ listeners: [KeyWordDetection.AVAudioWrapperFrameListener])
|
|
105
84
|
public func removeFrameListener(_ listener: KeyWordDetection.AVAudioWrapperFrameListener)
|
|
85
|
+
public func removeFrameListeners(_ listeners: [KeyWordDetection.AVAudioWrapperFrameListener])
|
|
106
86
|
public func clearFrameListeners()
|
|
107
|
-
public func addErrorListener(_ listener: KeyWordDetection.AVAudioWrapperErrorListener)
|
|
108
|
-
public func removeErrorListener(_ listener: KeyWordDetection.AVAudioWrapperErrorListener)
|
|
109
|
-
public func clearErrorListeners()
|
|
110
|
-
public func setSessionOptions(sessionOptions: AVFAudio.AVAudioSession.CategoryOptions)
|
|
111
87
|
public func start(frameLength: Swift.UInt32, sampleRate: Swift.UInt32)
|
|
112
88
|
public func stop() throws
|
|
113
89
|
@objc deinit
|
|
114
90
|
}
|
|
91
|
+
@_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers @objc public class GlobalVariables : ObjectiveC.NSObject {
|
|
92
|
+
@objc public static let shared: KeyWordDetection.GlobalVariables
|
|
93
|
+
@objc public var keyWordsDetectionInstance: KeyWordDetection.KeyWordsDetection?
|
|
94
|
+
@objc public var modelName: Swift.String?
|
|
95
|
+
@objc public var threshold: Swift.Float
|
|
96
|
+
@objc public var bufferCnt: Swift.Int
|
|
97
|
+
@objc deinit
|
|
98
|
+
}
|
|
99
|
+
@objc public protocol KeywordDetectionRNDelegate {
|
|
100
|
+
@objc func KeywordDetectionDidDetectEvent(_ eventInfo: [Swift.String : Any])
|
|
101
|
+
}
|
|
102
|
+
@objc public class KeyWordsDetection : ObjectiveC.NSObject {
|
|
103
|
+
@objc weak public var delegate: (any KeyWordDetection.KeywordDetectionRNDelegate)?
|
|
104
|
+
public var eventSink: (([Swift.String : Any]) -> Swift.Void)?
|
|
105
|
+
@objc convenience public init(modelPath: Swift.String, threshold: Swift.Float, bufferCnt: Swift.Int) throws
|
|
106
|
+
@objc public init(modelPath: Swift.String, threshold: Swift.Float, bufferCnt: Swift.Int, cancelEcho: Swift.Bool = false) throws
|
|
107
|
+
@objc public func replaceKeywordDetectionModel(modelPath: Swift.String, threshold: Swift.Float, bufferCnt: Swift.Int) throws
|
|
108
|
+
@objc public func getKeywordDetectionModel() -> Swift.String
|
|
109
|
+
@objc public func getRecordingWav() -> Swift.String
|
|
110
|
+
@objc public func setKeywordDetectionLicense(licenseKey: Swift.String) -> Swift.Bool
|
|
111
|
+
@objc public func setLicense(licenseKey: Swift.String) -> Swift.Bool
|
|
112
|
+
@objc public func callBack(frame: [Swift.Float])
|
|
113
|
+
@objc public func startListening() -> Swift.Bool
|
|
114
|
+
@objc public func stopListening()
|
|
115
|
+
@objc deinit
|
|
116
|
+
}
|
|
115
117
|
@_inheritsConvenienceInitializers @objc public class LicenseManager : ObjectiveC.NSObject {
|
|
116
118
|
@objc override dynamic public init()
|
|
117
119
|
@objc deinit
|
|
Binary file
|
|
@@ -14,72 +14,52 @@ import _SwiftConcurrencyShims
|
|
|
14
14
|
import os.log
|
|
15
15
|
import onnxruntime_objc
|
|
16
16
|
import os
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
@objc public var bufferCnt: Swift.Int
|
|
17
|
+
public class AVAudioWrapperBufferCE {
|
|
18
|
+
public init(size: Swift.Int)
|
|
19
|
+
public func write(samples: [Swift.Float])
|
|
20
|
+
public func read(count: Swift.Int) -> [Swift.Float]
|
|
21
|
+
public func availableSamples() -> Swift.Int
|
|
23
22
|
@objc deinit
|
|
24
23
|
}
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
@objc weak public var delegate: (any KeyWordDetection.KeywordDetectionRNDelegate)?
|
|
30
|
-
public var eventSink: (([Swift.String : Any]) -> Swift.Void)?
|
|
31
|
-
@objc public init(modelPath: Swift.String, threshold: Swift.Float, bufferCnt: Swift.Int) throws
|
|
32
|
-
@objc public func replaceKeywordDetectionModel(modelPath: Swift.String, threshold: Swift.Float, bufferCnt: Swift.Int) throws
|
|
33
|
-
@objc public func getKeywordDetectionModel() -> Swift.String
|
|
34
|
-
@objc public func getRecordingWav() -> Swift.String
|
|
35
|
-
@objc public func setKeywordDetectionLicense(licenseKey: Swift.String) -> Swift.Bool
|
|
36
|
-
@objc public func setLicense(licenseKey: Swift.String) -> Swift.Bool
|
|
37
|
-
@objc public func callBack(frame: [Swift.Float])
|
|
38
|
-
@objc public func startListening() -> Swift.Bool
|
|
39
|
-
@objc public func stopListening()
|
|
24
|
+
public typealias AVAudioWrapperFrameCallback = ([Swift.Float]) -> Swift.Void
|
|
25
|
+
public class AVAudioWrapperFrameListener {
|
|
26
|
+
public init(_ callback: @escaping KeyWordDetection.AVAudioWrapperFrameCallback)
|
|
27
|
+
public func onFrame(_ frame: [Swift.Float])
|
|
40
28
|
@objc deinit
|
|
41
29
|
}
|
|
42
|
-
public class
|
|
43
|
-
public
|
|
44
|
-
public var
|
|
30
|
+
@_hasMissingDesignatedInitializers public class AVAudioWrapperCE {
|
|
31
|
+
public static let instance: KeyWordDetection.AVAudioWrapperCE
|
|
32
|
+
public var isRecording: Swift.Bool {
|
|
45
33
|
get
|
|
46
34
|
}
|
|
47
|
-
public var
|
|
35
|
+
public var frameLength: Swift.UInt32? {
|
|
48
36
|
get
|
|
49
37
|
}
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
38
|
+
public var sampleRate: Swift.UInt32? {
|
|
39
|
+
get
|
|
40
|
+
}
|
|
41
|
+
public var numFrameListeners: Swift.Int {
|
|
42
|
+
get
|
|
43
|
+
}
|
|
44
|
+
public static var hasRecordAudioPermission: Swift.Bool {
|
|
45
|
+
get
|
|
46
|
+
}
|
|
47
|
+
public static func requestRecordAudioPermission(_ response: @escaping (Swift.Bool) -> Swift.Void)
|
|
48
|
+
public func addFrameListener(_ listener: KeyWordDetection.AVAudioWrapperFrameListener)
|
|
49
|
+
public func removeFrameListener(_ listener: KeyWordDetection.AVAudioWrapperFrameListener)
|
|
50
|
+
public func clearFrameListeners()
|
|
51
|
+
public func setSessionOptions(sessionOptions: AVFAudio.AVAudioSession.CategoryOptions)
|
|
52
|
+
public func start(frameLength: Swift.UInt32, sampleRate: Swift.UInt32)
|
|
53
|
+
public func stop() throws
|
|
62
54
|
@objc deinit
|
|
63
55
|
}
|
|
64
56
|
public class AVAudioWrapperBuffer {
|
|
65
57
|
public init(size: Swift.Int)
|
|
66
|
-
public func write(samples: [Swift.Float])
|
|
58
|
+
public func write(samples: [Swift.Float]) -> Swift.Int16
|
|
67
59
|
public func read(count: Swift.Int) -> [Swift.Float]
|
|
68
60
|
public func availableSamples() -> Swift.Int
|
|
69
61
|
@objc deinit
|
|
70
62
|
}
|
|
71
|
-
public typealias AVAudioWrapperFrameCallback = ([Swift.Float]) -> Swift.Void
|
|
72
|
-
public class AVAudioWrapperFrameListener {
|
|
73
|
-
public init(_ callback: @escaping KeyWordDetection.AVAudioWrapperFrameCallback)
|
|
74
|
-
public func onFrame(_ frame: [Swift.Float])
|
|
75
|
-
@objc deinit
|
|
76
|
-
}
|
|
77
|
-
public typealias AVAudioWrapperErrorCallback = (KeyWordDetection.AVAudioWrapperError) -> Swift.Void
|
|
78
|
-
public class AVAudioWrapperErrorListener {
|
|
79
|
-
public init(_ callback: @escaping KeyWordDetection.AVAudioWrapperErrorCallback)
|
|
80
|
-
public func onError(_ error: KeyWordDetection.AVAudioWrapperError)
|
|
81
|
-
@objc deinit
|
|
82
|
-
}
|
|
83
63
|
@_hasMissingDesignatedInitializers public class AVAudioWrapper {
|
|
84
64
|
public static let instance: KeyWordDetection.AVAudioWrapper
|
|
85
65
|
public var isRecording: Swift.Bool {
|
|
@@ -94,24 +74,46 @@ public class AVAudioWrapperErrorListener {
|
|
|
94
74
|
public var numFrameListeners: Swift.Int {
|
|
95
75
|
get
|
|
96
76
|
}
|
|
97
|
-
public
|
|
98
|
-
get
|
|
99
|
-
}
|
|
77
|
+
public func setSessionOptions(sessionOptions: AVFAudio.AVAudioSession.CategoryOptions)
|
|
100
78
|
public static var hasRecordAudioPermission: Swift.Bool {
|
|
101
79
|
get
|
|
102
80
|
}
|
|
103
81
|
public static func requestRecordAudioPermission(_ response: @escaping (Swift.Bool) -> Swift.Void)
|
|
104
82
|
public func addFrameListener(_ listener: KeyWordDetection.AVAudioWrapperFrameListener)
|
|
83
|
+
public func addFrameListeners(_ listeners: [KeyWordDetection.AVAudioWrapperFrameListener])
|
|
105
84
|
public func removeFrameListener(_ listener: KeyWordDetection.AVAudioWrapperFrameListener)
|
|
85
|
+
public func removeFrameListeners(_ listeners: [KeyWordDetection.AVAudioWrapperFrameListener])
|
|
106
86
|
public func clearFrameListeners()
|
|
107
|
-
public func addErrorListener(_ listener: KeyWordDetection.AVAudioWrapperErrorListener)
|
|
108
|
-
public func removeErrorListener(_ listener: KeyWordDetection.AVAudioWrapperErrorListener)
|
|
109
|
-
public func clearErrorListeners()
|
|
110
|
-
public func setSessionOptions(sessionOptions: AVFAudio.AVAudioSession.CategoryOptions)
|
|
111
87
|
public func start(frameLength: Swift.UInt32, sampleRate: Swift.UInt32)
|
|
112
88
|
public func stop() throws
|
|
113
89
|
@objc deinit
|
|
114
90
|
}
|
|
91
|
+
@_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers @objc public class GlobalVariables : ObjectiveC.NSObject {
|
|
92
|
+
@objc public static let shared: KeyWordDetection.GlobalVariables
|
|
93
|
+
@objc public var keyWordsDetectionInstance: KeyWordDetection.KeyWordsDetection?
|
|
94
|
+
@objc public var modelName: Swift.String?
|
|
95
|
+
@objc public var threshold: Swift.Float
|
|
96
|
+
@objc public var bufferCnt: Swift.Int
|
|
97
|
+
@objc deinit
|
|
98
|
+
}
|
|
99
|
+
@objc public protocol KeywordDetectionRNDelegate {
|
|
100
|
+
@objc func KeywordDetectionDidDetectEvent(_ eventInfo: [Swift.String : Any])
|
|
101
|
+
}
|
|
102
|
+
@objc public class KeyWordsDetection : ObjectiveC.NSObject {
|
|
103
|
+
@objc weak public var delegate: (any KeyWordDetection.KeywordDetectionRNDelegate)?
|
|
104
|
+
public var eventSink: (([Swift.String : Any]) -> Swift.Void)?
|
|
105
|
+
@objc convenience public init(modelPath: Swift.String, threshold: Swift.Float, bufferCnt: Swift.Int) throws
|
|
106
|
+
@objc public init(modelPath: Swift.String, threshold: Swift.Float, bufferCnt: Swift.Int, cancelEcho: Swift.Bool = false) throws
|
|
107
|
+
@objc public func replaceKeywordDetectionModel(modelPath: Swift.String, threshold: Swift.Float, bufferCnt: Swift.Int) throws
|
|
108
|
+
@objc public func getKeywordDetectionModel() -> Swift.String
|
|
109
|
+
@objc public func getRecordingWav() -> Swift.String
|
|
110
|
+
@objc public func setKeywordDetectionLicense(licenseKey: Swift.String) -> Swift.Bool
|
|
111
|
+
@objc public func setLicense(licenseKey: Swift.String) -> Swift.Bool
|
|
112
|
+
@objc public func callBack(frame: [Swift.Float])
|
|
113
|
+
@objc public func startListening() -> Swift.Bool
|
|
114
|
+
@objc public func stopListening()
|
|
115
|
+
@objc deinit
|
|
116
|
+
}
|
|
115
117
|
@_inheritsConvenienceInitializers @objc public class LicenseManager : ObjectiveC.NSObject {
|
|
116
118
|
@objc override dynamic public init()
|
|
117
119
|
@objc deinit
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
<dict>
|
|
7
7
|
<key>Headers/KeyWordDetection-Swift.h</key>
|
|
8
8
|
<data>
|
|
9
|
-
|
|
9
|
+
82g+SmQaOmLOzaaifU7ScqIQs3k=
|
|
10
10
|
</data>
|
|
11
11
|
<key>Headers/KeyWordDetection.h</key>
|
|
12
12
|
<data>
|
|
@@ -18,51 +18,51 @@
|
|
|
18
18
|
</data>
|
|
19
19
|
<key>Modules/KeyWordDetection.swiftmodule/Project/arm64-apple-ios-simulator.swiftsourceinfo</key>
|
|
20
20
|
<data>
|
|
21
|
-
|
|
21
|
+
MfL3nfIxDcALOMTKbLJcfkFBt/s=
|
|
22
22
|
</data>
|
|
23
23
|
<key>Modules/KeyWordDetection.swiftmodule/Project/x86_64-apple-ios-simulator.swiftsourceinfo</key>
|
|
24
24
|
<data>
|
|
25
|
-
|
|
25
|
+
9Wrs6JaxDsuYJU6cFVEze8XHe3Q=
|
|
26
26
|
</data>
|
|
27
27
|
<key>Modules/KeyWordDetection.swiftmodule/arm64-apple-ios-simulator.abi.json</key>
|
|
28
28
|
<data>
|
|
29
|
-
|
|
29
|
+
vgeSIi4IGuDhJpt8fWWCHwiSTSM=
|
|
30
30
|
</data>
|
|
31
31
|
<key>Modules/KeyWordDetection.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface</key>
|
|
32
32
|
<data>
|
|
33
|
-
|
|
33
|
+
fi97QxwhgH4ekJds7NrAckk0Ef8=
|
|
34
34
|
</data>
|
|
35
35
|
<key>Modules/KeyWordDetection.swiftmodule/arm64-apple-ios-simulator.swiftdoc</key>
|
|
36
36
|
<data>
|
|
37
|
-
|
|
37
|
+
0Vm8+hTlzaU1VtKfu/gNMI18e5c=
|
|
38
38
|
</data>
|
|
39
39
|
<key>Modules/KeyWordDetection.swiftmodule/arm64-apple-ios-simulator.swiftinterface</key>
|
|
40
40
|
<data>
|
|
41
|
-
|
|
41
|
+
fi97QxwhgH4ekJds7NrAckk0Ef8=
|
|
42
42
|
</data>
|
|
43
43
|
<key>Modules/KeyWordDetection.swiftmodule/arm64-apple-ios-simulator.swiftmodule</key>
|
|
44
44
|
<data>
|
|
45
|
-
|
|
45
|
+
AgsGBiKW4STARS2Ri/p3kCF7s60=
|
|
46
46
|
</data>
|
|
47
47
|
<key>Modules/KeyWordDetection.swiftmodule/x86_64-apple-ios-simulator.abi.json</key>
|
|
48
48
|
<data>
|
|
49
|
-
|
|
49
|
+
vgeSIi4IGuDhJpt8fWWCHwiSTSM=
|
|
50
50
|
</data>
|
|
51
51
|
<key>Modules/KeyWordDetection.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface</key>
|
|
52
52
|
<data>
|
|
53
|
-
|
|
53
|
+
PwNZoJc/pcxyBw9SNIdN5hU5ou4=
|
|
54
54
|
</data>
|
|
55
55
|
<key>Modules/KeyWordDetection.swiftmodule/x86_64-apple-ios-simulator.swiftdoc</key>
|
|
56
56
|
<data>
|
|
57
|
-
|
|
57
|
+
qKuijKAbwj/+IkQFgpFQWU3mzgk=
|
|
58
58
|
</data>
|
|
59
59
|
<key>Modules/KeyWordDetection.swiftmodule/x86_64-apple-ios-simulator.swiftinterface</key>
|
|
60
60
|
<data>
|
|
61
|
-
|
|
61
|
+
PwNZoJc/pcxyBw9SNIdN5hU5ou4=
|
|
62
62
|
</data>
|
|
63
63
|
<key>Modules/KeyWordDetection.swiftmodule/x86_64-apple-ios-simulator.swiftmodule</key>
|
|
64
64
|
<data>
|
|
65
|
-
|
|
65
|
+
nkEia6LK8ZA/xfZ96w9bs/bMH6M=
|
|
66
66
|
</data>
|
|
67
67
|
<key>Modules/module.modulemap</key>
|
|
68
68
|
<data>
|
|
@@ -75,7 +75,7 @@
|
|
|
75
75
|
<dict>
|
|
76
76
|
<key>hash2</key>
|
|
77
77
|
<data>
|
|
78
|
-
|
|
78
|
+
5MWW93ZrYdXzwcUVmAeTFTBUWGk+0O/vV40S1kZufYE=
|
|
79
79
|
</data>
|
|
80
80
|
</dict>
|
|
81
81
|
<key>Headers/KeyWordDetection.h</key>
|
|
@@ -89,84 +89,84 @@
|
|
|
89
89
|
<dict>
|
|
90
90
|
<key>hash2</key>
|
|
91
91
|
<data>
|
|
92
|
-
|
|
92
|
+
P8jQ80qCd+52hzcy7atMFHIypduSl+P4yxna/ID6dfk=
|
|
93
93
|
</data>
|
|
94
94
|
</dict>
|
|
95
95
|
<key>Modules/KeyWordDetection.swiftmodule/Project/x86_64-apple-ios-simulator.swiftsourceinfo</key>
|
|
96
96
|
<dict>
|
|
97
97
|
<key>hash2</key>
|
|
98
98
|
<data>
|
|
99
|
-
/
|
|
99
|
+
kCnWNNnqZDZgH7ukXqMThV5zT1HlWyFTLNTfmmG/AEg=
|
|
100
100
|
</data>
|
|
101
101
|
</dict>
|
|
102
102
|
<key>Modules/KeyWordDetection.swiftmodule/arm64-apple-ios-simulator.abi.json</key>
|
|
103
103
|
<dict>
|
|
104
104
|
<key>hash2</key>
|
|
105
105
|
<data>
|
|
106
|
-
|
|
106
|
+
hb+9fESMeH8jQIKMFt7iP7YOw4mq9Tkgj2buZWa9M94=
|
|
107
107
|
</data>
|
|
108
108
|
</dict>
|
|
109
109
|
<key>Modules/KeyWordDetection.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface</key>
|
|
110
110
|
<dict>
|
|
111
111
|
<key>hash2</key>
|
|
112
112
|
<data>
|
|
113
|
-
|
|
113
|
+
XS9P8RhSDh0y33ao+ESr+BRRHLF8utXYaxzb0g1SB8s=
|
|
114
114
|
</data>
|
|
115
115
|
</dict>
|
|
116
116
|
<key>Modules/KeyWordDetection.swiftmodule/arm64-apple-ios-simulator.swiftdoc</key>
|
|
117
117
|
<dict>
|
|
118
118
|
<key>hash2</key>
|
|
119
119
|
<data>
|
|
120
|
-
|
|
120
|
+
C5ND7L70xphgqRpUZD2zvLCHcM4dHJIufjwpkoRTCDA=
|
|
121
121
|
</data>
|
|
122
122
|
</dict>
|
|
123
123
|
<key>Modules/KeyWordDetection.swiftmodule/arm64-apple-ios-simulator.swiftinterface</key>
|
|
124
124
|
<dict>
|
|
125
125
|
<key>hash2</key>
|
|
126
126
|
<data>
|
|
127
|
-
|
|
127
|
+
XS9P8RhSDh0y33ao+ESr+BRRHLF8utXYaxzb0g1SB8s=
|
|
128
128
|
</data>
|
|
129
129
|
</dict>
|
|
130
130
|
<key>Modules/KeyWordDetection.swiftmodule/arm64-apple-ios-simulator.swiftmodule</key>
|
|
131
131
|
<dict>
|
|
132
132
|
<key>hash2</key>
|
|
133
133
|
<data>
|
|
134
|
-
|
|
134
|
+
WIQ6odtQ+NqtH0MFo/rVrdv77b7LSyZiLrRRTk7MpXE=
|
|
135
135
|
</data>
|
|
136
136
|
</dict>
|
|
137
137
|
<key>Modules/KeyWordDetection.swiftmodule/x86_64-apple-ios-simulator.abi.json</key>
|
|
138
138
|
<dict>
|
|
139
139
|
<key>hash2</key>
|
|
140
140
|
<data>
|
|
141
|
-
|
|
141
|
+
hb+9fESMeH8jQIKMFt7iP7YOw4mq9Tkgj2buZWa9M94=
|
|
142
142
|
</data>
|
|
143
143
|
</dict>
|
|
144
144
|
<key>Modules/KeyWordDetection.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface</key>
|
|
145
145
|
<dict>
|
|
146
146
|
<key>hash2</key>
|
|
147
147
|
<data>
|
|
148
|
-
|
|
148
|
+
9l1xUMOapKYU43CPSP9c59QW++UJFXzhHxbRrt3Ux3Y=
|
|
149
149
|
</data>
|
|
150
150
|
</dict>
|
|
151
151
|
<key>Modules/KeyWordDetection.swiftmodule/x86_64-apple-ios-simulator.swiftdoc</key>
|
|
152
152
|
<dict>
|
|
153
153
|
<key>hash2</key>
|
|
154
154
|
<data>
|
|
155
|
-
|
|
155
|
+
c069xyJn+1cJ7xMwG8DngvDcf7E5qNEbAF09V+D8pm4=
|
|
156
156
|
</data>
|
|
157
157
|
</dict>
|
|
158
158
|
<key>Modules/KeyWordDetection.swiftmodule/x86_64-apple-ios-simulator.swiftinterface</key>
|
|
159
159
|
<dict>
|
|
160
160
|
<key>hash2</key>
|
|
161
161
|
<data>
|
|
162
|
-
|
|
162
|
+
9l1xUMOapKYU43CPSP9c59QW++UJFXzhHxbRrt3Ux3Y=
|
|
163
163
|
</data>
|
|
164
164
|
</dict>
|
|
165
165
|
<key>Modules/KeyWordDetection.swiftmodule/x86_64-apple-ios-simulator.swiftmodule</key>
|
|
166
166
|
<dict>
|
|
167
167
|
<key>hash2</key>
|
|
168
168
|
<data>
|
|
169
|
-
|
|
169
|
+
RMFEIkZGfuSLuct9H/iTqWzSYeFp/aZbHn0+vwSFlXk=
|
|
170
170
|
</data>
|
|
171
171
|
</dict>
|
|
172
172
|
<key>Modules/module.modulemap</key>
|