This interface defines virtual methods for each of the user-facing overload sets in TextToSpeechClient. This allows users to inject custom behavior (e.g., with a Google Mock object) when writing tests that use objects of type TextToSpeechClient.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-14 UTC."],[[["\u003cp\u003eThis webpage provides documentation for the \u003ccode\u003eTextToSpeechConnection\u003c/code\u003e object, which is used in conjunction with \u003ccode\u003eTextToSpeechClient\u003c/code\u003e for the Google Cloud Text-to-Speech service.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eTextToSpeechConnection\u003c/code\u003e interface defines virtual methods corresponding to the user-facing overload sets found in \u003ccode\u003eTextToSpeechClient\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eUsers can inject custom behavior into \u003ccode\u003eTextToSpeechClient\u003c/code\u003e for testing purposes by leveraging the \u003ccode\u003eTextToSpeechConnection\u003c/code\u003e interface, often with a Google Mock object.\u003c/p\u003e\n"],["\u003cp\u003eThe page lists available versions of the \u003ccode\u003eTextToSpeechConnection\u003c/code\u003e, ranging from the latest release candidate (2.37.0-rc) down to version 2.11.0, along with the functions available.\u003c/p\u003e\n"],["\u003cp\u003eSpecific functions available in \u003ccode\u003eTextToSpeechConnection\u003c/code\u003e include virtual \u003ccode\u003eoptions()\u003c/code\u003e, \u003ccode\u003eListVoices()\u003c/code\u003e, and \u003ccode\u003eSynthesizeSpeech()\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,[]]