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.

Public

  • Declaration

    Swift

    public var supportedAlphabets: [String]
  • Declaration

    Swift

    public var locale: Locale? { get }
  • Declaration

    Swift

    public weak var delegate: TextToSpeechEngineDelegate? { get set }
  • Declaration

    Swift

    public func isLanguageAvailable(for locale: Locale) -> Bool
  • Declaration

    Swift

    public func play(message: TTSMessage)
  • Declaration

    Swift

    public func stop()
  • Declaration

    Swift

    public func setVolume(_ volume: SpeechVolume)
  • Declaration

    Swift

    public func changeLocale(with locale: Locale)