Share via


SysSpatialInputDeviceWatcher Class

Definition

Monitors changes to the set of spatial input devices, and provides notifications when that set changes.

Important

This API is available only to components of the Windows operating system. Calls to these APIs will fail at runtime for all other processes. These APIs may be modified or removed in future Windows releases.

public ref class SysSpatialInputDeviceWatcher sealed
/// [Windows.Foundation.Metadata.Activatable(65536, "Windows.System.Implementation.Holographic.HoloSysImplementationContract")]
/// [Windows.Foundation.Metadata.ContractVersion(Windows.System.Implementation.Holographic.HoloSysImplementationContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class SysSpatialInputDeviceWatcher final
[Windows.Foundation.Metadata.Activatable(65536, "Windows.System.Implementation.Holographic.HoloSysImplementationContract")]
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.System.Implementation.Holographic.HoloSysImplementationContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class SysSpatialInputDeviceWatcher
function SysSpatialInputDeviceWatcher()
Public NotInheritable Class SysSpatialInputDeviceWatcher
Inheritance
Object Platform::Object IInspectable SysSpatialInputDeviceWatcher
Attributes

Windows requirements

Device family
Windows Holographic System Implementation Extension SDK (introduced in 10.0.17763.0)
API contract
Windows.System.Implementation.Holographic.HoloSysImplementationContract (introduced in v1.0)

Constructors

SysSpatialInputDeviceWatcher()

Creates a new spatial input device watcher.

Important

This API is available only to components of the Windows operating system. Calls to these APIs will fail at runtime for all other processes. These APIs may be modified or removed in future Windows releases.

Properties

Status

Gets the operational status of the spatial input device watcher.

Important

This API is available only to components of the Windows operating system. Calls to these APIs will fail at runtime for all other processes. These APIs may be modified or removed in future Windows releases.

Methods

Start()

Starts watching for changes to the set of spatial input devices.

Important

This API is available only to components of the Windows operating system. Calls to these APIs will fail at runtime for all other processes. These APIs may be modified or removed in future Windows releases.

Stop()

Stops watching for changes to the set of spatial input devices.

Important

This API is available only to components of the Windows operating system. Calls to these APIs will fail at runtime for all other processes. These APIs may be modified or removed in future Windows releases.

Events

Added

The event that is raised when a new spatial input device is added.

Important

This API is available only to components of the Windows operating system. Calls to these APIs will fail at runtime for all other processes. These APIs may be modified or removed in future Windows releases.

EnumerationCompleted

The event that is raised when the initial replay of spatial input devices has completed.

Important

This API is available only to components of the Windows operating system. Calls to these APIs will fail at runtime for all other processes. These APIs may be modified or removed in future Windows releases.

Removed

The event that is raised when a spatial input device is removed.

Important

This API is available only to components of the Windows operating system. Calls to these APIs will fail at runtime for all other processes. These APIs may be modified or removed in future Windows releases.

Stopped

The event that is raised when spatial input device watching has stopped.

Important

This API is available only to components of the Windows operating system. Calls to these APIs will fail at runtime for all other processes. These APIs may be modified or removed in future Windows releases.

Updated

The event that is raised when an existing spatial input device has its metadata updated.

Important

This API is available only to components of the Windows operating system. Calls to these APIs will fail at runtime for all other processes. These APIs may be modified or removed in future Windows releases.

Applies to