SpatialGestureRecognizer.ManipulationCompleted 事件

定义

完成操作 手势时发生。

// Register
event_token ManipulationCompleted(TypedEventHandler<SpatialGestureRecognizer, SpatialManipulationCompletedEventArgs const&> const& handler) const;

// Revoke with event_token
void ManipulationCompleted(event_token const* cookie) const;

// Revoke with event_revoker
SpatialGestureRecognizer::ManipulationCompleted_revoker ManipulationCompleted(auto_revoke_t, TypedEventHandler<SpatialGestureRecognizer, SpatialManipulationCompletedEventArgs const&> const& handler) const;
public event TypedEventHandler<SpatialGestureRecognizer,SpatialManipulationCompletedEventArgs> ManipulationCompleted;
function onManipulationCompleted(eventArgs) { /* Your code */ }
spatialGestureRecognizer.addEventListener("manipulationcompleted", onManipulationCompleted);
spatialGestureRecognizer.removeEventListener("manipulationcompleted", onManipulationCompleted);
- or -
spatialGestureRecognizer.onmanipulationcompleted = onManipulationCompleted;
Public Custom Event ManipulationCompleted As TypedEventHandler(Of SpatialGestureRecognizer, SpatialManipulationCompletedEventArgs) 

事件类型

注解

对于手部交互,在 ManipulationStarted 事件后释放手指时,将触发 SpatialManipulationCompletedEventArgs 事件。

对于语音和运动控制器交互,此事件不会触发。

适用于