> ## 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::GetChatIndicator

> Provides a chat indicator specifying the audio state of a target chat control in relation to the local chat control.

Provides a chat indicator specifying the audio state of a target chat control in relation to the local chat control.

## Syntax

```cpp theme={null}
PartyError GetChatIndicator(  
    const PartyChatControl* targetChatControl,  
    PartyChatControlChatIndicator* chatIndicator  
)  
```

### Parameters

**`targetChatControl`**   [PartyChatControl\*](https://docs.xbox.com/services/playfab/multiplayer/networking/reference/classes/PartyChatControl/partychatcontrol.md)

The target chat control.

**`chatIndicator`**   [PartyChatControlChatIndicator\*](https://docs.xbox.com/services/playfab/multiplayer/networking/reference/enums/partychatcontrolchatindicator.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 why they're hearing/ seeing what they are ("who's that talking?"), or 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::GetLocalChatIndicator](https://docs.xbox.com/services/playfab/multiplayer/networking/reference/classes/PartyLocalChatControl/methods/partylocalchatcontrol_getlocalchatindicator.md)
- [PartyLocalChatControlChatIndicator](https://docs.xbox.com/services/playfab/multiplayer/networking/reference/enums/partylocalchatcontrolchatindicator.md)
