@Generated(value="org.realityforge.webtack")
@JsType(isNative=true,
namespace="<global>",
name="Object")
public class SpeechRecognitionAlternative
extends java.lang.Object
| Modifier | Constructor and Description |
|---|---|
protected |
SpeechRecognitionAlternative() |
| Modifier and Type | Method and Description |
|---|---|
float |
confidence()
The confidence read-only property of the SpeechRecognitionResult interface returns a numeric estimate of how confident the speech recognition system is that the recognition is correct.
|
java.lang.String |
transcript()
The transcript read-only property of the SpeechRecognitionResult interface returns a string containing the transcript of the recognised word(s).
|
@JsProperty(name="confidence") public float confidence()
@JsProperty(name="transcript") @Nonnull public java.lang.String transcript()