SpatialGestureRecognizer.ManipulationCompleted 事件
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
// 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事件就會引發。
對於語音和動作控制器互動,此事件不會引發。