VoiceProfileResult Class

  • java.lang.Object
    • com.microsoft.cognitiveservices.speech.speaker.VoiceProfileResult

Implements

java.lang.AutoCloseable

public final class VoiceProfileResult
implements java.lang.AutoCloseable

Defines result of processing a voice profile.

Method Summary

Modifier and Type Method and Description
void close()

Explicitly frees any external resource attached to the object

SafeHandle getImpl()

Returns the voice profile result implementation.

PropertyCollection getProperties()

The set of properties exposed in the result.

ResultReason getReason()

Specifies the reason of voice profile result.

java.lang.String getResultId()

Presents the result identifier.

java.lang.String toString()

Returns a String that represents the voice profile result.

Methods inherited from java.lang.Object

java.lang.Object.clone java.lang.Object.equals java.lang.Object.finalize java.lang.Object.getClass java.lang.Object.hashCode java.lang.Object.notify java.lang.Object.notifyAll java.lang.Object.toString java.lang.Object.wait java.lang.Object.wait java.lang.Object.wait

Method Details

close

public void close()

Explicitly frees any external resource attached to the object

getImpl

public SafeHandle getImpl()

Returns the voice profile result implementation.

Returns:

The implementation of the result.

getProperties

public PropertyCollection getProperties()

The set of properties exposed in the result.

Returns:

The set of properties exposed in the result.

getReason

public ResultReason getReason()

Specifies the reason of voice profile result.

Returns:

The reason of the result.

getResultId

public String getResultId()

Presents the result identifier.

Returns:

The result identifier.

toString

public String toString()

Returns a String that represents the voice profile result.

Overrides:

VoiceProfileResult.toString()

Returns:

A String that represents the voice profile result.

Applies to