SpatialHoldStartedEventArgs Class

Definition

Provides data for the SpatialGestureRecognizer.HoldStarted event.

public ref class SpatialHoldStartedEventArgs 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 SpatialHoldStartedEventArgs 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 SpatialHoldStartedEventArgs
Public NotInheritable Class SpatialHoldStartedEventArgs
Inheritance
Object Platform::Object IInspectable SpatialHoldStartedEventArgs
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

TryGetPointerPose(SpatialCoordinateSystem)

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

Applies to