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)
事件类型
注解
对于手部交互,当按下手指,然后移动到小型操作死区之外时, SpatialManipulationStartedEventArgs 事件会触发。
对于语音和运动控制器交互,此事件不会触发。