SpatialGestureRecognizer.ManipulationStarted Event
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Occurs when an interaction becomes a Manipulation gesture.
// 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)
Event Type
Remarks
For hand interactions, the SpatialManipulationStartedEventArgs event fires when a finger is pressed and then moves outside of the small Manipulation dead-zone.
For speech and motion controller interactions, this event does not fire.