|
|||||||||
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.
Constructor Summary | |
---|---|
PortableSpeechRequest(org.robokind.api.speech.SpeechRequest req)
Creates a PortableSpeechRequest from another SpeechRequest. |
|
PortableSpeechRequest(org.robokind.avrogen.speech.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()
|
org.robokind.avrogen.speech.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(org.robokind.avrogen.speech.SpeechRequestRecord record)
record
- SpeechRequestRecord to wrappublic 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(org.robokind.api.speech.SpeechRequest req)
req
- SpeechRequest to copyMethod Detail |
---|
public org.robokind.avrogen.speech.SpeechRequestRecord getRecord()
public String getSpeechServiceId()
getSpeechServiceId
in interface org.robokind.api.speech.SpeechRequest
public String getRequestSourceId()
getRequestSourceId
in interface org.robokind.api.speech.SpeechRequest
public long getTimestampMillisecUTC()
getTimestampMillisecUTC
in interface org.robokind.api.speech.SpeechRequest
public String getPhrase()
getPhrase
in interface org.robokind.api.speech.SpeechRequest
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |