|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.robokind.impl.speech.PortableSpeechRequest
public class PortableSpeechRequest
SpeechRequest implementation wrapping a SpeechRequestRecord.
| Nested Class Summary | |
|---|---|
static class |
PortableSpeechRequest.Factory
|
static class |
PortableSpeechRequest.MessageRecordAdapter
|
static class |
PortableSpeechRequest.RecordMessageAdapter
|
| Constructor Summary | |
|---|---|
PortableSpeechRequest(SpeechRequest req)
Creates a PortableSpeechRequest from another SpeechRequest. |
|
PortableSpeechRequest(SpeechRequestRecord record)
Creates a new PortableSpeechRequest from the given Record. |
|
PortableSpeechRequest(String speechServiceId,
String requestSourceId,
long timestampMillisecUTC,
String phrase)
Creates a new PortableSpeechRequest. |
|
| Method Summary | |
|---|---|
String |
getPhrase()
|
SpeechRequestRecord |
getRecord()
Returns the underlying SpeechRequestRecord. |
String |
getRequestSourceId()
|
String |
getSpeechServiceId()
|
long |
getTimestampMillisecUTC()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PortableSpeechRequest(SpeechRequestRecord record)
record - SpeechRequestRecord to wrap
public PortableSpeechRequest(String speechServiceId,
String requestSourceId,
long timestampMillisecUTC,
String phrase)
speechServiceId - id String of the SpeechServicerequestSourceId - id String of the SpeechRequest sourcetimestampMillisecUTC - speech request timestampphrase - public PortableSpeechRequest(SpeechRequest req)
req - SpeechRequest to copy| Method Detail |
|---|
public SpeechRequestRecord getRecord()
public String getSpeechServiceId()
getSpeechServiceId in interface SpeechRequestpublic String getRequestSourceId()
getRequestSourceId in interface SpeechRequestpublic long getTimestampMillisecUTC()
getTimestampMillisecUTC in interface SpeechRequestpublic String getPhrase()
getPhrase in interface SpeechRequest
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||