Package org.openhab.core.voice.tts
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 Summary
-
Method Details
-
getUID
String getUID()Globally unique identifier of the voice.Must have the format
prefix:voicename, whereprefixis 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 unique.
-
getLocale
Locale getLocale()Locale of the voice- Returns:
- Locale of the voice
-