react-native-wakeword 1.0.75 → 1.0.76
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/ios/KeyWordDetection.xcframework/Info.plist +5 -5
- 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 +438 -673
- package/ios/KeyWordDetection.xcframework/ios-arm64_x86_64-simulator/KeyWordDetection.framework/Modules/KeyWordDetection.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface +14 -15
- 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 +14 -15
- package/ios/KeyWordDetection.xcframework/ios-arm64_x86_64-simulator/KeyWordDetection.framework/Modules/KeyWordDetection.swiftmodule/x86_64-apple-ios-simulator.abi.json +438 -673
- package/ios/KeyWordDetection.xcframework/ios-arm64_x86_64-simulator/KeyWordDetection.framework/Modules/KeyWordDetection.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface +14 -15
- 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 +14 -15
- package/ios/KeyWordDetection.xcframework/ios-arm64_x86_64-simulator/KeyWordDetection.framework/_CodeSignature/CodeResources +24 -24
- package/package.json +1 -1
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
// swift-module-flags: -target x86_64-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
5
|
import AVFoundation
|
|
6
|
+
import AudioToolbox
|
|
6
7
|
import CommonCrypto
|
|
7
8
|
import Foundation
|
|
8
9
|
@_exported import KeyWordDetection
|
|
@@ -33,14 +34,14 @@ import os
|
|
|
33
34
|
@objc public func getRecordingWav() -> Swift.String
|
|
34
35
|
@objc public func setKeywordDetectionLicense(licenseKey: Swift.String) -> Swift.Bool
|
|
35
36
|
@objc public func setLicense(licenseKey: Swift.String) -> Swift.Bool
|
|
36
|
-
@objc public func callBack(frame: [Swift.
|
|
37
|
+
@objc public func callBack(frame: [Swift.Float])
|
|
37
38
|
@objc public func startListening() -> Swift.Bool
|
|
38
39
|
@objc public func stopListening()
|
|
39
40
|
@objc deinit
|
|
40
41
|
}
|
|
41
42
|
public class AVAudioWrapperError : Foundation.LocalizedError {
|
|
42
43
|
public init(_ message: Swift.String)
|
|
43
|
-
public var errorDescription: Swift.String {
|
|
44
|
+
public var errorDescription: Swift.String? {
|
|
44
45
|
get
|
|
45
46
|
}
|
|
46
47
|
public var name: Swift.String {
|
|
@@ -60,10 +61,17 @@ public class AVAudioWrapperError : Foundation.LocalizedError {
|
|
|
60
61
|
override public init(_ message: Swift.String)
|
|
61
62
|
@objc deinit
|
|
62
63
|
}
|
|
63
|
-
public
|
|
64
|
+
public class AVAudioWrapperBuffer {
|
|
65
|
+
public init(size: Swift.Int)
|
|
66
|
+
public func write(samples: [Swift.Float])
|
|
67
|
+
public func read(count: Swift.Int) -> [Swift.Float]
|
|
68
|
+
public func availableSamples() -> Swift.Int
|
|
69
|
+
@objc deinit
|
|
70
|
+
}
|
|
71
|
+
public typealias AVAudioWrapperFrameCallback = ([Swift.Float]) -> Swift.Void
|
|
64
72
|
public class AVAudioWrapperFrameListener {
|
|
65
73
|
public init(_ callback: @escaping KeyWordDetection.AVAudioWrapperFrameCallback)
|
|
66
|
-
public func onFrame(_ frame: [Swift.
|
|
74
|
+
public func onFrame(_ frame: [Swift.Float])
|
|
67
75
|
@objc deinit
|
|
68
76
|
}
|
|
69
77
|
public typealias AVAudioWrapperErrorCallback = (KeyWordDetection.AVAudioWrapperError) -> Swift.Void
|
|
@@ -86,7 +94,6 @@ public class AVAudioWrapperErrorListener {
|
|
|
86
94
|
public var numFrameListeners: Swift.Int {
|
|
87
95
|
get
|
|
88
96
|
}
|
|
89
|
-
public func setSessionOptions(sessionOptions: AVFAudio.AVAudioSession.CategoryOptions)
|
|
90
97
|
public var numErrorListeners: Swift.Int {
|
|
91
98
|
get
|
|
92
99
|
}
|
|
@@ -95,24 +102,16 @@ public class AVAudioWrapperErrorListener {
|
|
|
95
102
|
}
|
|
96
103
|
public static func requestRecordAudioPermission(_ response: @escaping (Swift.Bool) -> Swift.Void)
|
|
97
104
|
public func addFrameListener(_ listener: KeyWordDetection.AVAudioWrapperFrameListener)
|
|
98
|
-
public func addFrameListeners(_ listeners: [KeyWordDetection.AVAudioWrapperFrameListener])
|
|
99
105
|
public func removeFrameListener(_ listener: KeyWordDetection.AVAudioWrapperFrameListener)
|
|
100
|
-
public func removeFrameListeners(_ listeners: [KeyWordDetection.AVAudioWrapperFrameListener])
|
|
101
106
|
public func clearFrameListeners()
|
|
102
107
|
public func addErrorListener(_ listener: KeyWordDetection.AVAudioWrapperErrorListener)
|
|
103
108
|
public func removeErrorListener(_ listener: KeyWordDetection.AVAudioWrapperErrorListener)
|
|
104
109
|
public func clearErrorListeners()
|
|
105
|
-
public func
|
|
110
|
+
public func setSessionOptions(sessionOptions: AVFAudio.AVAudioSession.CategoryOptions)
|
|
111
|
+
public func start(frameLength: Swift.UInt32, sampleRate: Swift.UInt32)
|
|
106
112
|
public func stop() throws
|
|
107
113
|
@objc deinit
|
|
108
114
|
}
|
|
109
|
-
public class AVAudioWrapperBuffer {
|
|
110
|
-
public init(size: Swift.Int)
|
|
111
|
-
public func write(samples: [Swift.Int16]) throws
|
|
112
|
-
public func read(count: Swift.Int) -> [Swift.Int16]
|
|
113
|
-
public func availableSamples() -> Swift.Int
|
|
114
|
-
@objc deinit
|
|
115
|
-
}
|
|
116
115
|
@_inheritsConvenienceInitializers @objc public class LicenseManager : ObjectiveC.NSObject {
|
|
117
116
|
@objc override dynamic public init()
|
|
118
117
|
@objc deinit
|
|
Binary file
|
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
// swift-module-flags: -target x86_64-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
5
|
import AVFoundation
|
|
6
|
+
import AudioToolbox
|
|
6
7
|
import CommonCrypto
|
|
7
8
|
import Foundation
|
|
8
9
|
@_exported import KeyWordDetection
|
|
@@ -33,14 +34,14 @@ import os
|
|
|
33
34
|
@objc public func getRecordingWav() -> Swift.String
|
|
34
35
|
@objc public func setKeywordDetectionLicense(licenseKey: Swift.String) -> Swift.Bool
|
|
35
36
|
@objc public func setLicense(licenseKey: Swift.String) -> Swift.Bool
|
|
36
|
-
@objc public func callBack(frame: [Swift.
|
|
37
|
+
@objc public func callBack(frame: [Swift.Float])
|
|
37
38
|
@objc public func startListening() -> Swift.Bool
|
|
38
39
|
@objc public func stopListening()
|
|
39
40
|
@objc deinit
|
|
40
41
|
}
|
|
41
42
|
public class AVAudioWrapperError : Foundation.LocalizedError {
|
|
42
43
|
public init(_ message: Swift.String)
|
|
43
|
-
public var errorDescription: Swift.String {
|
|
44
|
+
public var errorDescription: Swift.String? {
|
|
44
45
|
get
|
|
45
46
|
}
|
|
46
47
|
public var name: Swift.String {
|
|
@@ -60,10 +61,17 @@ public class AVAudioWrapperError : Foundation.LocalizedError {
|
|
|
60
61
|
override public init(_ message: Swift.String)
|
|
61
62
|
@objc deinit
|
|
62
63
|
}
|
|
63
|
-
public
|
|
64
|
+
public class AVAudioWrapperBuffer {
|
|
65
|
+
public init(size: Swift.Int)
|
|
66
|
+
public func write(samples: [Swift.Float])
|
|
67
|
+
public func read(count: Swift.Int) -> [Swift.Float]
|
|
68
|
+
public func availableSamples() -> Swift.Int
|
|
69
|
+
@objc deinit
|
|
70
|
+
}
|
|
71
|
+
public typealias AVAudioWrapperFrameCallback = ([Swift.Float]) -> Swift.Void
|
|
64
72
|
public class AVAudioWrapperFrameListener {
|
|
65
73
|
public init(_ callback: @escaping KeyWordDetection.AVAudioWrapperFrameCallback)
|
|
66
|
-
public func onFrame(_ frame: [Swift.
|
|
74
|
+
public func onFrame(_ frame: [Swift.Float])
|
|
67
75
|
@objc deinit
|
|
68
76
|
}
|
|
69
77
|
public typealias AVAudioWrapperErrorCallback = (KeyWordDetection.AVAudioWrapperError) -> Swift.Void
|
|
@@ -86,7 +94,6 @@ public class AVAudioWrapperErrorListener {
|
|
|
86
94
|
public var numFrameListeners: Swift.Int {
|
|
87
95
|
get
|
|
88
96
|
}
|
|
89
|
-
public func setSessionOptions(sessionOptions: AVFAudio.AVAudioSession.CategoryOptions)
|
|
90
97
|
public var numErrorListeners: Swift.Int {
|
|
91
98
|
get
|
|
92
99
|
}
|
|
@@ -95,24 +102,16 @@ public class AVAudioWrapperErrorListener {
|
|
|
95
102
|
}
|
|
96
103
|
public static func requestRecordAudioPermission(_ response: @escaping (Swift.Bool) -> Swift.Void)
|
|
97
104
|
public func addFrameListener(_ listener: KeyWordDetection.AVAudioWrapperFrameListener)
|
|
98
|
-
public func addFrameListeners(_ listeners: [KeyWordDetection.AVAudioWrapperFrameListener])
|
|
99
105
|
public func removeFrameListener(_ listener: KeyWordDetection.AVAudioWrapperFrameListener)
|
|
100
|
-
public func removeFrameListeners(_ listeners: [KeyWordDetection.AVAudioWrapperFrameListener])
|
|
101
106
|
public func clearFrameListeners()
|
|
102
107
|
public func addErrorListener(_ listener: KeyWordDetection.AVAudioWrapperErrorListener)
|
|
103
108
|
public func removeErrorListener(_ listener: KeyWordDetection.AVAudioWrapperErrorListener)
|
|
104
109
|
public func clearErrorListeners()
|
|
105
|
-
public func
|
|
110
|
+
public func setSessionOptions(sessionOptions: AVFAudio.AVAudioSession.CategoryOptions)
|
|
111
|
+
public func start(frameLength: Swift.UInt32, sampleRate: Swift.UInt32)
|
|
106
112
|
public func stop() throws
|
|
107
113
|
@objc deinit
|
|
108
114
|
}
|
|
109
|
-
public class AVAudioWrapperBuffer {
|
|
110
|
-
public init(size: Swift.Int)
|
|
111
|
-
public func write(samples: [Swift.Int16]) throws
|
|
112
|
-
public func read(count: Swift.Int) -> [Swift.Int16]
|
|
113
|
-
public func availableSamples() -> Swift.Int
|
|
114
|
-
@objc deinit
|
|
115
|
-
}
|
|
116
115
|
@_inheritsConvenienceInitializers @objc public class LicenseManager : ObjectiveC.NSObject {
|
|
117
116
|
@objc override dynamic public init()
|
|
118
117
|
@objc deinit
|
|
@@ -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
|
+
lvlVUZP65/8mj5G+MZnlxQUSIm8=
|
|
22
22
|
</data>
|
|
23
23
|
<key>Modules/KeyWordDetection.swiftmodule/Project/x86_64-apple-ios-simulator.swiftsourceinfo</key>
|
|
24
24
|
<data>
|
|
25
|
-
|
|
25
|
+
bkmmMTnndKflOlOUf7h3rzNeHWQ=
|
|
26
26
|
</data>
|
|
27
27
|
<key>Modules/KeyWordDetection.swiftmodule/arm64-apple-ios-simulator.abi.json</key>
|
|
28
28
|
<data>
|
|
29
|
-
|
|
29
|
+
MTPXznQH9Zq2ky11CUOWtooBsZI=
|
|
30
30
|
</data>
|
|
31
31
|
<key>Modules/KeyWordDetection.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface</key>
|
|
32
32
|
<data>
|
|
33
|
-
|
|
33
|
+
dHDFtiKn6DFfRblLob6/SMElCj4=
|
|
34
34
|
</data>
|
|
35
35
|
<key>Modules/KeyWordDetection.swiftmodule/arm64-apple-ios-simulator.swiftdoc</key>
|
|
36
36
|
<data>
|
|
37
|
-
|
|
37
|
+
xM3arssezFxr9FRaCm+LNHDAqJk=
|
|
38
38
|
</data>
|
|
39
39
|
<key>Modules/KeyWordDetection.swiftmodule/arm64-apple-ios-simulator.swiftinterface</key>
|
|
40
40
|
<data>
|
|
41
|
-
|
|
41
|
+
dHDFtiKn6DFfRblLob6/SMElCj4=
|
|
42
42
|
</data>
|
|
43
43
|
<key>Modules/KeyWordDetection.swiftmodule/arm64-apple-ios-simulator.swiftmodule</key>
|
|
44
44
|
<data>
|
|
45
|
-
|
|
45
|
+
W07kSn1okqmiEsYpvBdM+jJrj8A=
|
|
46
46
|
</data>
|
|
47
47
|
<key>Modules/KeyWordDetection.swiftmodule/x86_64-apple-ios-simulator.abi.json</key>
|
|
48
48
|
<data>
|
|
49
|
-
|
|
49
|
+
MTPXznQH9Zq2ky11CUOWtooBsZI=
|
|
50
50
|
</data>
|
|
51
51
|
<key>Modules/KeyWordDetection.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface</key>
|
|
52
52
|
<data>
|
|
53
|
-
|
|
53
|
+
eeVnscCzVdrshiFYUFTY/Nenvww=
|
|
54
54
|
</data>
|
|
55
55
|
<key>Modules/KeyWordDetection.swiftmodule/x86_64-apple-ios-simulator.swiftdoc</key>
|
|
56
56
|
<data>
|
|
57
|
-
|
|
57
|
+
r2xqk9ml6gS56Wbmbc8WNqjAsGk=
|
|
58
58
|
</data>
|
|
59
59
|
<key>Modules/KeyWordDetection.swiftmodule/x86_64-apple-ios-simulator.swiftinterface</key>
|
|
60
60
|
<data>
|
|
61
|
-
|
|
61
|
+
eeVnscCzVdrshiFYUFTY/Nenvww=
|
|
62
62
|
</data>
|
|
63
63
|
<key>Modules/KeyWordDetection.swiftmodule/x86_64-apple-ios-simulator.swiftmodule</key>
|
|
64
64
|
<data>
|
|
65
|
-
|
|
65
|
+
9VXWYPX+72Y+xmQcz1rBRxm7hnY=
|
|
66
66
|
</data>
|
|
67
67
|
<key>Modules/module.modulemap</key>
|
|
68
68
|
<data>
|
|
@@ -89,84 +89,84 @@
|
|
|
89
89
|
<dict>
|
|
90
90
|
<key>hash2</key>
|
|
91
91
|
<data>
|
|
92
|
-
|
|
92
|
+
QEt4yuuwG6N79X3DgvToUJUjf5nVz6paIM+VVCY6+HY=
|
|
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
|
+
/15iMLFjDEmiCBFl+APee2xLK7O4NQZpxtSSsLBmxfw=
|
|
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
|
+
/CmAidFs3nMQCK6xpSxrirQooQOoy+wzGTDoQrU1o2o=
|
|
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
|
+
gPB7T30w3Z0GPx5b9yq83Tco+Gob3sCNCYCVcBjTx3A=
|
|
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
|
+
1FbwbdA4Px4qNb4gKxo3mFgA7p6lOqAjpfXzbDh/7yQ=
|
|
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
|
+
gPB7T30w3Z0GPx5b9yq83Tco+Gob3sCNCYCVcBjTx3A=
|
|
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
|
+
JzPW5YkTG9oHany67FMYODr0dRZdq2vqBFapSa/WAFw=
|
|
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
|
+
/CmAidFs3nMQCK6xpSxrirQooQOoy+wzGTDoQrU1o2o=
|
|
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
|
+
HhRzpb0LjnIDYncVvFu78aZAY4BHM/Ca1TMs+tlRMZ8=
|
|
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
|
+
iKnW+jGNGYlK54W/nrP9XA2s5zoCgSbNhw3YXMacF1o=
|
|
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
|
+
HhRzpb0LjnIDYncVvFu78aZAY4BHM/Ca1TMs+tlRMZ8=
|
|
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
|
+
GA/bEIMuy9lJufg5cb3GfQhoxPcxX56uR8zaNTJXaCg=
|
|
170
170
|
</data>
|
|
171
171
|
</dict>
|
|
172
172
|
<key>Modules/module.modulemap</key>
|