> For the complete documentation index, see [llms.txt](https://docs.wisej.com/hybrid/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.wisej.com/hybrid/start/api/speech/wisej.hybrid.devicespeech.md).

# DeviceSpeech

Namespace: **Wisej.Hybrid**

Assembly: **Wisej.Hybrid** (3.5.0.0)

Provides methods for interacting with the device's speech module, allowing text-to-speech functionality.

{% tabs %}
{% tab title="C#" %}

```csharp
public class DeviceSpeech
```

{% endtab %}

{% tab title="VB.NET" %}

```visual-basic
Public Class DeviceSpeech
```

{% endtab %}
{% endtabs %}

Access this class through the [Device](/hybrid/start/api/general/wisej.hybrid.device.md) singleton.

## Constructors

### ![](/files/CCV9PPenlC1YZvNh1I6R)DeviceSpeech()

Initializes a new instance of [DeviceSpeech](/hybrid/start/api/speech/wisej.hybrid.devicespeech.md).

## Methods

### ![](/files/CCV9PPenlC1YZvNh1I6R)Speak(text, options)

Speaks the provided text on the client device using text-to-speech.

| Parameter                                    | Type                                                                                  | Description                                             |
| -------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------- |
| **text**                                     | [String](https://docs.microsoft.com/dotnet/api/system.string)                         | The text to be spoken.                                  |
| **options** ![](/files/hKoZkt511VItWvI9RDIT) | [SpeechOptions](/hybrid/start/api/speech/wisej.hybrid.shared.speech.speechoptions.md) | Optional speech options to customize the speech output. |


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.wisej.com/hybrid/start/api/speech/wisej.hybrid.devicespeech.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
