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

# PartyXblAccessibilitySettings

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

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

## 语法

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

### 成员

**`speechToTextEnabled`**   [PartyBool](/services/playfab/multiplayer/networking/reference/typedefs)

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

**`textToSpeechEnabled`**   [PartyBool](/services/playfab/multiplayer/networking/reference/typedefs)

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

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

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

**`gender`**   [PartyGender](/services/playfab/multiplayer/networking/reference/enums/partygender)

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

## 要求

**头文件:** PartyXboxLive.h

## 另请参阅

[PartyXboxLive 成员](/services/playfab/multiplayer/networking/xblreference/partyxboxlive_members)


## Related topics

- [PartyXblLocalChatUser::GetAccessibilitySettings](/zh-CN/services/playfab/multiplayer/networking/xblreference/classes/PartyXblLocalChatUser/methods/partyxbllocalchatuser_getaccessibilitysettings.md)
- [PlayFab Party XBOX Live 辅助库发行说明](/zh-CN/services/playfab/multiplayer/networking/party-xboxlive-relnotes.md)
- [PartyXboxLive C/C++ API 概览](/zh-CN/services/playfab/multiplayer/networking/xblreference/partyxboxlive_members.md)
- [PartyXblCrossNetworkCommunicationPrivacySetting](/zh-CN/services/playfab/multiplayer/networking/xblreference/enums/partyxblcrossnetworkcommunicationprivacysetting.md)
- [PartyXbl GetCrossNetworkCommunicationPrivacySetting](/zh-CN/services/playfab/multiplayer/networking/xblreference/classes/PartyXblLocalChatUser/methods/partyxbllocalchatuser_getcrossnetworkcommunicationprivacysetting.md)
