SpatialGestureRecognizer.NavigationCompleted 事件

定义

导航 手势完成 时发生。

// 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) 

事件类型

注解

对于手部交互,当 NavigationStarted 事件后释放手指时,将触发 SpatialNavigationCompletedeventArgs 事件。

对于语音交互,此事件不会触发。

对于运动控制器交互,在 NavigationStarted 事件之后释放“选择触发器或”按钮时,将触发此事件。

适用于