> ## 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::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\*](/services/playfab/multiplayer/networking/reference/classes/PartyChatControl/partychatcontrol)

The target chat control.

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