VoiceProfilePhraseResult Class
- java.
lang. Object - com.
microsoft. cognitiveservices. speech. speaker. VoiceProfilePhraseResult
- com.
Implements
public final class VoiceProfilePhraseResult
implements java.lang.AutoCloseable
Defines result of voice profile activation phrase request.
Method Summary
Modifier and Type | Method and Description |
---|---|
void |
close()
Explicitly frees any external resource attached to the object |
Safe |
getImpl()
Returns the voice activation phrase result implementation. |
java.util.List<java.lang.String> |
getPhrases()
Get the activation phrases from the result. |
Property |
getProperties()
The set of properties exposed in the result. |
Result |
getReason()
Specifies status of activation phrase result. |
java.lang.String |
getResultId()
Presents the result identifier. |
java.lang.String |
toString()
Returns a String that represents the voice activation phrase result. |
Methods inherited from java.lang.Object
Method Details
close
public void close()
Explicitly frees any external resource attached to the object
getImpl
public SafeHandle getImpl()
Returns the voice activation phrase result implementation.
Returns:
getPhrases
public List
Get the activation phrases from the result.
Returns:
getProperties
public PropertyCollection getProperties()
The set of properties exposed in the result.
Returns:
getReason
public ResultReason getReason()
Specifies status of activation phrase result.
Returns:
getResultId
public String getResultId()
Presents the result identifier.
Returns:
toString
public String toString()
Returns a String that represents the voice activation phrase result.
Overrides:
VoiceProfilePhraseResult.toString()Returns: