GazeDeviceWatcherPreview.Added GazeDeviceWatcherPreview.Added GazeDeviceWatcherPreview.Added GazeDeviceWatcherPreview.Added GazeDeviceWatcherPreview.Added Event

Definition

Occurs when a new eye-tracker device is detected.

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

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

// Revoke with event_revoker
Added_revoker Added(auto_revoke_t, TypedEventHandler<GazeDeviceWatcherPreview, GazeDeviceWatcherAddedPreviewEventArgs> const& handler) const;
public event TypedEventHandler<GazeDeviceWatcherPreview, GazeDeviceWatcherAddedPreviewEventArgs> Added
Public Event Added As TypedEventHandler (Of GazeDeviceWatcherPreview, GazeDeviceWatcherAddedPreviewEventArgs)
function onAdded(eventArgs){/* Your code */}


gazeDeviceWatcherPreview.addEventListener("added", onAdded);
gazeDeviceWatcherPreview.removeEventListener("added", onAdded);

See also