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