org.mechio.api.speech.utils
Class NaiveSpeechJobManagerImpl
java.lang.Object
org.mechio.api.speech.utils.NaiveSpeechJobManagerImpl
- All Implemented Interfaces:
- SpeechJobManager
public class NaiveSpeechJobManagerImpl
- extends Object
- implements SpeechJobManager
- Author:
- matt
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NaiveSpeechJobManagerImpl
public NaiveSpeechJobManagerImpl(SpeechService speechProxy)
createSpeechJob
public SpeechJob createSpeechJob(SpeechRequest req)
- Adds text to the speech queue.
- Specified by:
createSpeechJob in interface SpeechJobManager
- Parameters:
text - text to speak
- Returns:
- SpeechJob which represents the speech
cancelSpeechJob
public void cancelSpeechJob(SpeechJob job)
- Specified by:
cancelSpeechJob in interface SpeechJobManager
getRequestIdString
public String getRequestIdString()
- Specified by:
getRequestIdString in interface SpeechJobManager
Copyright © 2011-2015. All Rights Reserved.