react-native-wakeword 1.1.64 → 1.1.66
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 +30 -0
- package/ios/KeyWordRNBridge/KeyWordDetection.xcframework/Info.plist +5 -5
- package/ios/KeyWordRNBridge/KeyWordDetection.xcframework/ios-arm64/KeyWordDetection.framework/Headers/KeyWordDetection-Swift.h +2 -0
- package/ios/KeyWordRNBridge/KeyWordDetection.xcframework/ios-arm64/KeyWordDetection.framework/KeyWordDetection +0 -0
- package/ios/KeyWordRNBridge/KeyWordDetection.xcframework/ios-arm64/KeyWordDetection.framework/Modules/KeyWordDetection.swiftmodule/arm64-apple-ios.abi.json +392 -101
- package/ios/KeyWordRNBridge/KeyWordDetection.xcframework/ios-arm64/KeyWordDetection.framework/Modules/KeyWordDetection.swiftmodule/arm64-apple-ios.private.swiftinterface +12 -0
- package/ios/KeyWordRNBridge/KeyWordDetection.xcframework/ios-arm64/KeyWordDetection.framework/Modules/KeyWordDetection.swiftmodule/arm64-apple-ios.swiftinterface +12 -0
- package/ios/KeyWordRNBridge/KeyWordDetection.xcframework/ios-arm64_x86_64-simulator/KeyWordDetection.framework/Headers/KeyWordDetection-Swift.h +4 -0
- package/ios/KeyWordRNBridge/KeyWordDetection.xcframework/ios-arm64_x86_64-simulator/KeyWordDetection.framework/KeyWordDetection +0 -0
- package/ios/KeyWordRNBridge/KeyWordDetection.xcframework/ios-arm64_x86_64-simulator/KeyWordDetection.framework/Modules/KeyWordDetection.swiftmodule/arm64-apple-ios-simulator.abi.json +392 -101
- package/ios/KeyWordRNBridge/KeyWordDetection.xcframework/ios-arm64_x86_64-simulator/KeyWordDetection.framework/Modules/KeyWordDetection.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface +12 -0
- package/ios/KeyWordRNBridge/KeyWordDetection.xcframework/ios-arm64_x86_64-simulator/KeyWordDetection.framework/Modules/KeyWordDetection.swiftmodule/arm64-apple-ios-simulator.swiftinterface +12 -0
- package/ios/KeyWordRNBridge/KeyWordDetection.xcframework/ios-arm64_x86_64-simulator/KeyWordDetection.framework/Modules/KeyWordDetection.swiftmodule/x86_64-apple-ios-simulator.abi.json +392 -101
- package/ios/KeyWordRNBridge/KeyWordDetection.xcframework/ios-arm64_x86_64-simulator/KeyWordDetection.framework/Modules/KeyWordDetection.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface +12 -0
- package/ios/KeyWordRNBridge/KeyWordDetection.xcframework/ios-arm64_x86_64-simulator/KeyWordDetection.framework/Modules/KeyWordDetection.swiftmodule/x86_64-apple-ios-simulator.swiftinterface +12 -0
- package/ios/KeyWordRNBridge/KeyWordDetection.xcframework/ios-arm64_x86_64-simulator/KeyWordDetection.framework/_CodeSignature/CodeDirectory +0 -0
- package/ios/KeyWordRNBridge/KeyWordDetection.xcframework/ios-arm64_x86_64-simulator/KeyWordDetection.framework/_CodeSignature/CodeRequirements-1 +0 -0
- package/ios/KeyWordRNBridge/KeyWordDetection.xcframework/ios-arm64_x86_64-simulator/KeyWordDetection.framework/_CodeSignature/CodeResources +27 -27
- package/ios/KeyWordRNBridge/KeyWordRNBridge.m +32 -1
- package/package.json +1 -1
- package/wakewords/KeyWordRNBridge.d.ts +2 -0
- package/wakewords/KeyWordRNBridge.js +8 -0
- package/wakewords/index.d.ts +1 -1
- package/wakewords/index.js +4 -0
|
@@ -52,8 +52,13 @@ public class AVAudioWrapperFrameListener {
|
|
|
52
52
|
public func removeFrameListener(_ listener: KeyWordDetection.AVAudioWrapperFrameListener)
|
|
53
53
|
public func clearFrameListeners()
|
|
54
54
|
public func setSessionOptions(sessionOptions: AVFAudio.AVAudioSession.CategoryOptions)
|
|
55
|
+
public var isSessionPaused: Swift.Bool {
|
|
56
|
+
get
|
|
57
|
+
}
|
|
55
58
|
public func start(frameLength: Swift.UInt32, sampleRate: Swift.UInt32, noExternalActivation: Swift.Bool = true, duckOthers: Swift.Bool = false, mixWithOthers: Swift.Bool = true, defaultToSpeaker: Swift.Bool = true)
|
|
56
59
|
public func stop() throws
|
|
60
|
+
public func pauseSession() -> Swift.Bool
|
|
61
|
+
public func resumeSession() -> Swift.Bool
|
|
57
62
|
@objc deinit
|
|
58
63
|
}
|
|
59
64
|
@_hasMissingDesignatedInitializers final public class AppStateTracker {
|
|
@@ -218,6 +223,9 @@ public class AVAudioWrapper {
|
|
|
218
223
|
public var isRecording: Swift.Bool {
|
|
219
224
|
get
|
|
220
225
|
}
|
|
226
|
+
public var isSessionPaused: Swift.Bool {
|
|
227
|
+
get
|
|
228
|
+
}
|
|
221
229
|
public var frameLength: Swift.UInt32? {
|
|
222
230
|
get
|
|
223
231
|
}
|
|
@@ -243,6 +251,8 @@ public class AVAudioWrapper {
|
|
|
243
251
|
public func start(frameLength: Swift.UInt32, sampleRate: Swift.UInt32, noExternalActivation: Swift.Bool = true, duckOthers: Swift.Bool = false, mixWithOthers: Swift.Bool = true, defaultToSpeaker: Swift.Bool = true)
|
|
244
252
|
public func start_org(frameLength: Swift.UInt32, sampleRate: Swift.UInt32, noExternalActivation: Swift.Bool = true, duckOthers: Swift.Bool = false, mixWithOthers: Swift.Bool = true, defaultToSpeaker: Swift.Bool = true)
|
|
245
253
|
public func stop() throws
|
|
254
|
+
public func pauseSession() -> Swift.Bool
|
|
255
|
+
public func resumeSession() -> Swift.Bool
|
|
246
256
|
}
|
|
247
257
|
@_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers @objc public class GlobalVariables : ObjectiveC.NSObject {
|
|
248
258
|
@objc public static let shared: KeyWordDetection.GlobalVariables
|
|
@@ -270,6 +280,8 @@ public class AVAudioWrapper {
|
|
|
270
280
|
@objc public func callBack(frame: [Swift.Float])
|
|
271
281
|
@objc public func startListening(noExternalActivation: Swift.Bool = true, duckOthers: Swift.Bool = false, mixWithOthers: Swift.Bool = true, defaultToSpeaker: Swift.Bool = true) -> Swift.Bool
|
|
272
282
|
@objc public func stopListening()
|
|
283
|
+
@objc public func pauseDetection(stopMic: Swift.Bool = false)
|
|
284
|
+
@objc public func unPauseDetection()
|
|
273
285
|
@objc public func getVoiceProps() -> [Swift.String : Any]
|
|
274
286
|
@objc public func startSilentListening() -> Swift.Bool
|
|
275
287
|
@objc public func startVADListening() -> Swift.Bool
|
|
@@ -52,8 +52,13 @@ public class AVAudioWrapperFrameListener {
|
|
|
52
52
|
public func removeFrameListener(_ listener: KeyWordDetection.AVAudioWrapperFrameListener)
|
|
53
53
|
public func clearFrameListeners()
|
|
54
54
|
public func setSessionOptions(sessionOptions: AVFAudio.AVAudioSession.CategoryOptions)
|
|
55
|
+
public var isSessionPaused: Swift.Bool {
|
|
56
|
+
get
|
|
57
|
+
}
|
|
55
58
|
public func start(frameLength: Swift.UInt32, sampleRate: Swift.UInt32, noExternalActivation: Swift.Bool = true, duckOthers: Swift.Bool = false, mixWithOthers: Swift.Bool = true, defaultToSpeaker: Swift.Bool = true)
|
|
56
59
|
public func stop() throws
|
|
60
|
+
public func pauseSession() -> Swift.Bool
|
|
61
|
+
public func resumeSession() -> Swift.Bool
|
|
57
62
|
@objc deinit
|
|
58
63
|
}
|
|
59
64
|
@_hasMissingDesignatedInitializers final public class AppStateTracker {
|
|
@@ -218,6 +223,9 @@ public class AVAudioWrapper {
|
|
|
218
223
|
public var isRecording: Swift.Bool {
|
|
219
224
|
get
|
|
220
225
|
}
|
|
226
|
+
public var isSessionPaused: Swift.Bool {
|
|
227
|
+
get
|
|
228
|
+
}
|
|
221
229
|
public var frameLength: Swift.UInt32? {
|
|
222
230
|
get
|
|
223
231
|
}
|
|
@@ -243,6 +251,8 @@ public class AVAudioWrapper {
|
|
|
243
251
|
public func start(frameLength: Swift.UInt32, sampleRate: Swift.UInt32, noExternalActivation: Swift.Bool = true, duckOthers: Swift.Bool = false, mixWithOthers: Swift.Bool = true, defaultToSpeaker: Swift.Bool = true)
|
|
244
252
|
public func start_org(frameLength: Swift.UInt32, sampleRate: Swift.UInt32, noExternalActivation: Swift.Bool = true, duckOthers: Swift.Bool = false, mixWithOthers: Swift.Bool = true, defaultToSpeaker: Swift.Bool = true)
|
|
245
253
|
public func stop() throws
|
|
254
|
+
public func pauseSession() -> Swift.Bool
|
|
255
|
+
public func resumeSession() -> Swift.Bool
|
|
246
256
|
}
|
|
247
257
|
@_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers @objc public class GlobalVariables : ObjectiveC.NSObject {
|
|
248
258
|
@objc public static let shared: KeyWordDetection.GlobalVariables
|
|
@@ -270,6 +280,8 @@ public class AVAudioWrapper {
|
|
|
270
280
|
@objc public func callBack(frame: [Swift.Float])
|
|
271
281
|
@objc public func startListening(noExternalActivation: Swift.Bool = true, duckOthers: Swift.Bool = false, mixWithOthers: Swift.Bool = true, defaultToSpeaker: Swift.Bool = true) -> Swift.Bool
|
|
272
282
|
@objc public func stopListening()
|
|
283
|
+
@objc public func pauseDetection(stopMic: Swift.Bool = false)
|
|
284
|
+
@objc public func unPauseDetection()
|
|
273
285
|
@objc public func getVoiceProps() -> [Swift.String : Any]
|
|
274
286
|
@objc public func startSilentListening() -> Swift.Bool
|
|
275
287
|
@objc public func startVADListening() -> Swift.Bool
|