Freigeben über


VoiceProfilePhraseResult Class

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

Implements

java.lang.AutoCloseable

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

SafeHandle getImpl()

Returns the voice activation phrase result implementation.

java.util.List<java.lang.String> getPhrases()

Get the activation phrases from the result.

PropertyCollection getProperties()

The set of properties exposed in the result.

ResultReason 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

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 activation phrase result implementation.

Returns:

The implementation of the result.

getPhrases

public List 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.

getReason

public ResultReason getReason()

Specifies status of activation phrase 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 activation phrase result.

Overrides:

VoiceProfilePhraseResult.toString()

Returns:

A String that represents the voice activation phrase result.

Applies to