react-native-wakeword 1.0.71 → 1.0.74
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/KeyWordDetection.podspec +0 -1
- 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/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 +1579 -28
- package/ios/KeyWordDetection.xcframework/ios-arm64/KeyWordDetection.framework/Modules/KeyWordDetection.swiftmodule/arm64-apple-ios.private.swiftinterface +75 -1
- 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 +75 -1
- 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 +1870 -123
- package/ios/KeyWordDetection.xcframework/ios-arm64_x86_64-simulator/KeyWordDetection.framework/Modules/KeyWordDetection.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface +75 -1
- 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 +75 -1
- package/ios/KeyWordDetection.xcframework/ios-arm64_x86_64-simulator/KeyWordDetection.framework/Modules/KeyWordDetection.swiftmodule/x86_64-apple-ios-simulator.abi.json +1870 -123
- package/ios/KeyWordDetection.xcframework/ios-arm64_x86_64-simulator/KeyWordDetection.framework/Modules/KeyWordDetection.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface +75 -1
- 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 +75 -1
- package/ios/KeyWordDetection.xcframework/ios-arm64_x86_64-simulator/KeyWordDetection.framework/_CodeSignature/CodeResources +24 -24
- package/ios/react-native-wakeword.podspec +0 -1
- package/package.json +1 -1
|
@@ -10,7 +10,6 @@ import Swift
|
|
|
10
10
|
import _Concurrency
|
|
11
11
|
import _StringProcessing
|
|
12
12
|
import _SwiftConcurrencyShims
|
|
13
|
-
import ios_voice_processor
|
|
14
13
|
import os.log
|
|
15
14
|
import onnxruntime_objc
|
|
16
15
|
import os
|
|
@@ -39,6 +38,81 @@ import os
|
|
|
39
38
|
@objc public func stopListening()
|
|
40
39
|
@objc deinit
|
|
41
40
|
}
|
|
41
|
+
public class AVAudioWrapperError : Foundation.LocalizedError {
|
|
42
|
+
public init(_ message: Swift.String)
|
|
43
|
+
public var errorDescription: Swift.String {
|
|
44
|
+
get
|
|
45
|
+
}
|
|
46
|
+
public var name: Swift.String {
|
|
47
|
+
get
|
|
48
|
+
}
|
|
49
|
+
@objc deinit
|
|
50
|
+
}
|
|
51
|
+
@_inheritsConvenienceInitializers public class AVAudioWrapperArgumentError : KeyWordDetection.AVAudioWrapperError {
|
|
52
|
+
override public init(_ message: Swift.String)
|
|
53
|
+
@objc deinit
|
|
54
|
+
}
|
|
55
|
+
@_inheritsConvenienceInitializers public class AVAudioWrapperReadError : KeyWordDetection.AVAudioWrapperError {
|
|
56
|
+
override public init(_ message: Swift.String)
|
|
57
|
+
@objc deinit
|
|
58
|
+
}
|
|
59
|
+
@_inheritsConvenienceInitializers public class AVAudioWrapperRuntimeError : KeyWordDetection.AVAudioWrapperError {
|
|
60
|
+
override public init(_ message: Swift.String)
|
|
61
|
+
@objc deinit
|
|
62
|
+
}
|
|
63
|
+
public typealias AVAudioWrapperFrameCallback = ([Swift.Int16]) -> Swift.Void
|
|
64
|
+
public class AVAudioWrapperFrameListener {
|
|
65
|
+
public init(_ callback: @escaping KeyWordDetection.AVAudioWrapperFrameCallback)
|
|
66
|
+
public func onFrame(_ frame: [Swift.Int16])
|
|
67
|
+
@objc deinit
|
|
68
|
+
}
|
|
69
|
+
public typealias AVAudioWrapperErrorCallback = (KeyWordDetection.AVAudioWrapperError) -> Swift.Void
|
|
70
|
+
public class AVAudioWrapperErrorListener {
|
|
71
|
+
public init(_ callback: @escaping KeyWordDetection.AVAudioWrapperErrorCallback)
|
|
72
|
+
public func onError(_ error: KeyWordDetection.AVAudioWrapperError)
|
|
73
|
+
@objc deinit
|
|
74
|
+
}
|
|
75
|
+
@_hasMissingDesignatedInitializers public class AVAudioWrapper {
|
|
76
|
+
public static let instance: KeyWordDetection.AVAudioWrapper
|
|
77
|
+
public var isRecording: Swift.Bool {
|
|
78
|
+
get
|
|
79
|
+
}
|
|
80
|
+
public var frameLength: Swift.UInt32? {
|
|
81
|
+
get
|
|
82
|
+
}
|
|
83
|
+
public var sampleRate: Swift.UInt32? {
|
|
84
|
+
get
|
|
85
|
+
}
|
|
86
|
+
public var numFrameListeners: Swift.Int {
|
|
87
|
+
get
|
|
88
|
+
}
|
|
89
|
+
public func setSessionOptions(sessionOptions: AVFAudio.AVAudioSession.CategoryOptions)
|
|
90
|
+
public var numErrorListeners: Swift.Int {
|
|
91
|
+
get
|
|
92
|
+
}
|
|
93
|
+
public static var hasRecordAudioPermission: Swift.Bool {
|
|
94
|
+
get
|
|
95
|
+
}
|
|
96
|
+
public static func requestRecordAudioPermission(_ response: @escaping (Swift.Bool) -> Swift.Void)
|
|
97
|
+
public func addFrameListener(_ listener: KeyWordDetection.AVAudioWrapperFrameListener)
|
|
98
|
+
public func addFrameListeners(_ listeners: [KeyWordDetection.AVAudioWrapperFrameListener])
|
|
99
|
+
public func removeFrameListener(_ listener: KeyWordDetection.AVAudioWrapperFrameListener)
|
|
100
|
+
public func removeFrameListeners(_ listeners: [KeyWordDetection.AVAudioWrapperFrameListener])
|
|
101
|
+
public func clearFrameListeners()
|
|
102
|
+
public func addErrorListener(_ listener: KeyWordDetection.AVAudioWrapperErrorListener)
|
|
103
|
+
public func removeErrorListener(_ listener: KeyWordDetection.AVAudioWrapperErrorListener)
|
|
104
|
+
public func clearErrorListeners()
|
|
105
|
+
public func start(frameLength: Swift.UInt32, sampleRate: Swift.UInt32) throws
|
|
106
|
+
public func stop() throws
|
|
107
|
+
@objc deinit
|
|
108
|
+
}
|
|
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
|
+
}
|
|
42
116
|
@_inheritsConvenienceInitializers @objc public class LicenseManager : ObjectiveC.NSObject {
|
|
43
117
|
@objc override dynamic public init()
|
|
44
118
|
@objc deinit
|
|
Binary file
|
|
@@ -10,7 +10,6 @@ import Swift
|
|
|
10
10
|
import _Concurrency
|
|
11
11
|
import _StringProcessing
|
|
12
12
|
import _SwiftConcurrencyShims
|
|
13
|
-
import ios_voice_processor
|
|
14
13
|
import os.log
|
|
15
14
|
import onnxruntime_objc
|
|
16
15
|
import os
|
|
@@ -39,6 +38,81 @@ import os
|
|
|
39
38
|
@objc public func stopListening()
|
|
40
39
|
@objc deinit
|
|
41
40
|
}
|
|
41
|
+
public class AVAudioWrapperError : Foundation.LocalizedError {
|
|
42
|
+
public init(_ message: Swift.String)
|
|
43
|
+
public var errorDescription: Swift.String {
|
|
44
|
+
get
|
|
45
|
+
}
|
|
46
|
+
public var name: Swift.String {
|
|
47
|
+
get
|
|
48
|
+
}
|
|
49
|
+
@objc deinit
|
|
50
|
+
}
|
|
51
|
+
@_inheritsConvenienceInitializers public class AVAudioWrapperArgumentError : KeyWordDetection.AVAudioWrapperError {
|
|
52
|
+
override public init(_ message: Swift.String)
|
|
53
|
+
@objc deinit
|
|
54
|
+
}
|
|
55
|
+
@_inheritsConvenienceInitializers public class AVAudioWrapperReadError : KeyWordDetection.AVAudioWrapperError {
|
|
56
|
+
override public init(_ message: Swift.String)
|
|
57
|
+
@objc deinit
|
|
58
|
+
}
|
|
59
|
+
@_inheritsConvenienceInitializers public class AVAudioWrapperRuntimeError : KeyWordDetection.AVAudioWrapperError {
|
|
60
|
+
override public init(_ message: Swift.String)
|
|
61
|
+
@objc deinit
|
|
62
|
+
}
|
|
63
|
+
public typealias AVAudioWrapperFrameCallback = ([Swift.Int16]) -> Swift.Void
|
|
64
|
+
public class AVAudioWrapperFrameListener {
|
|
65
|
+
public init(_ callback: @escaping KeyWordDetection.AVAudioWrapperFrameCallback)
|
|
66
|
+
public func onFrame(_ frame: [Swift.Int16])
|
|
67
|
+
@objc deinit
|
|
68
|
+
}
|
|
69
|
+
public typealias AVAudioWrapperErrorCallback = (KeyWordDetection.AVAudioWrapperError) -> Swift.Void
|
|
70
|
+
public class AVAudioWrapperErrorListener {
|
|
71
|
+
public init(_ callback: @escaping KeyWordDetection.AVAudioWrapperErrorCallback)
|
|
72
|
+
public func onError(_ error: KeyWordDetection.AVAudioWrapperError)
|
|
73
|
+
@objc deinit
|
|
74
|
+
}
|
|
75
|
+
@_hasMissingDesignatedInitializers public class AVAudioWrapper {
|
|
76
|
+
public static let instance: KeyWordDetection.AVAudioWrapper
|
|
77
|
+
public var isRecording: Swift.Bool {
|
|
78
|
+
get
|
|
79
|
+
}
|
|
80
|
+
public var frameLength: Swift.UInt32? {
|
|
81
|
+
get
|
|
82
|
+
}
|
|
83
|
+
public var sampleRate: Swift.UInt32? {
|
|
84
|
+
get
|
|
85
|
+
}
|
|
86
|
+
public var numFrameListeners: Swift.Int {
|
|
87
|
+
get
|
|
88
|
+
}
|
|
89
|
+
public func setSessionOptions(sessionOptions: AVFAudio.AVAudioSession.CategoryOptions)
|
|
90
|
+
public var numErrorListeners: Swift.Int {
|
|
91
|
+
get
|
|
92
|
+
}
|
|
93
|
+
public static var hasRecordAudioPermission: Swift.Bool {
|
|
94
|
+
get
|
|
95
|
+
}
|
|
96
|
+
public static func requestRecordAudioPermission(_ response: @escaping (Swift.Bool) -> Swift.Void)
|
|
97
|
+
public func addFrameListener(_ listener: KeyWordDetection.AVAudioWrapperFrameListener)
|
|
98
|
+
public func addFrameListeners(_ listeners: [KeyWordDetection.AVAudioWrapperFrameListener])
|
|
99
|
+
public func removeFrameListener(_ listener: KeyWordDetection.AVAudioWrapperFrameListener)
|
|
100
|
+
public func removeFrameListeners(_ listeners: [KeyWordDetection.AVAudioWrapperFrameListener])
|
|
101
|
+
public func clearFrameListeners()
|
|
102
|
+
public func addErrorListener(_ listener: KeyWordDetection.AVAudioWrapperErrorListener)
|
|
103
|
+
public func removeErrorListener(_ listener: KeyWordDetection.AVAudioWrapperErrorListener)
|
|
104
|
+
public func clearErrorListeners()
|
|
105
|
+
public func start(frameLength: Swift.UInt32, sampleRate: Swift.UInt32) throws
|
|
106
|
+
public func stop() throws
|
|
107
|
+
@objc deinit
|
|
108
|
+
}
|
|
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
|
+
}
|
|
42
116
|
@_inheritsConvenienceInitializers @objc public class LicenseManager : ObjectiveC.NSObject {
|
|
43
117
|
@objc override dynamic public init()
|
|
44
118
|
@objc deinit
|
|
Binary file
|