Skip to content

Commit 269635b

Browse files
committed
adds async local tags
1 parent a7cccfc commit 269635b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

speech/cloud-client/src/main/java/com/example/speech/Recognize.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -256,6 +256,7 @@ public static void syncRecognizeGcs(String gcsUri) throws Exception {
256256
}
257257
// [END speech_transcribe_sync_gcs]
258258

259+
// [START speech_transcribe_async]
259260
/**
260261
* Performs non-blocking speech recognition on raw PCM audio and prints the transcription. Note
261262
* that transcription is limited to 60 seconds audio.
@@ -298,6 +299,7 @@ public static void asyncRecognizeFile(String fileName) throws Exception {
298299
}
299300
}
300301
}
302+
// [END speech_transcribe_async]
301303

302304
// [START speech_transcribe_async_time_offsets_gcs]
303305
/**

0 commit comments

Comments
 (0)