共用方式為


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 將會失敗。 未來 Windows 版本中可能會修改或移除這些 API。

適用於