Compartir a través de


SysSpatialInputDeviceWatcher.Updated Evento

Definición

Evento que se genera cuando un dispositivo de entrada espacial existente tiene sus metadatos actualizados.

Importante

Esta API solo está disponible para los componentes del sistema operativo Windows. Las llamadas a estas API producirán un error en tiempo de ejecución para todos los demás procesos. Estas API se pueden modificar o quitar en futuras versiones de Windows.

// 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) 

Tipo de evento

Se aplica a