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

# XGameStreamingTouchControlsStateValueKind

> XGameStreamingTouchControlsStateValueKind

# XGameStreamingTouchControlsStateValueKind

指定与触摸布局关联的状态类型。

<a id="syntaxSection" />

## 语法

```cpp theme={null}
enum class XGameStreamingTouchControlsStateValueKind  : uint32_t
{
    Boolean = 0,
    Integer = 1,
    Double = 2,
    String = 3
}
```

<a id="constantsSection" />

## 常量

| 常量      | 说明            |
| ------- | ------------- |
| Boolean | Boolean 类型的状态 |
| Integer | Integer 类型的状态 |
| Double  | Double 类型的状态  |
| String  | String 类型的状态  |

<a id="remarksSection" />

## 备注

当你构建要发送到所有流式处理客户端或特定流式处理客户端的触摸布局状态更新集合时，可以使用此枚举。

此枚举的常见用途包括：

* 启用和禁用特定触摸布局控件。

* 更改特定触摸布局控件的视觉表示。

<a id="requirementsSection" />

## 要求

**标头：** XGameStreaming.h

**支持的平台**：Windows、XBOX One 系列主机和 XBOX Series 主机

<a id="seealsoSection" />

## 另请参阅

[XGameStreaming](/reference/system/xgamestreaming/xgamestreaming_members)\
[XGameStreamingTouchControlsStateOperationKind](/reference/system/xgamestreaming/enums/xgamestreamingtouchcontrolsstateoperationkind)\
[XGameStreamingTouchControlsStateOperation](/reference/system/xgamestreaming/structs/xgamestreamingtouchcontrolsstateoperation)\
[XGameStreamingTouchControlsStateValue](/reference/system/xgamestreaming/structs/xgamestreamingtouchcontrolsstatevalue)\
[XGameStreamingUpdateTouchControlsState](/reference/system/xgamestreaming/functions/xgamestreamingupdatetouchcontrolsstate)\
[XGameStreamingUpdateTouchControlsStateOnClient](/reference/system/xgamestreaming/functions/xgamestreamingupdatetouchcontrolsstateonclient)\
[XGameStreamingShowTouchControlsWithStateUpdate](/reference/system/xgamestreaming/functions/xgamestreamingshowtouchcontrolswithstateupdate)\
[XGameStreamingShowTouchControlsWithStateUpdateOnClient](/reference/system/xgamestreaming/functions/xgamestreamingshowtouchcontrolswithstateupdateonclient)


## Related topics

- [XGameStreamingTouchControlsStateValue](/zh-CN/reference/system/xgamestreaming/structs/xgamestreamingtouchcontrolsstatevalue.md)
- [XGameStreamingUpdateTouchControlsState](/zh-CN/reference/system/xgamestreaming/functions/xgamestreamingupdatetouchcontrolsstate.md)
- [XGameStreamingShowTouchControlsWithStateUpdate](/zh-CN/reference/system/xgamestreaming/functions/xgamestreamingshowtouchcontrolswithstateupdate.md)
- [XGameStreamingUpdateTouchControlsStateOnClient](/zh-CN/reference/system/xgamestreaming/functions/xgamestreamingupdatetouchcontrolsstateonclient.md)
- [XGameStreamingShowTouchControlsWithStateUpdateOnClient](/zh-CN/reference/system/xgamestreaming/functions/xgamestreamingshowtouchcontrolswithstateupdateonclient.md)
