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

# PartyLocalChatControl::GetLocalChatIndicator

> Provides a chat indicator specifying the audio state of the local chat control.

Provides a chat indicator specifying the audio state of the local chat control.

## Syntax

```cpp theme={null}
PartyError GetLocalChatIndicator(  
    PartyLocalChatControlChatIndicator* chatIndicator  
)  
```

### Parameters

**`chatIndicator`**   [PartyLocalChatControlChatIndicator\*](https://docs.xbox.com/services/playfab/multiplayer/networking/reference/enums/partylocalchatcontrolchatindicator.md)\
*output*

The chat indicator.

### Return value

PartyError

`c_partyErrorSuccess` if the call succeeded or an error code otherwise. The human-readable form of the error code can be retrieved via [PartyManager::GetErrorMessage()](https://docs.xbox.com/services/playfab/multiplayer/networking/reference/classes/PartyManager/methods/partymanager_geterrormessage.md).

## Remarks

This indicator is intended to assist UI iconic representation so that users can determine whether their voice audio is being captured and, if not, then why not. \
\
&#x20;This value changes frequently and is typically polled every graphics frame.

## Requirements

**Header:** Party.h

## See also

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


## Related topics

- [PlayFab Party Chat Permissions and Muting](https://docs.xbox.com/services/playfab/community/voice-communications/concepts-chat-permissions-and-muting.md)
- [Troubleshooting Voice Chat](https://docs.xbox.com/services/playfab/community/voice-communications/concepts-audio-troubleshooting.md)
- [PartyLocalChatControl](https://docs.xbox.com/services/playfab/multiplayer/networking/reference/classes/PartyLocalChatControl/partylocalchatcontrol.md)
- [PartyLocalChatControl::GetChatIndicator](https://docs.xbox.com/services/playfab/multiplayer/networking/reference/classes/PartyLocalChatControl/methods/partylocalchatcontrol_getchatindicator.md)
- [PartyLocalChatControlChatIndicator](https://docs.xbox.com/services/playfab/multiplayer/networking/reference/enums/partylocalchatcontrolchatindicator.md)
