#import "MWMTextToSpeechObserver.h" #import @interface MWMTextToSpeech : NSObject + (MWMTextToSpeech *)tts; - (AVSpeechSynthesisVoice *)voice; + (BOOL)isTTSEnabled; + (void)setTTSEnabled:(BOOL)enabled; + (BOOL)isStreetNamesTTSEnabled; + (void)setStreetNamesTTSEnabled:(BOOL)enabled; + (NSDictionary *)availableLanguages; + (NSString *)selectedLanguage; + (NSString *)savedLanguage; + (NSInteger)speedCameraMode; + (void)setSpeedCameraMode:(NSInteger)speedCameraMode; + (void)playTest; + (void)addObserver:(id)observer; + (void)removeObserver:(id)observer; + (void)applicationDidBecomeActive; @property(nonatomic) BOOL active; - (void)setNotificationsLocale:(NSString *)locale; - (void)playTurnNotifications:(NSArray *)turnNotifications; - (void)playWarningSound; - (void)play:(NSString *)text; - (instancetype)init __attribute__((unavailable("call +tts instead"))); - (instancetype)copy __attribute__((unavailable("call +tts instead"))); - (instancetype)copyWithZone:(NSZone *)zone __attribute__((unavailable("call +tts instead"))); + (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable("call +tts instead"))); + (instancetype) new __attribute__((unavailable("call +tts instead"))); @end