SpatialGestureRecognizer.ManipulationUpdated Событие
Определение
Важно!
Некоторые сведения относятся к предварительной версии продукта, в которую до выпуска могут быть внесены существенные изменения. Майкрософт не предоставляет никаких гарантий, явных или подразумеваемых, относительно приведенных здесь сведений.
Происходит при обновлении жеста манипуляции из-за движения руки.
// 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)
Тип события
Комментарии
При взаимодействии с рукой событие SpatialManipulationUpdatedEventArgs срабатывает, когда рука ManipulationStarted обновляет свое положение.
Для взаимодействия с контроллером речи и движением это событие не срабатывает.