Class VoiceProfileResult
- java.lang.Object
-
- com.microsoft.cognitiveservices.speech.speaker.VoiceProfileResult
-
- All Implemented Interfaces:
AutoCloseable
public final class VoiceProfileResult extends Object implements AutoCloseable
Defines result of processing a voice profile.
-
-
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 profile result implementation.PropertyCollectiongetProperties()The set of properties exposed in the result.ResultReasongetReason()Specifies the reason of voice profile result.StringgetResultId()Presents the result identifier.StringtoString()Returns a String that represents the voice profile result.
-
-
-
Method Detail
-
getResultId
public String getResultId()
Presents the result identifier.- Returns:
- The result identifier.
-
getReason
public ResultReason getReason()
Specifies the reason of voice profile result.- Returns:
- The reason of the result.
-
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 profile result.
-
getImpl
public SafeHandle getImpl()
Returns the voice profile result implementation.- Returns:
- The implementation of the result.
-
-