Share via


SysHolographicWindowingEnvironment.HomeGestureDetected Event

Definition

The event that is raised when the home gesture is detected. This API is available only to components of the Windows operating system.

// 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) 

Event Type

Windows requirements

Device family
Windows Holographic System Implementation Extension SDK (introduced in 10.0.18362.0)
API contract
Windows.System.Implementation.Holographic.HoloSysImplementationContract (introduced in v2.0)

Remarks

Calls to these APIs will fail at runtime for all processes other than components of the Windows operating system. These APIs may be modified or removed in future Windows releases.

Applies to