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

# chat_user::chat_indicator

> chat_user::chat_indicator

# chat\_user::chat\_indicator

指出是否可以進行聊天，以及目前是否正在為此使用者產生音訊。

## 語法

```cpp theme={null}
game_chat_user_chat_indicator chat_indicator(  
)  
```

### 參數

### 傳回值

類型：game\_chat\_user\_chat\_indicator

## 備註

此指示器旨在協助以 UI 圖示呈現，讓使用者能判斷他們為何會聽到/看到目前的內容 (「誰在說話？」)，或為何沒有。

此值經常變更，通常會在每個圖形畫面輪詢一次。

如果已啟用解碼後音訊操作，聊天指示器會根據哪些解碼後音訊來源串流正嘗試且獲允許與哪些解碼後音訊接收串流交談來設定。不論應用程式如何將解碼後的來源串流混合在一起，都會設定聊天指示器。

## 需求

**標頭：** GameChat2.h

**支援的平台：** Windows、XBOX One 系列主機和 XBOX Series 主機

## 另請參閱

[chat\_user](/zh-TW/reference/chat/gamechat2/classes/chat_user/chat_user)\
[game\_chat\_user\_chat\_indicator](/zh-TW/reference/chat/gamechat2/enums/game_chat_user_chat_indicator)\
[chat\_user::chat\_user\_local::set\_microphone\_muted](/zh-TW/reference/chat/gamechat2/classes/chat_user/chat_user_local/methods/chat_user_local_set_microphone_muted)\
[game\_chat\_audio\_manipulation\_mode\_flags::post\_decode\_stream\_manipulation](/zh-TW/reference/chat/gamechat2/enums/game_chat_audio_manipulation_mode_flags)


## Related topics

- [chat_user_local::remote_user_muted](/zh-TW/reference/chat/gamechat2/classes/chat_user/chat_user_local/methods/chat_user_local_remote_user_muted.md)
- [game_chat_user_chat_indicator](/zh-TW/reference/chat/gamechat2/enums/game_chat_user_chat_indicator.md)
- [chat_user_local::microphone_muted](/zh-TW/reference/chat/gamechat2/classes/chat_user/chat_user_local/methods/chat_user_local_microphone_muted.md)
- [chat_user_local::set_remote_user_muted](/zh-TW/reference/chat/gamechat2/classes/chat_user/chat_user_local/methods/chat_user_local_set_remote_user_muted.md)
- [chat_user_local::set_microphone_muted](/zh-TW/reference/chat/gamechat2/classes/chat_user/chat_user_local/methods/chat_user_local_set_microphone_muted.md)
