public class RecognitionCallback extends GenericModel
SpeechToText.registerCallback(String, String)
to register a callback URL to be notified by the
service of the recognition status and, optionally, the results automatically.Modifier and Type | Class and Description |
---|---|
static class |
RecognitionCallback.Status
Register Callback Status.
|
Constructor and Description |
---|
RecognitionCallback() |
Modifier and Type | Method and Description |
---|---|
RecognitionCallback.Status |
getStatus()
Gets the status.
|
java.lang.String |
getUrl()
Gets the url.
|
void |
setStatus(RecognitionCallback.Status status)
Sets the status.
|
void |
setUrl(java.lang.String url)
Sets the url.
|
equals, hashCode, toString
public RecognitionCallback.Status getStatus()
public void setStatus(RecognitionCallback.Status status)
status
- the new statuspublic java.lang.String getUrl()
public void setUrl(java.lang.String url)
url
- the new url