SynthesisVoicesResult Class
- java.
lang. Object - com.
microsoft. cognitiveservices. speech. SynthesisVoicesResult
- com.
Implements
public class SynthesisVoicesResult
implements java.lang.AutoCloseable
Contains detailed information about the retrieved synthesis voices list. Note: close() must be called in order to release underlying resources held by the object. Added in version 1.16.0
Constructor Summary
Modifier | Constructor | Description |
---|---|---|
protected | SynthesisVoicesResult(IntRef result) |
PROTECTED |
Method Summary
Modifier and Type | Method and Description |
---|---|
void |
close()
Explicitly frees any external resource attached to the object |
java.lang.String |
getErrorDetails()
Gets the error details of the result. |
Safe |
getImpl()
Returns the synthesis result implementation. |
Property |
getProperties()
The set of properties exposed in the result. |
Result |
getReason()
Gets the reason the result was created. |
java.lang.String |
getResultId()
Gets the unique ID of the result. |
java.util.List<Voice |
getVoices()
Gets the retrieved voices list |
Methods inherited from java.lang.Object
Constructor Details
SynthesisVoicesResult
protected SynthesisVoicesResult(IntRef result)
PROTECTED
Parameters:
Method Details
close
public void close()
Explicitly frees any external resource attached to the object
getErrorDetails
public String getErrorDetails()
Gets the error details of the result.
Returns:
getImpl
public SafeHandle getImpl()
Returns the synthesis result implementation.
Returns:
getProperties
public PropertyCollection getProperties()
The set of properties exposed in the result.
Returns:
getReason
public ResultReason getReason()
Gets the reason the result was created.
Returns:
getResultId
public String getResultId()
Gets the unique ID of the result.
Returns:
getVoices
public List
Gets the retrieved voices list
Returns:
Applies to
Azure SDK for Java
Commentaires
https://aka.ms/ContentUserFeedback.
Bientôt disponible : Tout au long de 2024, nous allons supprimer progressivement GitHub Issues comme mécanisme de commentaires pour le contenu et le remplacer par un nouveau système de commentaires. Pour plus d’informations, consultezEnvoyer et afficher des commentaires pour