Compartilhar via


SysSpatialInputDeviceWatcher.Updated Evento

Definição

O evento gerado quando um dispositivo de entrada espacial existente tem seus metadados atualizados.

Importante

Essa API está disponível apenas para componentes do sistema operacional Windows. As chamadas para essas APIs falharão em runtime para todos os outros processos. Essas APIs podem ser modificadas ou removidas em versões futuras do 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

Aplica-se a