SpatialGestureRecognizer.NavigationCompleted 事件
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
// 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 事件之后释放“选择触发器或”按钮时,将触发此事件。