GazeDeviceWatcherPreview.Removed GazeDeviceWatcherPreview.Removed GazeDeviceWatcherPreview.Removed GazeDeviceWatcherPreview.Removed GazeDeviceWatcherPreview.Removed Event

Definition

Occurs when an existing eye-tracker device is no longer detected.

public : event TypedEventHandler<GazeDeviceWatcherPreview, GazeDeviceWatcherRemovedPreviewEventArgs> Removed
// Register
event_token Removed(TypedEventHandler<GazeDeviceWatcherPreview, GazeDeviceWatcherRemovedPreviewEventArgs> const& handler) const;

// Revoke with event_token
void Removed(event_token const& cookie) const;

// Revoke with event_revoker
Removed_revoker Removed(auto_revoke_t, TypedEventHandler<GazeDeviceWatcherPreview, GazeDeviceWatcherRemovedPreviewEventArgs> const& handler) const;
public event TypedEventHandler<GazeDeviceWatcherPreview, GazeDeviceWatcherRemovedPreviewEventArgs> Removed
Public Event Removed As TypedEventHandler (Of GazeDeviceWatcherPreview, GazeDeviceWatcherRemovedPreviewEventArgs)
function onRemoved(eventArgs){/* Your code */}


gazeDeviceWatcherPreview.addEventListener("removed", onRemoved);
gazeDeviceWatcherPreview.removeEventListener("removed", onRemoved);

See also