SpatialInteractionSourceKind Enum

Definition

Specifies the kind of an interaction source.

public enum class SpatialInteractionSourceKind
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 131072)]
enum class SpatialInteractionSourceKind
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 131072)]
public enum SpatialInteractionSourceKind
var value = Windows.UI.Input.Spatial.SpatialInteractionSourceKind.other
Public Enum SpatialInteractionSourceKind
Inheritance
SpatialInteractionSourceKind
Attributes

Windows requirements

Device family
Windows 10 (introduced in 10.0.10586.0 - for Xbox, see UWP features that aren't yet supported on Xbox)
API contract
Windows.Foundation.UniversalApiContract (introduced in v2.0)

Fields

Controller 3

The interaction source is a motion controller.

Hand 1

The interaction source is one of the user's hands.

Other 0

The interaction source is of a kind not known in this version of the API.

Voice 2

The interaction source is the user's speech, when speaking a system command such as "Select".

Remarks

This only enumerates sources of interactions, such as hand gestures and voice commands. The user's head gaze is used for pointing and is represented separately by the SpatialPointerPose type.

Applies to

See also