Interface Voice


  • @NonNullByDefault
    public interface Voice
    This is the interface that a text-to-speech voice has to implement.
    Author:
    Kelly Davis - Initial contribution
    • Method Detail

      • getUID

        String getUID()
        Globally unique identifier of the voice, must have the format "prefix:voicename", where "prefix" is the id of the related TTS service.
        Returns:
        A String uniquely identifying the voice.
      • getLabel

        String getLabel()
        The voice label, usually used for GUIs
        Returns:
        The voice label, may not be globally unique
      • getLocale

        Locale getLocale()
        Locale of the voice
        Returns:
        Locale of the voice