Class AVSpeechUtterance

All Implemented Interfaces:
NSCoding, NSObjectProtocol, NSSecureCoding, ObjCProtocol

public class AVSpeechUtterance
extends NSObject
implements NSSecureCoding
  • Constructor Details

    • AVSpeechUtterance

      public AVSpeechUtterance()
    • AVSpeechUtterance

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

      protected AVSpeechUtterance​(NSObject.SkipInit skipInit)
    • AVSpeechUtterance

      public AVSpeechUtterance​(String string)
    • AVSpeechUtterance

      public AVSpeechUtterance​(NSAttributedString string)
      Since:
      Available in iOS 10.0 and later.
    • AVSpeechUtterance

      public AVSpeechUtterance​(NSCoder coder)
  • Method Details

    • getVoice

      public AVSpeechSynthesisVoice getVoice()
    • setVoice

      public void setVoice​(AVSpeechSynthesisVoice v)
    • getSpeechString

      public String getSpeechString()
    • getAttributedSpeechString

      public NSAttributedString getAttributedSpeechString()
      Since:
      Available in iOS 10.0 and later.
    • getRate

      public float getRate()
    • setRate

      public void setRate​(float v)
    • getPitchMultiplier

      public float getPitchMultiplier()
    • setPitchMultiplier

      public void setPitchMultiplier​(float v)
    • getVolume

      public float getVolume()
    • setVolume

      public void setVolume​(float v)
    • prefersAssistiveTechnologySettings

      public boolean prefersAssistiveTechnologySettings()
      Since:
      Available in iOS 14.0 and later.
    • setPrefersAssistiveTechnologySettings

      public void setPrefersAssistiveTechnologySettings​(boolean v)
      Since:
      Available in iOS 14.0 and later.
    • getPreUtteranceDelay

      public double getPreUtteranceDelay()
    • setPreUtteranceDelay

      public void setPreUtteranceDelay​(double v)
    • getPostUtteranceDelay

      public double getPostUtteranceDelay()
    • setPostUtteranceDelay

      public void setPostUtteranceDelay​(double v)
    • supportsSecureCoding

      public static boolean supportsSecureCoding()
    • getMinimumSpeechRate

      public static float getMinimumSpeechRate()
    • getMaximumSpeechRate

      public static float getMaximumSpeechRate()
    • getDefaultSpeechRate

      public static float getDefaultSpeechRate()
    • init

      protected long init​(String string)
    • init

      protected long init​(NSAttributedString string)
      Since:
      Available in iOS 10.0 and later.
    • encode

      public void encode​(NSCoder coder)
      Specified by:
      encode in interface NSCoding
    • init

      protected long init​(NSCoder coder)