public class Voice extends Object
| Modifier and Type | Field and Description |
|---|---|
static Voice |
EN_ALLISON |
static Voice |
EN_LISA |
static Voice |
EN_MICHAEL |
static Voice |
ES_ENRIQUE |
| Constructor and Description |
|---|
Voice()
Instantiates a new voice.
|
Voice(String name,
String gender,
String language)
Instantiates a new voice.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getGender()
Gets the gender.
|
String |
getLanguage()
Gets the language.
|
String |
getName()
Gets the name.
|
String |
getUrl()
Gets the url.
|
void |
setGender(String gender)
Sets the gender.
|
void |
setLanguage(String language)
Sets the language.
|
void |
setName(String name)
Sets the name.
|
void |
setUrl(String url)
Sets the url.
|
String |
toString() |
public static final Voice ES_ENRIQUE
public static final Voice EN_MICHAEL
public static final Voice EN_LISA
public static final Voice EN_ALLISON
public String getName()
public void setName(String name)
name - the new namepublic String getLanguage()
public void setLanguage(String language)
language - the new languagepublic String getGender()
public void setGender(String gender)
gender - the new genderpublic String getUrl()
public void setUrl(String url)
url - the new urlCopyright © 2015. All rights reserved.