SysHolographicWindowingEnvironment.IsHomeGestureReadyChanged 事件
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
当主手势进入或离开就绪状态时引发的事件。 此 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)
事件类型
TypedEventHandler<SysHolographicWindowingEnvironment,Object>
TypedEventHandler<SysHolographicWindowingEnvironment,IInspectable>
Windows 要求
| 要求 | 说明 |
|---|---|
| 设备系列 |
Windows Holographic System Implementation Extension SDK (在 10.0.18362.0 中引入)
Windows Holographic System Implementation Extension SDK (在 10.0.28000.0 中引入) |
| API contract |
Windows.System.Implementation.Holographic.HoloSysImplementationContract (在 v2.0 中引入)
|
注解
对于 Windows 操作系统组件以外的所有进程,在运行时调用这些 API 将失败。 这些 API 可能会在将来的 Windows 版本中修改或删除。