public class SpeechResults extends GenericModel
Constructor and Description |
---|
SpeechResults() |
Modifier and Type | Method and Description |
---|---|
int |
getResultIndex()
Gets the result index.
|
List<Transcript> |
getResults()
Gets the results.
|
boolean |
isFinal()
Returns
true if the results are final. |
void |
setResultIndex(int resultIndex)
Sets the result index.
|
void |
setResults(List<Transcript> results)
Sets the results.
|
equals, hashCode, toString
public int getResultIndex()
public List<Transcript> getResults()
public boolean isFinal()
true
if the results are final.public void setResultIndex(int resultIndex)
resultIndex
- The result_indexpublic void setResults(List<Transcript> results)
results
- The resultsCopyright © 2015–2016 IBM Watson. All rights reserved.