Manager of voice packages for guided navigation and warnings. Can be used to install, uninstall or select current voice packages on the device. More...
#import <SYVoiceCatalog.h>
Instance Methods | |
((unavailable("Use +[SYVoiceCatalog sharedVoiceCatalog] instead.") | - __attribute__ |
SYAudioManager is singleton, use [SYAudioManager sharedAudioManager] to access singleton instance. More... | |
(nullable SYTask *) | - getAvailableVoicePackagesWithCompletion: |
Requests collection of available SYVoicePackage. Collection includes installed voice packages and packages available to install from server. There no voice packages installed by default, you have to download them. There are just system supported TTS voices. More... | |
(nullable SYTask *) | - getInstalledPackagesWithCompletion: |
Gets collection of currently installed voice packages and system voices. More... | |
(nullable SYTask *) | - installVoicePackage: |
Downloads and installs a SYVoicePackage to the device. Requests installation of SYVoicePackage. More... | |
(nullable SYTask *) | - uninstallVoicePackage: |
Delete a particular SYVoicePackage from the device. Requests uninstallation of SYVoicePackage. More... | |
(void) | - setCurrentVoice: |
Sets voice used for voice guided navigation and warnings. More... | |
(void) | - playSample: |
Play sample of selected voice package. Adds sample to SYAudioManager play queue. To play sample immediately, stop SYAudioManager queue by calling [SYAudioManager stopOutputAndClearQueue]. More... | |
Class Methods | |
(nonnull SYVoiceCatalog *) | + sharedVoiceCatalog |
Returns SYVoiceCatalog singleton instance. More... | |
((unavailable("Use +[SYVoiceCatalog sharedVoiceCatalog] instead.") | + __attribute__ |
Properties | |
id< SYVoiceCatalogDelegate > | delegate |
Current SYVoiceCatalogDelegate. More... | |
Manager of voice packages for guided navigation and warnings. Can be used to install, uninstall or select current voice packages on the device.
+ (nonnull SYVoiceCatalog*) sharedVoiceCatalog |
Returns SYVoiceCatalog singleton instance.
- ((unavailable("Use +[SYVoiceCatalog sharedVoiceCatalog] instead.") __attribute__ |
SYAudioManager is singleton, use [SYAudioManager sharedAudioManager] to access singleton instance.
+ ((unavailable("Use +[SYVoiceCatalog sharedVoiceCatalog] instead.") __attribute__ |
- (nullable SYTask*) getAvailableVoicePackagesWithCompletion: | (nonnull void(^)(SYTask *_Nonnull, NSArray< SYVoicePackage * > *_Nonnull)) | completion |
Requests collection of available SYVoicePackage. Collection includes installed voice packages and packages available to install from server. There no voice packages installed by default, you have to download them. There are just system supported TTS voices.
completion | Completion block containing NSArray of available voice packages. |
- (nullable SYTask*) getInstalledPackagesWithCompletion: | (nonnull void(^)(SYTask *_Nonnull, NSArray< SYVoicePackage * > *_Nonnull)) | completion |
Gets collection of currently installed voice packages and system voices.
completion | Completion block containing NSArray of installed voice packages. |
- (nullable SYTask*) installVoicePackage: | (nonnull SYVoicePackage *) | package |
Downloads and installs a SYVoicePackage to the device. Requests installation of SYVoicePackage.
package | Package to be installed. |
- (nullable SYTask*) uninstallVoicePackage: | (nonnull SYVoicePackage *) | package |
Delete a particular SYVoicePackage from the device. Requests uninstallation of SYVoicePackage.
package | Package to be uninstalled. |
- (void) setCurrentVoice: | (nonnull SYVoicePackage *) | voice |
Sets voice used for voice guided navigation and warnings.
voice | SYVoicePackage to be used. |
- (void) playSample: | (nonnull SYVoicePackage *) | voice |
Play sample of selected voice package. Adds sample to SYAudioManager play queue. To play sample immediately, stop SYAudioManager queue by calling [SYAudioManager stopOutputAndClearQueue].
voice | SYVoicePackage to be used. |
|
readwritenonatomicassign |
Current SYVoiceCatalogDelegate.