org.robokind.impl.speech
Class PortableSpeechEventList
java.lang.Object
org.robokind.impl.speech.PortableSpeechEventList
- All Implemented Interfaces:
- org.robokind.api.speech.SpeechEventList
public class PortableSpeechEventList
- extends Object
- implements org.robokind.api.speech.SpeechEventList
SpeechEventList implementation wrapping a SpeechEventListRecord.
Converts the SpeechEventsRecords to a List of PortableSpeechEvents.
- Author:
- Matthew Stevenson
Constructor Summary |
PortableSpeechEventList(org.robokind.avrogen.speech.SpeechEventListRecord record)
Creates a new PortableSpeechEventList from the given Record |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PortableSpeechEventList
public PortableSpeechEventList(org.robokind.avrogen.speech.SpeechEventListRecord record)
- Creates a new PortableSpeechEventList from the given Record
- Parameters:
record
- SpeechEventListRecord to wrap
getSpeechServiceId
public String getSpeechServiceId()
- Specified by:
getSpeechServiceId
in interface org.robokind.api.speech.SpeechEventList
getTimestampMillisecUTC
public long getTimestampMillisecUTC()
- Specified by:
getTimestampMillisecUTC
in interface org.robokind.api.speech.SpeechEventList
getSpeechEvents
public List<org.robokind.api.speech.SpeechEvent> getSpeechEvents()
- Specified by:
getSpeechEvents
in interface org.robokind.api.speech.SpeechEventList
Copyright © 2011. All Rights Reserved.