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

# XGameStreamingTouchControlsStateValue

> XGameStreamingTouchControlsStateValue

# XGameStreamingTouchControlsStateValue

タッチ コントロール状態の特定の要素の型および値を指定します。

## 構文

```cpp theme={null}
struct XGameStreamingTouchControlsStateValue {
    XGameStreamingTouchControlsStateValueKind valueKind;
        union
        {
            bool booleanValue;
            int64_t integerValue;
            double doubleValue;
            const char* stringValue;
        };
};
```

### メンバー

*valueKind*\
Type: [XGameStreamingTouchControlsStateValueKind](https://docs.xbox.com/ja-jp/reference/system/xgamestreaming/enums/xgamestreamingtouchcontrolsstatevaluekind.md)

タッチ コントロール状態の特定の要素の型。

*booleanValue*\
Type: bool

適用されるブール値。

*integerValue*\
Type: int64\_t

適用される整数値。

*doubleValue*\
Type: double

適用される double 値。

*stringValue*\
Type: const char\*

適用される文字列値。

## 解説

この構造体は、タッチ コントロール状態の特定の要素の型および値を指定するために使用します。

変更する変数の型を表す単一の値のみを指定する必要があります。

正しくない値の型を指定した場合、[XGameStreamingShowTouchControlsWithStateUpdate](https://docs.xbox.com/ja-jp/reference/system/xgamestreaming/functions/xgamestreamingshowtouchcontrolswithstateupdate.md) または [XGameStreamingShowTouchControlsWithStateUpdateOnClient](https://docs.xbox.com/ja-jp/reference/system/xgamestreaming/functions/xgamestreamingshowtouchcontrolswithstateupdateonclient.md) のいずれかを使用したときにランタイム エラーが発生し、返されます。

## 要件

**ヘッダー:** XGameStreaming.h

**サポートされているプラットフォーム**: Windows、XBOX One ファミリー本体および XBOX Series 本体

## 関連項目

[XGameStreaming](https://docs.xbox.com/ja-jp/reference/system/xgamestreaming/xgamestreaming_members.md)\
[XGameStreamingTouchControlsStateOperationKind](https://docs.xbox.com/ja-jp/reference/system/xgamestreaming/enums/xgamestreamingtouchcontrolsstateoperationkind.md)\
[XGameStreamingTouchControlsStateOperation](https://docs.xbox.com/ja-jp/reference/system/xgamestreaming/structs/xgamestreamingtouchcontrolsstateoperation.md)\
[XGameStreamingUpdateTouchControlsState](https://docs.xbox.com/ja-jp/reference/system/xgamestreaming/functions/xgamestreamingupdatetouchcontrolsstate.md)\
[XGameStreamingUpdateTouchControlsStateOnClient](https://docs.xbox.com/ja-jp/reference/system/xgamestreaming/functions/xgamestreamingupdatetouchcontrolsstateonclient.md)\
[XGameStreamingShowTouchControlsWithStateUpdate](https://docs.xbox.com/ja-jp/reference/system/xgamestreaming/functions/xgamestreamingshowtouchcontrolswithstateupdate.md)\
[XGameStreamingShowTouchControlsWithStateUpdateOnClient](https://docs.xbox.com/ja-jp/reference/system/xgamestreaming/functions/xgamestreamingshowtouchcontrolswithstateupdateonclient.md)


## Related topics

- [XGameStreamingTouchControlsStateValueKind](https://docs.xbox.com/ja-jp/reference/system/xgamestreaming/enums/xgamestreamingtouchcontrolsstatevaluekind.md)
- [XGameStreamingUpdateTouchControlsState](https://docs.xbox.com/ja-jp/reference/system/xgamestreaming/functions/xgamestreamingupdatetouchcontrolsstate.md)
- [XGameStreamingTouchControlsStateOperation](https://docs.xbox.com/ja-jp/reference/system/xgamestreaming/structs/xgamestreamingtouchcontrolsstateoperation.md)
- [XGameStreamingUpdateTouchControlsStateOnClient](https://docs.xbox.com/ja-jp/reference/system/xgamestreaming/functions/xgamestreamingupdatetouchcontrolsstateonclient.md)
- [XGameStreamingShowTouchControlsWithStateUpdate](https://docs.xbox.com/ja-jp/reference/system/xgamestreaming/functions/xgamestreamingshowtouchcontrolswithstateupdate.md)
