> ## 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.

# PartySetTextToSpeechProfileCompletedStateChange

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

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

## Syntaxe

```cpp theme={null}
struct PartySetTextToSpeechProfileCompletedStateChange : PartyStateChange {  
    PartyStateChangeResult result;  
    PartyError errorDetail;  
    PartyLocalChatControl* localChatControl;  
    PartySynthesizeTextToSpeechType type;  
    PartyString profileIdentifier;  
    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.

En cas de réussite, [PartyLocalChatControl::GetTextToSpeechProfile()](https://docs.xbox.com/fr/services/playfab/multiplayer/networking/reference/classes/PartyLocalChatControl/methods/partylocalchatcontrol_gettexttospeechprofile.md) renverra l'objet de profil complet correspondant à l'identificateur de profil fourni à l'appel [PartyLocalChatControl::SetTextToSpeechProfile()](https://docs.xbox.com/fr/services/playfab/multiplayer/networking/reference/classes/PartyLocalChatControl/methods/partylocalchatcontrol_settexttospeechprofile.md) associé à ce changement d'état. En cas d'échec, PartyLocalChatControl::GetTextToSpeechProfile() renverra null.

**`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.

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

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

**`asyncIdentifier`**   void\*

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

## Remarques

Au maximum, un objet PartySetTextToSpeechProfileCompletedStateChange sera renvoyé dans chaque lot de changements d'état provenant de [PartyManager::StartProcessingStateChanges()](https://docs.xbox.com/fr/services/playfab/multiplayer/networking/reference/classes/PartyManager/methods/partymanager_startprocessingstatechanges.md).

## 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::SetTextToSpeechProfile](https://docs.xbox.com/fr/services/playfab/multiplayer/networking/reference/classes/PartyLocalChatControl/methods/partylocalchatcontrol_settexttospeechprofile.md)


## Related topics

- [PartyLocalChatControl::GetTextToSpeechProfile](https://docs.xbox.com/fr/services/playfab/multiplayer/networking/reference/classes/PartyLocalChatControl/methods/partylocalchatcontrol_gettexttospeechprofile.md)
- [PartyRegionUpdateMode](https://docs.xbox.com/fr/services/playfab/multiplayer/networking/reference/enums/partyregionupdatemode.md)
- [PartyLocalChatControl::SetTextToSpeechProfile](https://docs.xbox.com/fr/services/playfab/multiplayer/networking/reference/classes/PartyLocalChatControl/methods/partylocalchatcontrol_settexttospeechprofile.md)
- [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)
