SysHolographicWindowingEnvironment.IsHomeGestureReadyChanged Событие
Определение
Важно!
Некоторые сведения относятся к предварительной версии продукта, в которую до выпуска могут быть внесены существенные изменения. Майкрософт не предоставляет никаких гарантий, явных или подразумеваемых, относительно приведенных здесь сведений.
Событие, которое возникает, когда жест home переходит в состояние готовности или выходит из нее. Этот 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)
|
API contract |
Windows.System.Implementation.Holographic.HoloSysImplementationContract (появилось в v2.0)
|
Комментарии
Вызовы этих API завершатся сбоем во время выполнения для всех процессов, кроме компонентов операционной системы Windows. Эти API-интерфейсы могут быть изменены или удалены в будущих выпусках Windows.