public class Speech.SpeechOperations
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
class |
Speech.SpeechOperations.Longrunningrecognize |
class |
Speech.SpeechOperations.Recognize |
Constructor and Description |
---|
SpeechOperations() |
Modifier and Type | Method and Description |
---|---|
Speech.SpeechOperations.Longrunningrecognize |
longrunningrecognize(LongRunningRecognizeRequest content)
Performs asynchronous speech recognition: receive results via the google.longrunning.Operations
interface.
|
Speech.SpeechOperations.Recognize |
recognize(RecognizeRequest content)
Performs synchronous speech recognition: receive results after all audio has been sent and
processed.
|
public Speech.SpeechOperations.Longrunningrecognize longrunningrecognize(LongRunningRecognizeRequest content) throws java.io.IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote
operation.content
- the LongRunningRecognizeRequest
java.io.IOException
public Speech.SpeechOperations.Recognize recognize(RecognizeRequest content) throws java.io.IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.content
- the RecognizeRequest
java.io.IOException