Class VoiceProfilePhraseResult
- java.lang.Object
-
- com.microsoft.cognitiveservices.speech.speaker.VoiceProfilePhraseResult
-
- All Implemented Interfaces:
AutoCloseable
public final class VoiceProfilePhraseResult extends Object implements AutoCloseable
Defines result of voice profile activation phrase request.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()Explicitly frees any external resource attached to the objectSafeHandlegetImpl()Returns the voice activation phrase result implementation.List<String>getPhrases()Get the activation phrases from the result.PropertyCollectiongetProperties()The set of properties exposed in the result.ResultReasongetReason()Specifies status of activation phrase result.StringgetResultId()Presents the result identifier.StringtoString()Returns a String that represents the voice activation phrase result.
-
-
-
Method Detail
-
getResultId
public String getResultId()
Presents the result identifier.- Returns:
- The result identifier.
-
getReason
public ResultReason getReason()
Specifies status of activation phrase result.- Returns:
- The reason of the result.
-
getPhrases
public List<String> getPhrases()
Get the activation phrases from the result.- Returns:
- The activation phrases.
-
getProperties
public PropertyCollection getProperties()
The set of properties exposed in the result.- Returns:
- The set of properties exposed in the result.
-
close
public void close()
Explicitly frees any external resource attached to the object- Specified by:
closein interfaceAutoCloseable
-
toString
public String toString()
Returns a String that represents the voice activation phrase result.
-
getImpl
public SafeHandle getImpl()
Returns the voice activation phrase result implementation.- Returns:
- The implementation of the result.
-
-