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

# PartySynthesizeTextToSpeechCompletedStateChange

> Informations spécifiques au type de changement d'état *SynthesizeTextToSpeechCompleted*.

Informations spécifiques au type de changement d'état *SynthesizeTextToSpeechCompleted*.

## Syntaxe

```cpp theme={null}
struct PartySynthesizeTextToSpeechCompletedStateChange : PartyStateChange {  
    PartyStateChangeResult result;  
    PartyError errorDetail;  
    PartyLocalChatControl* localChatControl;  
    PartySynthesizeTextToSpeechType type;  
    PartyString textToSynthesize;  
    void* asyncIdentifier;  
}  
```

### Membres

**`result`**   [PartyStateChangeResult](https://docs.xbox.com/fr/services/playfab/multiplayer/networking/reference/enums/partystatechangeresult.md)

Indique que l'opération a réussi (Succeeded) ou la raison de son échec.

**`errorDetail`**   PartyError

Valeur de diagnostic fournissant des informations de dépannage supplémentaires sur toute condition d'erreur potentielle.

La forme lisible de ce détail d'erreur peut être obtenue via [PartyManager::GetErrorMessage()](https://docs.xbox.com/fr/services/playfab/multiplayer/networking/reference/classes/PartyManager/methods/partymanager_geterrormessage.md).

**`localChatControl`**   [PartyLocalChatControl](https://docs.xbox.com/fr/services/playfab/multiplayer/networking/reference/classes/PartyLocalChatControl/partylocalchatcontrol.md)\*

Le contrôle de conversation utilisé dans l'appel associé à ce changement d'état.

**`type`**   [PartySynthesizeTextToSpeechType](https://docs.xbox.com/fr/services/playfab/multiplayer/networking/reference/enums/partysynthesizetexttospeechtype.md)

Le type d'opération de synthèse vocale fourni à l'appel associé à ce changement d'état.

**`textToSynthesize`**   [PartyString](https://docs.xbox.com/fr/services/playfab/multiplayer/networking/reference/typedefs.md)

Le texte synthétisé fourni à l'appel associé à ce changement d'état.

Si le résultat associé est une réussite, l'audio synthétisé pour ce texte a été mis en file d'attente dans le flux audio, mais il n'a peut-être pas encore été transmis.

**`asyncIdentifier`**   void\*

L'identificateur asynchrone fourni à l'appel associé à ce changement d'état.

## Configuration requise

**En-tête :** Party.h

## Voir aussi

[Membres de Party](https://docs.xbox.com/fr/services/playfab/multiplayer/networking/reference/party_members.md)\
[PartyLocalChatControl::SynthesizeTextToSpeech](https://docs.xbox.com/fr/services/playfab/multiplayer/networking/reference/classes/PartyLocalChatControl/methods/partylocalchatcontrol_synthesizetexttospeech.md)


## Related topics

- [Recommandations UX pour la synthèse vocale et la saisie de texte dans PlayFab Party](https://docs.xbox.com/fr/services/playfab/community/voice-communications/party-text-to-speech-ux-guidelines.md)
- [Vue d'ensemble de l'API C/C++ de Party](https://docs.xbox.com/fr/services/playfab/multiplayer/networking/reference/party_members.md)
- [PartyStateChangeType](https://docs.xbox.com/fr/services/playfab/multiplayer/networking/reference/enums/partystatechangetype.md)
- [PartySetTextToSpeechProfileCompletedStateChange](https://docs.xbox.com/fr/services/playfab/multiplayer/networking/reference/structs/partysettexttospeechprofilecompletedstatechange.md)
- [PartyPopulateAvailableTextToSpeechProfilesCompletedStateChange](https://docs.xbox.com/fr/services/playfab/multiplayer/networking/reference/structs/partypopulateavailabletexttospeechprofilescompletedstatechange.md)
