react-native-davoice-tts 1.0.400 → 1.0.401
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/TTSRNBridge.podspec +1 -1
- package/ios/TTSRNBridge/DavoiceTTS.xcframework/Info.plist +5 -5
- package/ios/TTSRNBridge/DavoiceTTS.xcframework/ios-arm64/DavoiceTTS.framework/DavoiceTTS +0 -0
- package/ios/TTSRNBridge/DavoiceTTS.xcframework/ios-arm64/DavoiceTTS.framework/Headers/DavoiceTTS-Swift.h +5 -1
- package/ios/TTSRNBridge/DavoiceTTS.xcframework/ios-arm64/DavoiceTTS.framework/Modules/DavoiceTTS.swiftmodule/arm64-apple-ios.abi.json +661 -295
- package/ios/TTSRNBridge/DavoiceTTS.xcframework/ios-arm64/DavoiceTTS.framework/Modules/DavoiceTTS.swiftmodule/arm64-apple-ios.private.swiftinterface +2 -0
- package/ios/TTSRNBridge/DavoiceTTS.xcframework/ios-arm64/DavoiceTTS.framework/Modules/DavoiceTTS.swiftmodule/arm64-apple-ios.swiftdoc +0 -0
- package/ios/TTSRNBridge/DavoiceTTS.xcframework/ios-arm64/DavoiceTTS.framework/Modules/DavoiceTTS.swiftmodule/arm64-apple-ios.swiftinterface +2 -0
- package/ios/TTSRNBridge/DavoiceTTS.xcframework/ios-arm64_x86_64-simulator/DavoiceTTS.framework/DavoiceTTS +0 -0
- package/ios/TTSRNBridge/DavoiceTTS.xcframework/ios-arm64_x86_64-simulator/DavoiceTTS.framework/Headers/DavoiceTTS-Swift.h +10 -2
- package/ios/TTSRNBridge/DavoiceTTS.xcframework/ios-arm64_x86_64-simulator/DavoiceTTS.framework/Modules/DavoiceTTS.swiftmodule/arm64-apple-ios-simulator.abi.json +661 -295
- package/ios/TTSRNBridge/DavoiceTTS.xcframework/ios-arm64_x86_64-simulator/DavoiceTTS.framework/Modules/DavoiceTTS.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface +2 -0
- package/ios/TTSRNBridge/DavoiceTTS.xcframework/ios-arm64_x86_64-simulator/DavoiceTTS.framework/Modules/DavoiceTTS.swiftmodule/arm64-apple-ios-simulator.swiftdoc +0 -0
- package/ios/TTSRNBridge/DavoiceTTS.xcframework/ios-arm64_x86_64-simulator/DavoiceTTS.framework/Modules/DavoiceTTS.swiftmodule/arm64-apple-ios-simulator.swiftinterface +2 -0
- package/ios/TTSRNBridge/DavoiceTTS.xcframework/ios-arm64_x86_64-simulator/DavoiceTTS.framework/Modules/DavoiceTTS.swiftmodule/x86_64-apple-ios-simulator.abi.json +661 -295
- package/ios/TTSRNBridge/DavoiceTTS.xcframework/ios-arm64_x86_64-simulator/DavoiceTTS.framework/Modules/DavoiceTTS.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface +2 -0
- package/ios/TTSRNBridge/DavoiceTTS.xcframework/ios-arm64_x86_64-simulator/DavoiceTTS.framework/Modules/DavoiceTTS.swiftmodule/x86_64-apple-ios-simulator.swiftdoc +0 -0
- package/ios/TTSRNBridge/DavoiceTTS.xcframework/ios-arm64_x86_64-simulator/DavoiceTTS.framework/Modules/DavoiceTTS.swiftmodule/x86_64-apple-ios-simulator.swiftinterface +2 -0
- package/ios/TTSRNBridge/DavoiceTTS.xcframework/ios-arm64_x86_64-simulator/DavoiceTTS.framework/_CodeSignature/CodeDirectory +0 -0
- package/ios/TTSRNBridge/DavoiceTTS.xcframework/ios-arm64_x86_64-simulator/DavoiceTTS.framework/_CodeSignature/CodeRequirements-1 +0 -0
- package/ios/TTSRNBridge/DavoiceTTS.xcframework/ios-arm64_x86_64-simulator/DavoiceTTS.framework/_CodeSignature/CodeResources +33 -33
- package/package.json +1 -1
|
@@ -32,6 +32,8 @@ public typealias ResumeEngineAfterAudioSessionCycle = () -> Swift.Void
|
|
|
32
32
|
public enum AudioPlaybackHook {
|
|
33
33
|
public static var engineScheduleFile: DavoiceTTS.EngineSchedule?
|
|
34
34
|
public static var engineScheduleFailedAsync: ((Foundation.URL) -> Swift.Void)?
|
|
35
|
+
public static var sttRoutingConfigDidChange: (() -> Swift.Void)?
|
|
36
|
+
public static var stopSpeakingForRoutingChange: (() -> Swift.Void)?
|
|
35
37
|
public static var isEngineReady: DavoiceTTS.IsEngineReady?
|
|
36
38
|
public static var useOnlyEnginePlayback: DavoiceTTS.useOnlyEnginePlayback?
|
|
37
39
|
public static var stopEnginePlayback: DavoiceTTS.StopEnginePlayback?
|
|
Binary file
|
|
@@ -32,6 +32,8 @@ public typealias ResumeEngineAfterAudioSessionCycle = () -> Swift.Void
|
|
|
32
32
|
public enum AudioPlaybackHook {
|
|
33
33
|
public static var engineScheduleFile: DavoiceTTS.EngineSchedule?
|
|
34
34
|
public static var engineScheduleFailedAsync: ((Foundation.URL) -> Swift.Void)?
|
|
35
|
+
public static var sttRoutingConfigDidChange: (() -> Swift.Void)?
|
|
36
|
+
public static var stopSpeakingForRoutingChange: (() -> Swift.Void)?
|
|
35
37
|
public static var isEngineReady: DavoiceTTS.IsEngineReady?
|
|
36
38
|
public static var useOnlyEnginePlayback: DavoiceTTS.useOnlyEnginePlayback?
|
|
37
39
|
public static var stopEnginePlayback: DavoiceTTS.StopEnginePlayback?
|
|
Binary file
|
|
@@ -312,6 +312,11 @@ typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4)));
|
|
|
312
312
|
/// DaVoice prefers this direct config and falls back to the wakeword library’s config.
|
|
313
313
|
SWIFT_CLASS("_TtC10DavoiceTTS25DaVoiceAudioRoutingConfig")
|
|
314
314
|
@interface DaVoiceAudioRoutingConfig : NSObject
|
|
315
|
+
/// Can be called at any time. When the wake-word framework is in the app,
|
|
316
|
+
/// the JSON is also written into wake word’s store, so both libraries always
|
|
317
|
+
/// run on the same config whichever API the app calls (wake word’s setter
|
|
318
|
+
/// then announces the change). Without wake word, the change is announced
|
|
319
|
+
/// here. Either way RoutingConfigChange applies it once, safely.
|
|
315
320
|
+ (BOOL)setAudioRoutingConfigJSONString:(NSString * _Nonnull)json SWIFT_WARN_UNUSED_RESULT;
|
|
316
321
|
+ (void)clearAudioRoutingConfig;
|
|
317
322
|
- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER;
|
|
@@ -351,7 +356,6 @@ SWIFT_CLASS("_TtC10DavoiceTTS10DaVoiceTTS")
|
|
|
351
356
|
- (BOOL)setLicenseWithLicenseKey:(NSString * _Nonnull)licenseKey SWIFT_WARN_UNUSED_RESULT;
|
|
352
357
|
- (void)setUseEuropeanNumberFormat:(BOOL)enabled;
|
|
353
358
|
- (nullable instancetype)initWithModel:(NSURL * _Nonnull)model error:(NSError * _Nullable * _Nullable)error OBJC_DESIGNATED_INITIALIZER;
|
|
354
|
-
/// Immediately stop speaking: cancels future synthesis work and flushes all playback.
|
|
355
359
|
- (void)stopSpeaking;
|
|
356
360
|
/// Destroy the TTS instance resources; after this call, the object should not be used.
|
|
357
361
|
/// Effectively returns the instance to “pre-init” state.
|
|
@@ -770,6 +774,11 @@ typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4)));
|
|
|
770
774
|
/// DaVoice prefers this direct config and falls back to the wakeword library’s config.
|
|
771
775
|
SWIFT_CLASS("_TtC10DavoiceTTS25DaVoiceAudioRoutingConfig")
|
|
772
776
|
@interface DaVoiceAudioRoutingConfig : NSObject
|
|
777
|
+
/// Can be called at any time. When the wake-word framework is in the app,
|
|
778
|
+
/// the JSON is also written into wake word’s store, so both libraries always
|
|
779
|
+
/// run on the same config whichever API the app calls (wake word’s setter
|
|
780
|
+
/// then announces the change). Without wake word, the change is announced
|
|
781
|
+
/// here. Either way RoutingConfigChange applies it once, safely.
|
|
773
782
|
+ (BOOL)setAudioRoutingConfigJSONString:(NSString * _Nonnull)json SWIFT_WARN_UNUSED_RESULT;
|
|
774
783
|
+ (void)clearAudioRoutingConfig;
|
|
775
784
|
- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER;
|
|
@@ -809,7 +818,6 @@ SWIFT_CLASS("_TtC10DavoiceTTS10DaVoiceTTS")
|
|
|
809
818
|
- (BOOL)setLicenseWithLicenseKey:(NSString * _Nonnull)licenseKey SWIFT_WARN_UNUSED_RESULT;
|
|
810
819
|
- (void)setUseEuropeanNumberFormat:(BOOL)enabled;
|
|
811
820
|
- (nullable instancetype)initWithModel:(NSURL * _Nonnull)model error:(NSError * _Nullable * _Nullable)error OBJC_DESIGNATED_INITIALIZER;
|
|
812
|
-
/// Immediately stop speaking: cancels future synthesis work and flushes all playback.
|
|
813
821
|
- (void)stopSpeaking;
|
|
814
822
|
/// Destroy the TTS instance resources; after this call, the object should not be used.
|
|
815
823
|
/// Effectively returns the instance to “pre-init” state.
|