SpeechRecognitionResult Class
- java.
lang. Object - com.
microsoft. cognitiveservices. speech. RecognitionResult - com.
microsoft. cognitiveservices. speech. SpeechRecognitionResult
- com.
- com.
public class SpeechRecognitionResult
extends RecognitionResult
Defines result of speech recognition.
Constructor Summary
Modifier | Constructor | Description |
---|---|---|
protected | SpeechRecognitionResult(long resultHandle) |
Internal constructor for creating a Speech |
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
GitHub에서 Microsoft와 공동 작업
이 콘텐츠의 원본은 GitHub에서 찾을 수 있으며, 여기서 문제와 끌어오기 요청을 만들고 검토할 수도 있습니다. 자세한 내용은 참여자 가이드를 참조하세요.
Azure SDK for Java