SpatialGestureRecognizer.ManipulationStarted 事件
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
// Register
event_token ManipulationStarted(TypedEventHandler<SpatialGestureRecognizer, SpatialManipulationStartedEventArgs const&> const& handler) const;
// Revoke with event_token
void ManipulationStarted(event_token const* cookie) const;
// Revoke with event_revoker
SpatialGestureRecognizer::ManipulationStarted_revoker ManipulationStarted(auto_revoke_t, TypedEventHandler<SpatialGestureRecognizer, SpatialManipulationStartedEventArgs const&> const& handler) const;
public event TypedEventHandler<SpatialGestureRecognizer,SpatialManipulationStartedEventArgs> ManipulationStarted;
function onManipulationStarted(eventArgs) { /* Your code */ }
spatialGestureRecognizer.addEventListener("manipulationstarted", onManipulationStarted);
spatialGestureRecognizer.removeEventListener("manipulationstarted", onManipulationStarted);
- or -
spatialGestureRecognizer.onmanipulationstarted = onManipulationStarted;
Public Custom Event ManipulationStarted As TypedEventHandler(Of SpatialGestureRecognizer, SpatialManipulationStartedEventArgs)
事件類型
備註
針對手部互動,當手指按下,然後移至小型 Manipulation 死區外部時, SpatialManipulationStartedEventArgs 事件就會引發。
對於語音和動作控制器互動,此事件不會引發。