Aracılığıyla paylaş


SpeechRecognitionResult Class

public class SpeechRecognitionResult
extends RecognitionResult

Defines result of speech recognition.

Constructor Summary

Modifier Constructor Description
protected SpeechRecognitionResult(long resultHandle)

Internal constructor for creating a SpeechRecognitionResult from a native handle.

Method Summary

Modifier and Type Method and Description
void close()

Explicitly frees any external resource attached to the object

java.lang.String toString()

Returns a String that represents the speech recognition result.

Methods inherited from RecognitionResult

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

Constructor Details

SpeechRecognitionResult

protected SpeechRecognitionResult(long resultHandle)

Internal constructor for creating a SpeechRecognitionResult from a native handle.

Parameters:

resultHandle - The native handle.

Method Details

close

public void close()

Explicitly frees any external resource attached to the object

Overrides:

SpeechRecognitionResult.close()

toString

public String toString()

Returns a String that represents the speech recognition result.

Overrides:

SpeechRecognitionResult.toString()

Returns:

A String that represents the speech recognition result.

Applies to