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事件就會引發。

對於語音和動作控制器互動,此事件不會引發。

適用於