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

# PartyXblAccessibilitySettings

> PartyXblAccessibilitySettings 结构参考,该结构公开 XBOX Live 用户的语音转文本、文本转语音、语言和性别聊天设置。

与 XBOX Live 账户关联的辅助功能设置。

## 语法

```cpp theme={null}
struct PartyXblAccessibilitySettings {  
    PartyBool speechToTextEnabled;  
    PartyBool textToSpeechEnabled;  
    char languageCode[c_maxLanguageCodeStringLength + 1];  
    PartyGender gender;  
}  
```

### 成员

**`speechToTextEnabled`**   [PartyBool](https://docs.xbox.com/zh-CN/services/playfab/multiplayer/networking/reference/typedefs.md)

如果用户在其 XBOX Live 设置中启用了语音转文字,则为 True

**`textToSpeechEnabled`**   [PartyBool](https://docs.xbox.com/zh-CN/services/playfab/multiplayer/networking/reference/typedefs.md)

如果用户在其 XBOX Live 设置中启用了文字转语音,则为 True

**`languageCode`**   char\[c\_maxLanguageCodeStringLength + 1]

与该用户辅助功能设置关联的语言代码。可在为该用户选择 PartyTextToSpeechProfile 时用作提示。

**`gender`**   [PartyGender](https://docs.xbox.com/zh-CN/services/playfab/multiplayer/networking/reference/enums/partygender.md)

与该用户辅助功能设置关联的性别。可在为该用户选择 PartyTextToSpeechProfile 时用作提示。

## 要求

**头文件:** PartyXboxLive.h

## 另请参阅

[PartyXboxLive 成员](https://docs.xbox.com/zh-CN/services/playfab/multiplayer/networking/xblreference/partyxboxlive_members.md)


## Related topics

- [PartyXblLocalChatUser::GetAccessibilitySettings](https://docs.xbox.com/zh-CN/services/playfab/multiplayer/networking/xblreference/classes/PartyXblLocalChatUser/methods/partyxbllocalchatuser_getaccessibilitysettings.md)
- [PlayFab Party Xbox Live 帮助程序发行说明](https://docs.xbox.com/zh-CN/services/playfab/multiplayer/networking/party-xboxlive-relnotes.md)
- [PartyXboxLive C/C++ API 概览](https://docs.xbox.com/zh-CN/services/playfab/multiplayer/networking/xblreference/partyxboxlive_members.md)
- [PartyXblCrossNetworkCommunicationPrivacySetting](https://docs.xbox.com/zh-CN/services/playfab/multiplayer/networking/xblreference/enums/partyxblcrossnetworkcommunicationprivacysetting.md)
- [PartyXblLocalChatUser::GetCrossNetworkCommunicationPrivacySetting](https://docs.xbox.com/zh-CN/services/playfab/multiplayer/networking/xblreference/classes/PartyXblLocalChatUser/methods/partyxbllocalchatuser_getcrossnetworkcommunicationprivacysetting.md)
