SpatialRecognitionStartedEventArgs Class

Definition

Provides data for the SpatialGestureRecognizer.RecognitionStarted event.

public ref class SpatialRecognitionStartedEventArgs sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 131072)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class SpatialRecognitionStartedEventArgs final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 131072)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class SpatialRecognitionStartedEventArgs
Public NotInheritable Class SpatialRecognitionStartedEventArgs
Inheritance
Object Platform::Object IInspectable SpatialRecognitionStartedEventArgs
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)

Properties

InteractionSourceKind

Gets the kind of interaction source associated with this gesture.

Methods

IsGesturePossible(SpatialGestureSettings)

Returns whether the specified gesture is possible, given the capabilities of the relevant interaction source. For example, Voice cannot be used for Manipulation gestures.

TryGetPointerPose(SpatialCoordinateSystem)

Gets the available pointer poses, such as the user's head gaze and each motion controller's pointer pose, for use in targeting this gesture.

Applies to