SystemTextToSpeechEngine
public class SystemTextToSpeechEngine : NSObject, TextToSpeechEngine
extension SystemTextToSpeechEngine: AVSpeechSynthesizerDelegate
Important
This is a Public Preview API. It may be changed or removed at any time.-
Declaration
Swift
public var supportedAlphabets: [String]
-
Declaration
Swift
public var currentVoiceLanguage: String? { get }
-
Declaration
Swift
public weak var delegate: TextToSpeechEngineDelegate? { get set }
-
Declaration
Swift
public func isLanguageAvailable(_ language: String) -> Bool
-
Declaration
Swift
public func play(message: TTSMessage)
-
Declaration
Swift
public func stop()
-
Declaration
Swift
public func setVolume(_ volume: SpeechVolume)
-
Declaration
Swift
public func changeLanguage(languageCode: String)