Class AVSpeechSynthesizer

All Implemented Interfaces:
NSObjectProtocol, ObjCProtocol

public class AVSpeechSynthesizer
extends NSObject
  • Constructor Details

    • AVSpeechSynthesizer

      public AVSpeechSynthesizer()
    • AVSpeechSynthesizer

      protected AVSpeechSynthesizer​(NSObject.Handle h, long handle)
    • AVSpeechSynthesizer

      protected AVSpeechSynthesizer​(NSObject.SkipInit skipInit)
  • Method Details

    • getDelegate

      public AVSpeechSynthesizerDelegate getDelegate()
    • setDelegate

      public void setDelegate​(AVSpeechSynthesizerDelegate v)
    • isSpeaking

      public boolean isSpeaking()
    • isPaused

      public boolean isPaused()
    • getOutputChannels

      public NSArray<AVAudioSessionChannelDescription> getOutputChannels()
      Since:
      Available in iOS 10.0 and later.
    • setOutputChannels

      public void setOutputChannels​(NSArray<AVAudioSessionChannelDescription> v)
      Since:
      Available in iOS 10.0 and later.
    • usesApplicationAudioSession

      public boolean usesApplicationAudioSession()
      Since:
      Available in iOS 13.0 and later.
    • setUsesApplicationAudioSession

      public void setUsesApplicationAudioSession​(boolean v)
      Since:
      Available in iOS 13.0 and later.
    • isMixToTelephonyUplink

      public boolean isMixToTelephonyUplink()
      Since:
      Available in iOS 13.0 and later.
    • setMixToTelephonyUplink

      public void setMixToTelephonyUplink​(boolean v)
      Since:
      Available in iOS 13.0 and later.
    • enqueueSpeakUtterance

      public void enqueueSpeakUtterance​(AVSpeechUtterance utterance)
    • writeUtterance

      public void writeUtterance​(AVSpeechUtterance utterance, VoidBlock1<AVAudioBuffer> bufferCallback)
      Since:
      Available in iOS 13.0 and later.
    • stopSpeaking

      public boolean stopSpeaking​(AVSpeechBoundary boundary)
    • pauseSpeaking

      public boolean pauseSpeaking​(AVSpeechBoundary boundary)
    • continueSpeaking

      public boolean continueSpeaking()