GazeDeviceWatcherPreview.Removed Événement
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Se produit lorsqu’un dispositif de suivi oculaire existant n’est plus détecté.
// Register
event_token Removed(TypedEventHandler<GazeDeviceWatcherPreview, GazeDeviceWatcherRemovedPreviewEventArgs const&> const& handler) const;
// Revoke with event_token
void Removed(event_token const* cookie) const;
// Revoke with event_revoker
GazeDeviceWatcherPreview::Removed_revoker Removed(auto_revoke_t, TypedEventHandler<GazeDeviceWatcherPreview, GazeDeviceWatcherRemovedPreviewEventArgs const&> const& handler) const;
public event TypedEventHandler<GazeDeviceWatcherPreview,GazeDeviceWatcherRemovedPreviewEventArgs> Removed;
function onRemoved(eventArgs) { /* Your code */ }
gazeDeviceWatcherPreview.addEventListener("removed", onRemoved);
gazeDeviceWatcherPreview.removeEventListener("removed", onRemoved);
- or -
gazeDeviceWatcherPreview.onremoved = onRemoved;
Public Custom Event Removed As TypedEventHandler(Of GazeDeviceWatcherPreview, GazeDeviceWatcherRemovedPreviewEventArgs)