This interface defines virtual methods for each of the user-facing overload sets in SpeechClient. This allows users to inject custom behavior (e.g., with a Google Mock object) when writing tests that use objects of type SpeechClient.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-03-14 UTC."],[[["This document outlines the `SpeechConnection` object for `SpeechClient`, which provides an interface for injecting custom behaviors in tests."],["The latest version of the `SpeechConnection` API is 2.37.0-rc, and there are multiple previous versions available, all the way back to 2.11.0."],["`SpeechConnection` defines virtual methods corresponding to user-facing overload sets in `SpeechClient`, such as `Recognize`, `LongRunningRecognize`, and `AsyncStreamingRecognize`."],["To use a concrete implementation of `SpeechConnection`, the `MakeSpeechConnection()` method can be used, and for testing, the `MockSpeechConnection` is recommended."]]],[]]