SsmlSource Class
- java.
lang. Object - com.
azure. communication. callautomation. models. PlaySource - com.
azure. communication. callautomation. models. SsmlSource
- com.
- com.
public final class SsmlSource
extends PlaySource
The SsmlSource model.
Constructor Summary
| Constructor | Description |
|---|---|
| SsmlSource() |
Initializes a new instance of SsmlSource. |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Ssml |
fromJson(JsonReader jsonReader)
Reads an instance of Ssml |
| String |
getCustomVoiceEndpointId()
Get the custom |
| String |
getSsmlText()
Get the ssml |
|
Ssml |
setCustomVoiceEndpointId(String customVoiceEndpointId)
Set the custom |
|
Ssml |
setSsmlText(String ssmlText)
Set the ssml |
|
Json |
toJson(JsonWriter jsonWriter) |
Methods inherited from PlaySource
Methods inherited from java.lang.Object
Constructor Details
SsmlSource
public SsmlSource()
Initializes a new instance of SsmlSource.
Method Details
fromJson
public static SsmlSource fromJson(JsonReader jsonReader)
Reads an instance of SsmlSource from the JsonReader.
Parameters:
Returns:
Throws:
getCustomVoiceEndpointId
public String getCustomVoiceEndpointId()
Get the customVoiceEndpointId property: Endpoint where the custom voice was deployed.
Returns:
getSsmlText
public String getSsmlText()
Get the ssmlText property: Ssml string for the cognitive service to be played.
Returns:
setCustomVoiceEndpointId
public SsmlSource setCustomVoiceEndpointId(String customVoiceEndpointId)
Set the customVoiceEndpointId property: Endpoint where the custom voice was deployed.
Parameters:
Returns:
setSsmlText
public SsmlSource setSsmlText(String ssmlText)
Set the ssmlText property: Ssml string for the cognitive service to be played.
Parameters:
Returns: