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
|