Class Info |
|---|
public class VoiceRequest extends BaseRequestVO TTS request class. |
Qualifier and Type | Method Name and Description |
|---|---|
void | setCountryCode(String countryCode) Sets the country code. |
void | setFirstLanguage(String firstLanguage) Sets the voice language. |
void | setGender(Integer gender) Sets the gender of the voice broadcast speaker. |
void | setGrsDomain(String grsDomain) Sets the GRS domain name. |
void | setLanguage(String language) Sets the basic language. |
void | setMobileType(String mobileType) Sets the mobile phone type. |
void | setTone(int tone) Sets the voice timbre. |
void | setVoiceText(String voiceText) Sets the voice text. |
String | toString() Obtains the request information character string. |
Method |
|---|
public void setCountryCode(String countryCode) Sets the country code. |
Parameters
Name | Description |
|---|---|
countryCode | Country code. |
Method |
|---|
public void setFirstLanguage(String firstLanguage) Sets the voice language. |
Parameters
Name | Description |
|---|---|
firstLanguage | Voice language. |
Method |
|---|
public void setGender(Integer gender) Sets the gender of the voice broadcast speaker. |
Parameters
Name | Description |
|---|---|
gender | Gender of the voice broadcast speaker.
|
Method |
|---|
public void setGrsDomain(String grsDomain) Sets the GRS domain name. |
Parameters
Name | Description |
|---|---|
grsDomain | GRS domain name. |
Method |
|---|
public void setLanguage(String language) Sets the basic language. |
Parameters
Name | Description |
|---|---|
language | Basic language. |
Method |
|---|
public void setMobileType(String mobileType) Sets the mobile phone type. |
Parameters
Name | Description |
|---|---|
mobileType | Mobile phone type.
|
Method |
|---|
public void setTone(int tone) Sets the voice timbre. |
Parameters
Name | Description |
|---|---|
tone | Voice timbre. If a voice timbre is set, the gender setting does not take effect.
|