| Class | Description |
|---|---|
| SpeechApi |
Service Description: Service that implements Google Cloud Speech API.
|
| SpeechSettings |
Settings class to configure an instance of
SpeechApi. |
| SpeechSettings.Builder |
Builder for SpeechSettings.
|
try (SpeechApi speechApi = SpeechApi.create()) {
RecognitionConfig config = RecognitionConfig.newBuilder().build();
RecognitionAudio audio = RecognitionAudio.newBuilder().build();
SyncRecognizeResponse response = speechApi.syncRecognize(config, audio);
}
Copyright © 2016 Google. All rights reserved.