org.robokind.impl.speech
Class PortableSpeechEventList

java.lang.Object
  extended by 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

Nested Class Summary
static class PortableSpeechEventList.MessageRecordAdapter
           
static class PortableSpeechEventList.RecordMessageAdapter
           
 
Constructor Summary
PortableSpeechEventList(SpeechEventList eventList)
           
PortableSpeechEventList(SpeechEventListRecord record)
          Creates a new PortableSpeechEventList from the given Record
 
Method Summary
 SpeechEventListRecord getRecord()
           
 List<SpeechEvent> getSpeechEvents()
           
 String getSpeechServiceId()
           
 long getTimestampMillisecUTC()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PortableSpeechEventList

public PortableSpeechEventList(SpeechEventListRecord record)
Creates a new PortableSpeechEventList from the given Record

Parameters:
record - SpeechEventListRecord to wrap

PortableSpeechEventList

public PortableSpeechEventList(SpeechEventList eventList)
Method Detail

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.