Share via


SpatialGestureRecognizer.ManipulationUpdated Event

Definition

Occurs when a Manipulation gesture is updated due to hand movement.

// Register
event_token ManipulationUpdated(TypedEventHandler<SpatialGestureRecognizer, SpatialManipulationUpdatedEventArgs const&> const& handler) const;

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

// Revoke with event_revoker
SpatialGestureRecognizer::ManipulationUpdated_revoker ManipulationUpdated(auto_revoke_t, TypedEventHandler<SpatialGestureRecognizer, SpatialManipulationUpdatedEventArgs const&> const& handler) const;
public event TypedEventHandler<SpatialGestureRecognizer,SpatialManipulationUpdatedEventArgs> ManipulationUpdated;
function onManipulationUpdated(eventArgs) { /* Your code */ }
spatialGestureRecognizer.addEventListener("manipulationupdated", onManipulationUpdated);
spatialGestureRecognizer.removeEventListener("manipulationupdated", onManipulationUpdated);
- or -
spatialGestureRecognizer.onmanipulationupdated = onManipulationUpdated;
Public Custom Event ManipulationUpdated As TypedEventHandler(Of SpatialGestureRecognizer, SpatialManipulationUpdatedEventArgs) 

Event Type

Remarks

For hand interactions, the SpatialManipulationUpdatedEventArgs event fires when the ManipulationStarted hand updates its position.

For speech and motion controller interactions, this event does not fire.

Applies to