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

# PartySetTranscriptionOptionsCompletedStateChange

> Information specific to the *SetTranscriptionOptionsCompleted* type of state change.

Information specific to the *SetTranscriptionOptionsCompleted* type of state change.

## Syntax

```cpp theme={null}
struct PartySetTranscriptionOptionsCompletedStateChange : PartyStateChange {  
    PartyStateChangeResult result;  
    PartyError errorDetail;  
    PartyLocalChatControl* localChatControl;  
    PartyVoiceChatTranscriptionOptions options;  
    void* asyncIdentifier;  
}  
```

### Members

**`result`**   [PartyStateChangeResult](/services/playfab/multiplayer/networking/reference/enums/partystatechangeresult)

Indicates that the operation Succeeded or the reason that it failed.

On success, internal state has updated to reflect whether transcription operations should be attempted on behalf of `localChatControl`. Success does not guarantee that transcription operations will complete successfully. Failures to complete transcription operations will be exposed through the `result` field of the [PartyStateChangeType::VoiceChatTranscriptionReceived](/services/playfab/multiplayer/networking/reference/enums/partystatechangetype) state change.

**`errorDetail`**   PartyError

A diagnostic value providing additional troubleshooting information regarding any potential error condition.

The human-readable form of this error detail can be retrieved via [PartyManager::GetErrorMessage()](/services/playfab/multiplayer/networking/reference/classes/PartyManager/methods/partymanager_geterrormessage).

**`localChatControl`**   [PartyLocalChatControl](/services/playfab/multiplayer/networking/reference/classes/PartyLocalChatControl/partylocalchatcontrol)\*

The chat control used in the call associated with this state change.

**`options`**   [PartyVoiceChatTranscriptionOptions](/services/playfab/multiplayer/networking/reference/enums/partyvoicechattranscriptionoptions)

The transcription options provided to the call associated with this state change.

**`asyncIdentifier`**   void\*

The async identifier provided to the call associated with this state change.

## Requirements

**Header:** Party.h

## See also

[Party members](/services/playfab/multiplayer/networking/reference/party_members)\
[PartyLocalChatControl::SetTranscriptionOptions](/services/playfab/multiplayer/networking/reference/classes/PartyLocalChatControl/methods/partylocalchatcontrol_settranscriptionoptions)


## Related topics

- [PlayFab Party speech-to-text and text display UX guidelines](/services/playfab/community/voice-communications/party-speech-to-text-ux-guidelines.md)
- [PartyRegionUpdateMode](/services/playfab/multiplayer/networking/reference/enums/partyregionupdatemode.md)
- [PartyLocalChatControl::SetTranscriptionOptions](/services/playfab/multiplayer/networking/reference/classes/PartyLocalChatControl/methods/partylocalchatcontrol_settranscriptionoptions.md)
- [Party C/C++ API overview](/services/playfab/multiplayer/networking/reference/party_members.md)
- [PartyStateChangeType](/services/playfab/multiplayer/networking/reference/enums/partystatechangetype.md)
