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

Especifica el tipo y el valor de un elemento específico del estado de los controles táctiles.

<a id="syntaxSection" />

## Sintaxis

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

<a id="membersSection" />

### Miembros

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

El tipo del elemento específico del estado de los controles táctiles.

*booleanValue*\
Tipo: bool

El valor booleano que se va a aplicar.

*integerValue*\
Tipo: int64\_t

El valor entero que se va a aplicar.

*doubleValue*\
Tipo: double

El valor double que se va a aplicar.

*stringValue*\
Tipo: const char\*

El valor de cadena que se va a aplicar.

<a id="remarksSection" />

## Comentarios

Esta estructura se usa para proporcionar el tipo y el valor de un elemento específico del estado de los controles táctiles.

Debe proporcionar un único valor que represente el tipo de la variable que se está modificando.

Si especifica un tipo de valor incorrecto, se produce un error en tiempo de ejecución, devuelto al usar [XGameStreamingShowTouchControlsWithStateUpdate](/reference/system/xgamestreaming/functions/xgamestreamingshowtouchcontrolswithstateupdate) o [XGameStreamingShowTouchControlsWithStateUpdateOnClient](/reference/system/xgamestreaming/functions/xgamestreamingshowtouchcontrolswithstateupdateonclient).

<a id="requirementsSection" />

## Requisitos

**Encabezado:** XGameStreaming.h

**Plataformas compatibles**: Windows, consolas de la familia XBOX One y consolas XBOX Series

<a id="seealsoSection" />

## Consulte también

[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](/es/reference/system/xgamestreaming/enums/xgamestreamingtouchcontrolsstatevaluekind.md)
- [XGameStreamingUpdateTouchControlsState](/es/reference/system/xgamestreaming/functions/xgamestreamingupdatetouchcontrolsstate.md)
- [XGameStreamingTouchControlsStateOperation](/es/reference/system/xgamestreaming/structs/xgamestreamingtouchcontrolsstateoperation.md)
- [XGameStreamingUpdateTouchControlsStateOnClient](/es/reference/system/xgamestreaming/functions/xgamestreamingupdatetouchcontrolsstateonclient.md)
- [XGameStreamingTouchControlsStateOperationKind](/es/reference/system/xgamestreaming/enums/xgamestreamingtouchcontrolsstateoperationkind.md)
