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

# 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\*](/services/playfab/multiplayer/networking/reference/enums/partylocalchatcontrolchatindicator)\
*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()](/services/playfab/multiplayer/networking/reference/classes/PartyManager/methods/partymanager_geterrormessage).

## 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. <br /><br /> This value changes frequently and is typically polled every graphics frame.

## Requirements

**Header:** Party.h

## See also

[PartyLocalChatControl](/services/playfab/multiplayer/networking/reference/classes/PartyLocalChatControl/partylocalchatcontrol)


## Related topics

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