Freigeben über


SysSpatialInputDeviceWatcher.Updated Ereignis

Definition

Das Ereignis, das ausgelöst wird, wenn für ein vorhandenes räumliches Eingabegerät die Metadaten aktualisiert werden.

Wichtig

Diese API ist nur für Komponenten des Windows-Betriebssystems verfügbar. Aufrufe dieser APIs schlagen zur Laufzeit für alle anderen Prozesse fehl. Diese APIs können in zukünftigen Windows-Releases geändert oder entfernt werden.

// Register
event_token Updated(TypedEventHandler<SysSpatialInputDeviceWatcher, SysSpatialInputDevice const&> const& handler) const;

// Revoke with event_token
void Updated(event_token const* cookie) const;

// Revoke with event_revoker
SysSpatialInputDeviceWatcher::Updated_revoker Updated(auto_revoke_t, TypedEventHandler<SysSpatialInputDeviceWatcher, SysSpatialInputDevice const&> const& handler) const;
public event TypedEventHandler<SysSpatialInputDeviceWatcher,SysSpatialInputDevice> Updated;
function onUpdated(eventArgs) { /* Your code */ }
sysSpatialInputDeviceWatcher.addEventListener("updated", onUpdated);
sysSpatialInputDeviceWatcher.removeEventListener("updated", onUpdated);
- or -
sysSpatialInputDeviceWatcher.onupdated = onUpdated;
Public Custom Event Updated As TypedEventHandler(Of SysSpatialInputDeviceWatcher, SysSpatialInputDevice) 

Ereignistyp

Gilt für: