SysHolographicWindowingEnvironment.HomeGestureDetected Событие
Определение
Важно!
Некоторые сведения относятся к предварительной версии продукта, в которую до выпуска могут быть внесены существенные изменения. Майкрософт не предоставляет никаких гарантий, явных или подразумеваемых, относительно приведенных здесь сведений.
Событие, возникающее при обнаружении домашнего жеста. Этот API доступен только для компонентов операционной системы Windows.
// Register
event_token HomeGestureDetected(TypedEventHandler<SysHolographicWindowingEnvironment, IInspectable const&> const& handler) const;
// Revoke with event_token
void HomeGestureDetected(event_token const* cookie) const;
// Revoke with event_revoker
SysHolographicWindowingEnvironment::HomeGestureDetected_revoker HomeGestureDetected(auto_revoke_t, TypedEventHandler<SysHolographicWindowingEnvironment, IInspectable const&> const& handler) const;
public event TypedEventHandler<SysHolographicWindowingEnvironment,object> HomeGestureDetected;
function onHomeGestureDetected(eventArgs) { /* Your code */ }
sysHolographicWindowingEnvironment.addEventListener("homegesturedetected", onHomeGestureDetected);
sysHolographicWindowingEnvironment.removeEventListener("homegesturedetected", onHomeGestureDetected);
- or -
sysHolographicWindowingEnvironment.onhomegesturedetected = onHomeGestureDetected;
Public Custom Event HomeGestureDetected 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.