SpatialGestureRecognizer.NavigationStarted SpatialGestureRecognizer.NavigationStarted SpatialGestureRecognizer.NavigationStarted SpatialGestureRecognizer.NavigationStarted SpatialGestureRecognizer.NavigationStarted Event

Definition

Occurs when an interaction becomes a Navigation gesture.

public : event TypedEventHandler<SpatialGestureRecognizer, SpatialNavigationStartedEventArgs> NavigationStarted
// Register
event_token NavigationStarted(TypedEventHandler<SpatialGestureRecognizer, SpatialNavigationStartedEventArgs> const& handler) const;

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

// Revoke with event_revoker
NavigationStarted_revoker NavigationStarted(auto_revoke_t, TypedEventHandler<SpatialGestureRecognizer, SpatialNavigationStartedEventArgs> const& handler) const;
public event TypedEventHandler<SpatialGestureRecognizer, SpatialNavigationStartedEventArgs> NavigationStarted
Public Event NavigationStarted As TypedEventHandler (Of SpatialGestureRecognizer, SpatialNavigationStartedEventArgs)
function onNavigationStarted(eventArgs){/* Your code */}


spatialGestureRecognizer.addEventListener("navigationstarted", onNavigationStarted);
spatialGestureRecognizer.removeEventListener("navigationstarted", onNavigationStarted);

Remarks

For hand interactions, the SpatialNavigationStartedEventArgs event fires when a finger is pressed and then moves outside of the small Navigation dead-zone.

For voice interactions, this event does not fire.

For motion controller interactions, this event fires when the Select trigger or button is pressed followed by the controller moving outside of the small Navigation dead-zone.