org.robokind.impl.speech
Class PortableSpeechEventList

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

Nested Class Summary
static class PortableSpeechEventList.RemoteSpeechEventListAdapter
          Converts a SpeechEventListRecord to a PortableSpeechEventList
 
Constructor Summary
PortableSpeechEventList(org.robokind.avrogen.speech.SpeechEventListRecord record)
          Creates a new PortableSpeechEventList from the given Record
 
Method Summary
 List<org.robokind.api.speech.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(org.robokind.avrogen.speech.SpeechEventListRecord record)
Creates a new PortableSpeechEventList from the given Record

Parameters:
record - SpeechEventListRecord to wrap
Method Detail

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.