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

# PartySetChatAudioInputCompletedStateChange

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

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

## Syntax

```cpp theme={null}
struct PartySetChatAudioInputCompletedStateChange : PartyStateChange {  
    PartyStateChangeResult result;  
    PartyError errorDetail;  
    PartyLocalChatControl* localChatControl;  
    PartyAudioDeviceSelectionType audioDeviceSelectionType;  
    PartyString audioDeviceSelectionContext;  
    void* asyncIdentifier;  
}  
```

### Members

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

Indicates that the audio input configuration operation Succeeded or provides the reason that it failed.

**`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()](https://docs.xbox.com/services/playfab/multiplayer/networking/reference/classes/PartyManager/methods/partymanager_geterrormessage.md).

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

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

**`audioDeviceSelectionType`**   [PartyAudioDeviceSelectionType](https://docs.xbox.com/services/playfab/multiplayer/networking/reference/enums/partyaudiodeviceselectiontype.md)

The audio device selection type provided to the call associated with this state change.

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

The device context 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](https://docs.xbox.com/services/playfab/multiplayer/networking/reference/party_members.md)\
[PartyLocalChatControl::SetAudioInput](https://docs.xbox.com/services/playfab/multiplayer/networking/reference/classes/PartyLocalChatControl/methods/partylocalchatcontrol_setaudioinput.md)


## Related topics

- [PartyLocalChatControl::SetAudioInput](https://docs.xbox.com/services/playfab/multiplayer/networking/reference/classes/PartyLocalChatControl/methods/partylocalchatcontrol_setaudioinput.md)
- [PartyStateChangeType](https://docs.xbox.com/services/playfab/multiplayer/networking/reference/enums/partystatechangetype.md)
- [Party C/C++ API overview](https://docs.xbox.com/services/playfab/multiplayer/networking/reference/party_members.md)
- [PartySetChatAudioOutputCompletedStateChange](https://docs.xbox.com/services/playfab/multiplayer/networking/reference/structs/partysetchataudiooutputcompletedstatechange.md)
- [PartyLocalChatAudioInputChangedStateChange](https://docs.xbox.com/services/playfab/multiplayer/networking/reference/structs/partylocalchataudioinputchangedstatechange.md)
