public class NvSpeechServiceClient extends java.lang.Object implements SpeechServiceClient
| Constructor and Description |
|---|
NvSpeechServiceClient() |
| Modifier and Type | Method and Description |
|---|---|
void |
awaitEnd() |
java.util.concurrent.CountDownLatch |
getEndLatch() |
MessageSender |
start(SpeechServiceConfig config,
MessageReceiver receiver) |
void |
stop() |
public MessageSender start(SpeechServiceConfig config, MessageReceiver receiver) throws java.lang.Exception
start in interface SpeechServiceClientjava.lang.Exceptionpublic void stop()
stop in interface SpeechServiceClientpublic void awaitEnd()
throws java.lang.InterruptedException
awaitEnd in interface SpeechServiceClientjava.lang.InterruptedExceptionpublic java.util.concurrent.CountDownLatch getEndLatch()
getEndLatch in interface SpeechServiceClient