org.robokind.impl.speech
Class PortableSpeechConfig

java.lang.Object
  extended by org.robokind.impl.speech.PortableSpeechConfig
All Implemented Interfaces:
SpeechConfig

public class PortableSpeechConfig
extends Object
implements SpeechConfig

Author:
Matthew Stevenson

Nested Class Summary
static class PortableSpeechConfig.MessageRecordAdapter
           
static class PortableSpeechConfig.RecordMessageAdapter
           
 
Constructor Summary
PortableSpeechConfig(SpeechConfig config)
           
PortableSpeechConfig(SpeechConfigRecord record)
           
PortableSpeechConfig(String speechServiceId, String configSourceId, String voiceName, double sampleRate)
           
 
Method Summary
 String getConfigSourceId()
           
 SpeechConfigRecord getRecord()
           
 double getSampleRate()
           
 String getSpeechServiceId()
           
 String getVoiceName()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PortableSpeechConfig

public PortableSpeechConfig(SpeechConfigRecord record)

PortableSpeechConfig

public PortableSpeechConfig(SpeechConfig config)

PortableSpeechConfig

public PortableSpeechConfig(String speechServiceId,
                            String configSourceId,
                            String voiceName,
                            double sampleRate)
Method Detail

getSpeechServiceId

public String getSpeechServiceId()
Specified by:
getSpeechServiceId in interface SpeechConfig

getConfigSourceId

public String getConfigSourceId()
Specified by:
getConfigSourceId in interface SpeechConfig

getVoiceName

public String getVoiceName()
Specified by:
getVoiceName in interface SpeechConfig

getSampleRate

public double getSampleRate()
Specified by:
getSampleRate in interface SpeechConfig

getRecord

public SpeechConfigRecord getRecord()


Copyright © 2011-2012. All Rights Reserved.