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 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
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 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
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
|