Class AVSpeechSynthesisVoiceTraits


  • public final class AVSpeechSynthesisVoiceTraits
    extends java.lang.Object
    API-Since: 17.0
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static long IsNoveltyVoice
      The voice is generally for novelty purposes, for example a character's voice in a game.
      static long IsPersonalVoice
      The voice is was generated by, and belongs to the user.
      static long None
      API-Since: 17.0
    • Method Summary

      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • IsNoveltyVoice

        public static final long IsNoveltyVoice
        The voice is generally for novelty purposes, for example a character's voice in a game. API-Since: 17.0
        See Also:
        Constant Field Values
      • IsPersonalVoice

        public static final long IsPersonalVoice
        The voice is was generated by, and belongs to the user. Voices with this trait will only be avilable when AVSpeechSynthesizer.personalVoiceAuthorizationStatus is AVSpeechSynthesisPersonalVoiceAuthorizationStatusAuthorized API-Since: 17.0
        See Also:
        Constant Field Values