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

# XGameStreamingTouchControlsStateValue

> XGameStreamingTouchControlsStateValue

# XGameStreamingTouchControlsStateValue

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

<a id="syntaxSection" />

## 構文

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

<a id="membersSection" />

### メンバー

*valueKind*\
Type: [XGameStreamingTouchControlsStateValueKind](/reference/system/xgamestreaming/enums/xgamestreamingtouchcontrolsstatevaluekind)

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

*booleanValue*\
Type: bool

適用されるブール値。

*integerValue*\
Type: int64\_t

適用される整数値。

*doubleValue*\
Type: double

適用される double 値。

*stringValue*\
Type: const char\*

適用される文字列値。

<a id="remarksSection" />

## 解説

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

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

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

<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)\
[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

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