Udostępnij za pośrednictwem


SpatialInteractionSourceEventArgs Class

Definition

Provides data for the SpatialInteractionSource Source events.

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

Remarks

Version history

Windows version SDK version Value added
1703 15063 PressKind

Properties

PressKind

Gets the kind of press or release associated with the event.

State

Gets the interaction source state associated with the event.

Applies to