AudioConversationController interface
Stay organized with collections
Save and categorize content based on your preferences.
This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
A controller for managing an active audio conversation.
Signature:
export interface AudioConversationController
Properties
Property |
Type |
Description |
stop |
() => Promise<void> |
(Public Preview) Stops the audio conversation, closes the microphone connection, and cleans up resources. Returns a promise that resolves when cleanup is complete. |
AudioConversationController.stop
This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
Stops the audio conversation, closes the microphone connection, and cleans up resources. Returns a promise that resolves when cleanup is complete.
Signature:
stop: () => Promise<void>;
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-08-28 UTC.
[null,null,["Last updated 2025-08-28 UTC."],[],[],null,["\u003e This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.\n\nA controller for managing an active audio conversation.\n\n**Signature:** \n\n export interface AudioConversationController \n\nProperties\n\n| Property | Type | Description |\n|-----------------------------------------------------------------------------|------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [stop](./ai.audioconversationcontroller.md#audioconversationcontrollerstop) | () =\\\u003e Promise\\\u003cvoid\\\u003e | ***(Public Preview)*** Stops the audio conversation, closes the microphone connection, and cleans up resources. Returns a promise that resolves when cleanup is complete. |\n\nAudioConversationController.stop This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.\n\nStops the audio conversation, closes the microphone connection, and cleans up resources. Returns a promise that resolves when cleanup is complete.\n\n**Signature:** \n\n stop: () =\u003e Promise\u003cvoid\u003e;"]]