XGameStreamingTouchControlsStateOperation

Specifies the kind of operation to use, the path to the specific variable, and the state value to be applied.

Syntax

typedef struct XGameStreamingTouchControlsStateOperation {
    XGameStreamingTouchControlsStateOperationKind operationKind;
    const char* path;
    XGameStreamingTouchControlsStateValue value;
} XGameStreamingTouchControlsStateOperation

Members

operationKind
Type: XGameStreamingTouchControlsStateOperationKind

The operation that is being specified.

path
Type: const char*

The path to the state variable that is being affected. This should be one of the properties that are defined in the state portion of the touch layout bundle.

value
Type: XGameStreamingTouchControlsStateValue

The value that will utilized in the operation on the state variable.

Remarks

You used this structure to represent an update to a touch layout control.

To perform an update, specify the:

  1. Operation. Currently, only replace is supported.
  2. Path to the variable to be replaced.
  3. Value to be applied to that variable.

Requirements

Header: XGameStreaming.h

Supported Platforms: Windows, Xbox One family consoles and Xbox Series consoles

See also

XGameStreaming
XGameStreamingTouchControlsStateOperationKind
XGameStreamingTouchControlsStateValue
XGameStreamingUpdateTouchControlsState
XGameStreamingUpdateTouchControlsStateOnClient
XGameStreamingShowTouchControlsWithStateUpdate
XGameStreamingShowTouchControlsWithStateUpdateOnClient