SysSpatialInputDeviceWatcher.EnumerationCompleted Event
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.
// Register
event_token EnumerationCompleted(TypedEventHandler<SysSpatialInputDeviceWatcher, IInspectable const&> const& handler) const;
// Revoke with event_token
void EnumerationCompleted(event_token const* cookie) const;
// Revoke with event_revoker
SysSpatialInputDeviceWatcher::EnumerationCompleted_revoker EnumerationCompleted(auto_revoke_t, TypedEventHandler<SysSpatialInputDeviceWatcher, IInspectable const&> const& handler) const;
public event TypedEventHandler<SysSpatialInputDeviceWatcher,object> EnumerationCompleted;
function onEnumerationCompleted(eventArgs) { /* Your code */ }
sysSpatialInputDeviceWatcher.addEventListener("enumerationcompleted", onEnumerationCompleted);
sysSpatialInputDeviceWatcher.removeEventListener("enumerationcompleted", onEnumerationCompleted);
- or -
sysSpatialInputDeviceWatcher.onenumerationcompleted = onEnumerationCompleted;
Public Custom Event EnumerationCompleted As TypedEventHandler(Of SysSpatialInputDeviceWatcher, Object)
Event Type
TypedEventHandler<SysSpatialInputDeviceWatcher,IInspectable>