SysHolographicWindowingEnvironment.IsHomeGestureReadyChanged 事件

定义

当主手势进入或离开就绪状态时引发的事件。 此 API 仅适用于 Windows 操作系统的组件。

// Register
event_token IsHomeGestureReadyChanged(TypedEventHandler<SysHolographicWindowingEnvironment, IInspectable const&> const& handler) const;

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

// Revoke with event_revoker
SysHolographicWindowingEnvironment::IsHomeGestureReadyChanged_revoker IsHomeGestureReadyChanged(auto_revoke_t, TypedEventHandler<SysHolographicWindowingEnvironment, IInspectable const&> const& handler) const;
public event TypedEventHandler<SysHolographicWindowingEnvironment,object> IsHomeGestureReadyChanged;
function onIsHomeGestureReadyChanged(eventArgs) { /* Your code */ }
sysHolographicWindowingEnvironment.addEventListener("ishomegesturereadychanged", onIsHomeGestureReadyChanged);
sysHolographicWindowingEnvironment.removeEventListener("ishomegesturereadychanged", onIsHomeGestureReadyChanged);
- or -
sysHolographicWindowingEnvironment.onishomegesturereadychanged = onIsHomeGestureReadyChanged;
Public Custom Event IsHomeGestureReadyChanged As TypedEventHandler(Of SysHolographicWindowingEnvironment, Object) 

事件类型

Windows 要求

设备系列
Windows Holographic System Implementation Extension SDK (在 10.0.18362.0 中引入)
API contract
Windows.System.Implementation.Holographic.HoloSysImplementationContract (在 v2.0 中引入)

注解

对于 Windows 操作系统组件以外的所有进程,在运行时调用这些 API 将失败。 这些 API 可能会在将来的 Windows 版本中修改或删除。

适用于