> ## Documentation Index
> Fetch the complete documentation index at: https://devdocs.xbox.com/llms.txt
> Use this file to discover all available pages before exploring further.

# XSpeechToTextType

> XSpeechToTextType

# XSpeechToTextType

Especifica el tipo de origen del texto que representa el juego.

## Sintaxis

```cpp theme={null}
enum class XSpeechToTextType  : uint32_t  
{  
    Voice = 0,  
    Text = 1  
}  
```

## Constantes

| Constante | Descripción                                                                                                                                                                                           |
| --------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Voice     | El origen del texto son los subtítulos de voz del juego o el chat de voz del juego transcrito. Si se especifica Voice, el título del juego muestra un icono de micrófono junto al texto representado. |
| Text      | El origen del texto es la lectura de texto del juego o el chat de texto del juego. Si se especifica Text, el título del juego muestra un icono de teclado junto al texto representado.                |

## Comentarios

Puede mostrar texto en la pantalla del título del juego llamando a la función [XSpeechToTextSendString](/reference/system/xaccessibility/functions/xspeechtotextsendstring).

La función [XSpeechToTextSendString](/reference/system/xaccessibility/functions/xspeechtotextsendstring) toma como argumento una enumeración **XSpeechToTextType**.

También puede establecer la posición de la ventana de voz a texto llamando a la función [XSpeechToTextSetPositionHint](/reference/system/xaccessibility/functions/xspeechtotextsetpositionhint).

## Requisitos

**Encabezado:** XAccessibility.h

**Plataformas compatibles:** Windows, consolas de la familia XBOX One y consolas XBOX Series

## Consulte también

[XAccessibility](/reference/system/xaccessibility/xaccessibility_members)

[XSpeechToTextSendString](/reference/system/xaccessibility/functions/xspeechtotextsendstring)

[XSpeechToTextSetPositionHint](/reference/system/xaccessibility/functions/xspeechtotextsetpositionhint)


## Related topics

- [XSpeechToTextSendString](/es/reference/system/xaccessibility/functions/xspeechtotextsendstring.md)
- [XSpeechToTextBeginHypothesisString](/es/reference/system/xaccessibility/functions/xspeechtotextbeginhypothesisstring.md)
- [XAccessibility](/es/reference/system/xaccessibility/xaccessibility_members.md)
- [PartySynthesizeTextToSpeechType](/es/services/playfab/multiplayer/networking/reference/enums/partysynthesizetexttospeechtype.md)
- [PartyLocalChatControl::SynthesizeTextToSpeech](/es/services/playfab/multiplayer/networking/reference/classes/PartyLocalChatControl/methods/partylocalchatcontrol_synthesizetexttospeech.md)
