react-native-wakeword 1.1.7 → 1.1.9
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 +3 -1
- package/ios/KeyWordDetection.xcframework/Info.plist +5 -5
- package/ios/KeyWordDetection.xcframework/ios-arm64/KeyWordDetection.framework/Headers/KeyWordDetection-Swift.h +13 -3
- package/ios/KeyWordDetection.xcframework/ios-arm64/KeyWordDetection.framework/Headers/KeyWordDetection.h +0 -1
- package/ios/KeyWordDetection.xcframework/ios-arm64/KeyWordDetection.framework/Info.plist +0 -0
- package/ios/KeyWordDetection.xcframework/ios-arm64/KeyWordDetection.framework/KeyWordDetection +0 -0
- package/ios/KeyWordDetection.xcframework/ios-arm64/KeyWordDetection.framework/Modules/KeyWordDetection.swiftmodule/arm64-apple-ios.abi.json +358 -61
- package/ios/KeyWordDetection.xcframework/ios-arm64/KeyWordDetection.framework/Modules/KeyWordDetection.swiftmodule/arm64-apple-ios.private.swiftinterface +10 -3
- 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 +10 -3
- package/ios/KeyWordDetection.xcframework/ios-arm64_x86_64-simulator/KeyWordDetection.framework/Headers/KeyWordDetection-Swift.h +26 -6
- package/ios/KeyWordDetection.xcframework/ios-arm64_x86_64-simulator/KeyWordDetection.framework/Headers/KeyWordDetection.h +0 -1
- package/ios/KeyWordDetection.xcframework/ios-arm64_x86_64-simulator/KeyWordDetection.framework/Info.plist +0 -0
- 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/arm64-apple-ios-simulator.abi.json +364 -61
- package/ios/KeyWordDetection.xcframework/ios-arm64_x86_64-simulator/KeyWordDetection.framework/Modules/KeyWordDetection.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface +10 -3
- 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 +10 -3
- package/ios/KeyWordDetection.xcframework/ios-arm64_x86_64-simulator/KeyWordDetection.framework/Modules/KeyWordDetection.swiftmodule/x86_64-apple-ios-simulator.abi.json +364 -61
- package/ios/KeyWordDetection.xcframework/ios-arm64_x86_64-simulator/KeyWordDetection.framework/Modules/KeyWordDetection.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface +10 -3
- 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 +10 -3
- package/ios/KeyWordDetection.xcframework/ios-arm64_x86_64-simulator/KeyWordDetection.framework/_CodeSignature/CodeDirectory +0 -0
- package/ios/KeyWordDetection.xcframework/ios-arm64_x86_64-simulator/KeyWordDetection.framework/_CodeSignature/CodeRequirements +0 -0
- package/ios/KeyWordDetection.xcframework/ios-arm64_x86_64-simulator/KeyWordDetection.framework/_CodeSignature/CodeRequirements-1 +0 -0
- package/ios/KeyWordDetection.xcframework/ios-arm64_x86_64-simulator/KeyWordDetection.framework/_CodeSignature/CodeResources +74 -44
- package/ios/KeyWordDetection.xcframework/ios-arm64_x86_64-simulator/KeyWordDetection.framework/_CodeSignature/CodeSignature +0 -0
- package/package.json +1 -1
- package/ios/KeyWordDetection.xcframework/ios-arm64/KeyWordDetection.framework/Headers/module.modulemap +0 -4
- package/ios/KeyWordDetection.xcframework/ios-arm64/KeyWordDetection.framework/Modules/KeyWordDetection.swiftmodule/Project/arm64-apple-ios.swiftsourceinfo +0 -0
- package/ios/KeyWordDetection.xcframework/ios-arm64_x86_64-simulator/KeyWordDetection.framework/Headers/module.modulemap +0 -4
- 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/react-native-wakeword.podspec +0 -39
- package/react-native.config.js +0 -25
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// swift-interface-format-version: 1.0
|
|
2
2
|
// swift-compiler-version: Apple Swift version 6.0.3 effective-5.10 (swiftlang-6.0.3.1.10 clang-1600.0.30.1)
|
|
3
|
-
// swift-module-flags: -target arm64-apple-ios13.
|
|
3
|
+
// swift-module-flags: -target arm64-apple-ios13.5 -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -enable-bare-slash-regex -module-name KeyWordDetection
|
|
4
4
|
// swift-module-flags-ignorable: -no-verify-emitted-module-interface
|
|
5
5
|
import AVFAudio
|
|
6
6
|
import AVFoundation
|
|
@@ -102,6 +102,12 @@ public class AVAudioWrapper {
|
|
|
102
102
|
@objc public protocol KeywordDetectionRNDelegate {
|
|
103
103
|
@objc func KeywordDetectionDidDetectEvent(_ eventInfo: [Swift.String : Any])
|
|
104
104
|
}
|
|
105
|
+
@_inheritsConvenienceInitializers @objc(KWDRuntimeWrapper) public class KWDRuntimeWrapper : ObjectiveC.NSObject {
|
|
106
|
+
@objc(shared) public static let shared: KeyWordDetection.KWDRuntimeWrapper
|
|
107
|
+
@objc weak public var delegate: (any KeyWordDetection.KeywordDetectionRNDelegate)?
|
|
108
|
+
@objc override dynamic public init()
|
|
109
|
+
@objc deinit
|
|
110
|
+
}
|
|
105
111
|
@objc public class KeyWordsDetection : ObjectiveC.NSObject {
|
|
106
112
|
@objc weak public var delegate: (any KeyWordDetection.KeywordDetectionRNDelegate)?
|
|
107
113
|
public var eventSink: (([Swift.String : Any]) -> Swift.Void)?
|
|
@@ -120,11 +126,12 @@ public class AVAudioWrapper {
|
|
|
120
126
|
@_inheritsConvenienceInitializers @objc public class AudioSessionAndDuckingManager : ObjectiveC.NSObject {
|
|
121
127
|
@objc public static let shared: KeyWordDetection.AudioSessionAndDuckingManager
|
|
122
128
|
@objc public func initAudioSessAndDuckManage()
|
|
129
|
+
@objc public func disableDucking()
|
|
130
|
+
@objc public func _disableDucking()
|
|
123
131
|
@objc public func enableAggressiveDucking()
|
|
132
|
+
@objc public func _enableAggressiveDucking()
|
|
124
133
|
@objc public func enableAggressiveDuckingWorksMaxSilencing()
|
|
125
134
|
@objc public func enableAggressiveDuckingWorksOnSecondTime()
|
|
126
|
-
@objc public func disableDucking()
|
|
127
|
-
@objc public func _disableDucking()
|
|
128
135
|
@objc public func disableDuckingWorks()
|
|
129
136
|
@objc public func disableDuckingDidNotUnDuck()
|
|
130
137
|
@objc public func disableDuckingOrg()
|
|
Binary file
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// swift-interface-format-version: 1.0
|
|
2
2
|
// swift-compiler-version: Apple Swift version 6.0.3 effective-5.10 (swiftlang-6.0.3.1.10 clang-1600.0.30.1)
|
|
3
|
-
// swift-module-flags: -target arm64-apple-ios13.
|
|
3
|
+
// swift-module-flags: -target arm64-apple-ios13.5 -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -enable-bare-slash-regex -module-name KeyWordDetection
|
|
4
4
|
// swift-module-flags-ignorable: -no-verify-emitted-module-interface
|
|
5
5
|
import AVFAudio
|
|
6
6
|
import AVFoundation
|
|
@@ -102,6 +102,12 @@ public class AVAudioWrapper {
|
|
|
102
102
|
@objc public protocol KeywordDetectionRNDelegate {
|
|
103
103
|
@objc func KeywordDetectionDidDetectEvent(_ eventInfo: [Swift.String : Any])
|
|
104
104
|
}
|
|
105
|
+
@_inheritsConvenienceInitializers @objc(KWDRuntimeWrapper) public class KWDRuntimeWrapper : ObjectiveC.NSObject {
|
|
106
|
+
@objc(shared) public static let shared: KeyWordDetection.KWDRuntimeWrapper
|
|
107
|
+
@objc weak public var delegate: (any KeyWordDetection.KeywordDetectionRNDelegate)?
|
|
108
|
+
@objc override dynamic public init()
|
|
109
|
+
@objc deinit
|
|
110
|
+
}
|
|
105
111
|
@objc public class KeyWordsDetection : ObjectiveC.NSObject {
|
|
106
112
|
@objc weak public var delegate: (any KeyWordDetection.KeywordDetectionRNDelegate)?
|
|
107
113
|
public var eventSink: (([Swift.String : Any]) -> Swift.Void)?
|
|
@@ -120,11 +126,12 @@ public class AVAudioWrapper {
|
|
|
120
126
|
@_inheritsConvenienceInitializers @objc public class AudioSessionAndDuckingManager : ObjectiveC.NSObject {
|
|
121
127
|
@objc public static let shared: KeyWordDetection.AudioSessionAndDuckingManager
|
|
122
128
|
@objc public func initAudioSessAndDuckManage()
|
|
129
|
+
@objc public func disableDucking()
|
|
130
|
+
@objc public func _disableDucking()
|
|
123
131
|
@objc public func enableAggressiveDucking()
|
|
132
|
+
@objc public func _enableAggressiveDucking()
|
|
124
133
|
@objc public func enableAggressiveDuckingWorksMaxSilencing()
|
|
125
134
|
@objc public func enableAggressiveDuckingWorksOnSecondTime()
|
|
126
|
-
@objc public func disableDucking()
|
|
127
|
-
@objc public func _disableDucking()
|
|
128
135
|
@objc public func disableDuckingWorks()
|
|
129
136
|
@objc public func disableDuckingDidNotUnDuck()
|
|
130
137
|
@objc public func disableDuckingOrg()
|
|
@@ -311,12 +311,13 @@ SWIFT_CLASS("_TtC16KeyWordDetection29AudioSessionAndDuckingManager")
|
|
|
311
311
|
SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) AudioSessionAndDuckingManager * _Nonnull shared;)
|
|
312
312
|
+ (AudioSessionAndDuckingManager * _Nonnull)shared SWIFT_WARN_UNUSED_RESULT;
|
|
313
313
|
- (void)initAudioSessAndDuckManage SWIFT_METHOD_FAMILY(none);
|
|
314
|
-
- (void)enableAggressiveDucking;
|
|
315
|
-
- (void)enableAggressiveDuckingWorksMaxSilencing;
|
|
316
|
-
- (void)enableAggressiveDuckingWorksOnSecondTime;
|
|
317
314
|
- (void)disableDucking;
|
|
318
315
|
/// Example function to end ducking. Deactivates session and stops engine.
|
|
319
316
|
- (void)_disableDucking;
|
|
317
|
+
- (void)enableAggressiveDucking;
|
|
318
|
+
- (void)_enableAggressiveDucking;
|
|
319
|
+
- (void)enableAggressiveDuckingWorksMaxSilencing;
|
|
320
|
+
- (void)enableAggressiveDuckingWorksOnSecondTime;
|
|
320
321
|
/// Example function to end ducking. Deactivates session and stops engine.
|
|
321
322
|
- (void)disableDuckingWorks;
|
|
322
323
|
- (void)disableDuckingDidNotUnDuck;
|
|
@@ -349,6 +350,15 @@ SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) GlobalVariab
|
|
|
349
350
|
|
|
350
351
|
@protocol KeywordDetectionRNDelegate;
|
|
351
352
|
|
|
353
|
+
SWIFT_CLASS_NAMED("KWDRuntimeWrapper")
|
|
354
|
+
@interface KWDRuntimeWrapper : NSObject
|
|
355
|
+
SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) KWDRuntimeWrapper * _Nonnull shared;)
|
|
356
|
+
+ (KWDRuntimeWrapper * _Nonnull)shared SWIFT_WARN_UNUSED_RESULT;
|
|
357
|
+
@property (nonatomic, weak) id <KeywordDetectionRNDelegate> _Nullable delegate;
|
|
358
|
+
- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER;
|
|
359
|
+
@end
|
|
360
|
+
|
|
361
|
+
|
|
352
362
|
SWIFT_CLASS("_TtC16KeyWordDetection17KeyWordsDetection")
|
|
353
363
|
@interface KeyWordsDetection : NSObject
|
|
354
364
|
@property (nonatomic, weak) id <KeywordDetectionRNDelegate> _Nullable delegate;
|
|
@@ -699,12 +709,13 @@ SWIFT_CLASS("_TtC16KeyWordDetection29AudioSessionAndDuckingManager")
|
|
|
699
709
|
SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) AudioSessionAndDuckingManager * _Nonnull shared;)
|
|
700
710
|
+ (AudioSessionAndDuckingManager * _Nonnull)shared SWIFT_WARN_UNUSED_RESULT;
|
|
701
711
|
- (void)initAudioSessAndDuckManage SWIFT_METHOD_FAMILY(none);
|
|
702
|
-
- (void)enableAggressiveDucking;
|
|
703
|
-
- (void)enableAggressiveDuckingWorksMaxSilencing;
|
|
704
|
-
- (void)enableAggressiveDuckingWorksOnSecondTime;
|
|
705
712
|
- (void)disableDucking;
|
|
706
713
|
/// Example function to end ducking. Deactivates session and stops engine.
|
|
707
714
|
- (void)_disableDucking;
|
|
715
|
+
- (void)enableAggressiveDucking;
|
|
716
|
+
- (void)_enableAggressiveDucking;
|
|
717
|
+
- (void)enableAggressiveDuckingWorksMaxSilencing;
|
|
718
|
+
- (void)enableAggressiveDuckingWorksOnSecondTime;
|
|
708
719
|
/// Example function to end ducking. Deactivates session and stops engine.
|
|
709
720
|
- (void)disableDuckingWorks;
|
|
710
721
|
- (void)disableDuckingDidNotUnDuck;
|
|
@@ -737,6 +748,15 @@ SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) GlobalVariab
|
|
|
737
748
|
|
|
738
749
|
@protocol KeywordDetectionRNDelegate;
|
|
739
750
|
|
|
751
|
+
SWIFT_CLASS_NAMED("KWDRuntimeWrapper")
|
|
752
|
+
@interface KWDRuntimeWrapper : NSObject
|
|
753
|
+
SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) KWDRuntimeWrapper * _Nonnull shared;)
|
|
754
|
+
+ (KWDRuntimeWrapper * _Nonnull)shared SWIFT_WARN_UNUSED_RESULT;
|
|
755
|
+
@property (nonatomic, weak) id <KeywordDetectionRNDelegate> _Nullable delegate;
|
|
756
|
+
- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER;
|
|
757
|
+
@end
|
|
758
|
+
|
|
759
|
+
|
|
740
760
|
SWIFT_CLASS("_TtC16KeyWordDetection17KeyWordsDetection")
|
|
741
761
|
@interface KeyWordsDetection : NSObject
|
|
742
762
|
@property (nonatomic, weak) id <KeywordDetectionRNDelegate> _Nullable delegate;
|
|
Binary file
|