| Modifier and Type | Field and Description |
|---|---|
static int |
CANCELED
The speech job has been canceled.
|
static int |
COMPLETE
The robot has finished speaking.
|
static int |
PENDING
Waiting for robot to begin speaking.
|
static int |
RUNNING
The robot is speaking.
|
| Modifier and Type | Method and Description |
|---|---|
void |
cancel()
Stops the speech.
|
long |
getSpeechJobId()
Returns a unique id for this SpeechJob.
|
String |
getSpeechText()
Returns the text being spoken.
|
long |
getStartTime()
Returns the time the speech was queued.
|
int |
getStatus()
Returns the current status of the speech job.
|
void |
setStatus(int status) |
addListener, notifyListeners, removeListenerpublic static final int PENDING
public static final int RUNNING
public static final int COMPLETE
public static final int CANCELED
public long getSpeechJobId()
getSpeechJobId in interface SpeechJobpublic String getSpeechText()
getSpeechText in interface SpeechJobpublic long getStartTime()
getStartTime in interface SpeechJobpublic int getStatus()
Copyright © 2011-2014. All Rights Reserved.