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

# XAccessibility

> XAccessibility

# XAccessibility

GameAccessibility API を使用すると、ゲームのアクセシビリティ機能や情報の設計、設定、変更を行うことができます。
たとえば、クローズド キャプション プロパティ、ハイ コントラスト モード、テキスト エッジ スタイルを構成できます。
また、音声テキスト変換ウィンドウに表示されるテキストや、音声テキスト変換ウィンドウの位置を変更することもできます。

## 関数

| 関数                                                                                                                        | 説明                                  |
| ------------------------------------------------------------------------------------------------------------------------- | ----------------------------------- |
| [XClosedCaptionGetProperties](/reference/system/xaccessibility/functions/xclosedcaptiongetproperties)                     | 現在のクローズド キャプションのプロパティを返します。         |
| [XClosedCaptionSetEnabled](/reference/system/xaccessibility/functions/xclosedcaptionsetenabled)                           | クローズド キャプションが有効か無効かを示すブール値を設定します。   |
| [XHighContrastGetMode](/reference/system/xaccessibility/functions/xhighcontrastgetmode)                                   | 現在のハイ コントラスト モードを返します。              |
| [XSpeechToTextBeginHypothesisString](/reference/system/xaccessibility/functions/xspeechtotextbeginhypothesisstring)       | 仮説を開始し、その文字列をテキスト オーバーレイに表示します。     |
| [XSpeechToTextCancelHypothesisString](/reference/system/xaccessibility/functions/xspeechtotextcancelhypothesisstring)     | 仮説をキャンセルし、その文字列をテキスト オーバーレイから削除します。 |
| [XSpeechToTextFinalizeHypothesisString](/reference/system/xaccessibility/functions/xspeechtotextfinalizehypothesisstring) | 仮説を確定し、テキスト オーバーレイの文字列を更新します。       |
| [XSpeechToTextSendString](/reference/system/xaccessibility/functions/xspeechtotextsendstring)                             | ゲーム タイトル画面にテキストを表示します。              |
| [XSpeechToTextSetPositionHint](/reference/system/xaccessibility/functions/xspeechtotextsetpositionhint)                   | 音声テキスト変換ウィンドウの位置を設定します。             |
| [XSpeechToTextUpdateHypothesisString](/reference/system/xaccessibility/functions/xspeechtotextupdatehypothesisstring)     | テキスト オーバーレイの仮説文字列を更新します。            |

## 構造体

| 構造体                                                                                           | 説明                        |
| --------------------------------------------------------------------------------------------- | ------------------------- |
| [XClosedCaptionProperties](/reference/system/xaccessibility/structs/xclosedcaptionproperties) | クローズド キャプションのプロパティを記述します。 |

## 列挙型

| 列挙型                                                                                                       | 説明                                          |
| --------------------------------------------------------------------------------------------------------- | ------------------------------------------- |
| [XClosedCaptionFontEdgeAttribute](/reference/system/xaccessibility/enums/xclosedcaptionfontedgeattribute) | クローズド キャプション テキストのエッジ スタイルを指定します。           |
| [XClosedCaptionFontStyle](/reference/system/xaccessibility/enums/xclosedcaptionfontstyle)                 | クローズド キャプション テキストのフォント スタイルを指定します。          |
| [XHighContrastMode](/reference/system/xaccessibility/enums/xhighcontrastmode)                             | クローズド キャプション テキストのハイ コントラスト モード スタイルを指定します。 |
| [XSpeechToTextPositionHint](/reference/system/xaccessibility/enums/xspeechtotextpositionhint)             | ゲーム タイトルがテキストをレンダリングする画面上の位置を指定します。         |
| [XSpeechToTextType](/reference/system/xaccessibility/enums/xspeechtotexttype)                             | ゲームがレンダリングするテキストのソース タイプを指定します。             |

## 概念ドキュメント

* [Time-sensitive threads](https://learn.microsoft.com/gaming/gdk/docs/gdk-dev/console-dev/overviews/threads/time-sensitive-threads)
* [アクセシビリティの概要](/build/game-principles/accessibility/accessibility-overview)
* [Using C# wrappers for GDK APIs in your Unity project](https://learn.microsoft.com/gaming/gdk/docs/gdk-dev/pc-dev/tutorials/get-started-with-unity-pc/features/gdk-unity-api-wrappers)

## 関連項目

[システム API リファレンス](/reference/system/gc-reference-system-toc)


## Related topics

- [XBOX Accessibility Guidelines (XAG)](/ja-jp/build/game-principles/accessibility/xbox-accessibility-guidelines.md)
- [XSpeechToTextBeginHypothesisString](/ja-jp/reference/system/xaccessibility/functions/xspeechtotextbeginhypothesisstring.md)
- [XSpeechToTextCancelHypothesisString](/ja-jp/reference/system/xaccessibility/functions/xspeechtotextcancelhypothesisstring.md)
- [XSpeechToTextFinalizeHypothesisString](/ja-jp/reference/system/xaccessibility/functions/xspeechtotextfinalizehypothesisstring.md)
- [XSpeechToTextUpdateHypothesisString](/ja-jp/reference/system/xaccessibility/functions/xspeechtotextupdatehypothesisstring.md)
