Files
firebase-js-sdk/docs-devsite/ai.audioconversationcontroller.md

42 lines
1.4 KiB
Markdown

Project: /docs/reference/js/_project.yaml
Book: /docs/reference/_book.yaml
page_type: reference
{% comment %}
DO NOT EDIT THIS FILE!
This is generated by the JS SDK team, and any local changes will be
overwritten. Changes should be made in the source code at
https://github.com/firebase/firebase-js-sdk
{% endcomment %}
# AudioConversationController interface
> 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.
<b>Signature:</b>
```typescript
export interface AudioConversationController
```
## Properties
| Property | Type | Description |
| --- | --- | --- |
| [stop](./ai.audioconversationcontroller.md#audioconversationcontrollerstop) | () =&gt; Promise&lt;void&gt; | <b><i>(Public Preview)</i></b> 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.
<b>Signature:</b>
```typescript
stop: () => Promise<void>;
```