Compartilhar via


SysSpatialInputDeviceWatcher.Stopped Evento

Definição

O evento gerado quando a observação de dispositivo de entrada espacial foi interrompida.

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 Stopped(TypedEventHandler<SysSpatialInputDeviceWatcher, IInspectable const&> const& handler) const;

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

// Revoke with event_revoker
SysSpatialInputDeviceWatcher::Stopped_revoker Stopped(auto_revoke_t, TypedEventHandler<SysSpatialInputDeviceWatcher, IInspectable const&> const& handler) const;
public event TypedEventHandler<SysSpatialInputDeviceWatcher,object> Stopped;
function onStopped(eventArgs) { /* Your code */ }
sysSpatialInputDeviceWatcher.addEventListener("stopped", onStopped);
sysSpatialInputDeviceWatcher.removeEventListener("stopped", onStopped);
- or -
sysSpatialInputDeviceWatcher.onstopped = onStopped;
Public Custom Event Stopped As TypedEventHandler(Of SysSpatialInputDeviceWatcher, Object) 

Tipo de evento

Aplica-se a