com.imiconnect.connect.voice.engine.Voice Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of connect-sdk-java Show documentation
Show all versions of connect-sdk-java Show documentation
IMIConnect platform Java SDK client library.
The newest version!
package com.imiconnect.connect.voice.engine;
import com.imiconnect.connect.voice.engine.azure.AzureVoice;
import com.imiconnect.connect.voice.type.TtsAudio;
/** Definition for a type of voice to be played with a {@link TtsAudio} message. */
public interface Voice {
public enum Engine {
AZURE
}
/** Starts the creation of a new Azure based voice. */
public static AzureVoice.Builder azure() {
return AzureVoice.builder();
}
/** Gets the name of the voice. */
public String getVoice();
/**
* Gets the language of the voice specified as a locale such as en_US for United States
* (English).
*/
public String getLanguage();
/** Gets the voice engine that will handle the TTS content */
public Engine getEngine();
}