SpatialGestureRecognizer.NavigationCompleted Event
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Occurs when a Navigation gesture is completed.
// Register
event_token NavigationCompleted(TypedEventHandler<SpatialGestureRecognizer, SpatialNavigationCompletedEventArgs const&> const& handler) const;
// Revoke with event_token
void NavigationCompleted(event_token const* cookie) const;
// Revoke with event_revoker
SpatialGestureRecognizer::NavigationCompleted_revoker NavigationCompleted(auto_revoke_t, TypedEventHandler<SpatialGestureRecognizer, SpatialNavigationCompletedEventArgs const&> const& handler) const;
public event TypedEventHandler<SpatialGestureRecognizer,SpatialNavigationCompletedEventArgs> NavigationCompleted;
function onNavigationCompleted(eventArgs) { /* Your code */ }
spatialGestureRecognizer.addEventListener("navigationcompleted", onNavigationCompleted);
spatialGestureRecognizer.removeEventListener("navigationcompleted", onNavigationCompleted);
- or -
spatialGestureRecognizer.onnavigationcompleted = onNavigationCompleted;
Public Custom Event NavigationCompleted As TypedEventHandler(Of SpatialGestureRecognizer, SpatialNavigationCompletedEventArgs)
Event Type
Remarks
For hand interactions, the SpatialNavigationCompletedEventArgs event fires when the finger is released after a NavigationStarted event.
For speech interactions, this event does not fire.
For motion controller interactions, this event fires when the Select trigger or button is released after a NavigationStarted event.