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

# XSystem

> XSystem

# XSystem

XSystem API 的参考资料。

## 函数

| 函数                                                                                                         | 说明                                                                                       |
| ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- |
| [XSystemAllowFullDownloadBandwidth](/reference/system/xsystem/functions/xsystemallowfulldownloadbandwidth) | 控制游戏运行时程序包下载所使用的带宽。                                                                      |
| [XSystemGetAnalyticsInfo](/reference/system/xsystem/functions/xsystemgetanalyticsinfo)                     | 提供有关设备的信息用于分析目的。                                                                         |
| [XSystemGetAppSpecificDeviceId](/reference/system/xsystem/functions/xsystemgetappspecificdeviceid)         | 从主机返回一个特定于调用方标题 ID 的唯一值。                                                                 |
| [XSystemGetConsoleId](/reference/system/xsystem/functions/xsystemgetconsoleid)                             | 返回当前主机的 ID。                                                                              |
| [XSystemGetDeviceType](/reference/system/xsystem/functions/xsystemgetdevicetype)                           | 返回与当前所使用设备相对应的 [XSystemDeviceType](/reference/system/xsystem/enums/xsystemdevicetype) 值。 |
| [XSystemGetRuntimeInfo](/reference/system/xsystem/functions/xsystemgetruntimeinfo)                         | 提供有关游戏运行时服务的当前和可用版本的信息。                                                                  |
| [XSystemGetXboxLiveSandboxId](/reference/system/xsystem/functions/xsystemgetxboxlivesandboxid)             | 检索 XBOX Live 沙盒 ID。                                                                      |
| [XSystemHandleCallback](/reference/system/xsystem/functions/xsystemhandlecallback)                         | 创建或销毁 GRTS 句柄时调用的回调。                                                                     |
| [XSystemHandleTrack](/reference/system/xsystem/functions/xsystemhandletrack)                               | 注册回调以跟踪 Gaming Runtime 中的句柄生存期事件。                                                        |
| [XSystemIsHandleValid](/reference/system/xsystem/functions/xsystemishandlevalid)                           | 检查句柄在 Gaming Runtime 中是否有效。                                                              |

## 结构体

| 结构体                                                                            | 说明              |
| ------------------------------------------------------------------------------ | --------------- |
| [XSystemAnalyticsInfo](/reference/system/xsystem/structs/xsystemanalyticsinfo) | 表示有关设备的信息。      |
| [XSystemRuntimeInfo](/reference/system/xsystem/structs/xsystemruntimeinfo)     | 表示有关游戏运行时服务的信息。 |

## 枚举

| 枚举                                                                                         | 说明                                                                                               |
| ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ |
| [XSystemDeviceType](/reference/system/xsystem/enums/xsystemdevicetype)                     | 指示调用 [XSystemGetDeviceType](/reference/system/xsystem/functions/xsystemgetdevicetype) 返回的系统设备类型。 |
| [XSystemHandleCallbackReason](/reference/system/xsystem/enums/xsystemhandlecallbackreason) | 调用句柄跟踪回调的原因。                                                                                     |
| [XSystemHandleType](/reference/system/xsystem/enums/xsystemhandletype)                     | 已创建或销毁的句柄类型。                                                                                     |

## Conceptual documentation

* [时间敏感线程](https://learn.microsoft.com/gaming/gdk/docs/gdk-dev/console-dev/overviews/threads/time-sensitive-threads)
* [在 Unity 项目中使用 GDK API 的 C# 包装器](https://learn.microsoft.com/gaming/gdk/docs/gdk-dev/pc-dev/tutorials/get-started-with-unity-pc/features/gdk-unity-api-wrappers)

## See also

[系统 API 参考](/reference/system/gc-reference-system-toc)


## Related topics

- [XSystemHandleCallback](/zh-CN/reference/system/xsystem/functions/xsystemhandlecallback.md)
- [XSystemHandleTrack](/zh-CN/reference/system/xsystem/functions/xsystemhandletrack.md)
- [XSystemAnalyticsInfo](/zh-CN/reference/system/xsystem/structs/xsystemanalyticsinfo.md)
- [XSystemRuntimeInfo](/zh-CN/reference/system/xsystem/structs/xsystemruntimeinfo.md)
- [XSystemDeviceType](/zh-CN/reference/system/xsystem/enums/xsystemdevicetype.md)
