public class SpeechResults extends Object
| Constructor and Description |
|---|
SpeechResults() |
| Modifier and Type | Method and Description |
|---|---|
int |
getResultIndex()
Gets the result index.
|
List<Transcript> |
getResults()
Gets the results.
|
void |
setResultIndex(int resultIndex)
Sets the result index.
|
void |
setResults(List<Transcript> results)
Sets the results.
|
String |
toString() |
SpeechResults |
withResultIndex(int resultIndex)
With result index.
|
SpeechResults |
withResults(List<Transcript> results)
With results.
|
public List<Transcript> getResults()
public void setResults(List<Transcript> results)
results - The resultspublic SpeechResults withResults(List<Transcript> results)
results - the resultspublic int getResultIndex()
public void setResultIndex(int resultIndex)
resultIndex - The result_indexpublic SpeechResults withResultIndex(int resultIndex)
resultIndex - the result indexCopyright © 2015. All rights reserved.