SysHolographicWindowingEnvironment.HomeGestureDetected Event
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
TypedEventHandler<SysHolographicWindowingEnvironment,Object>
TypedEventHandler<SysHolographicWindowingEnvironment,IInspectable>
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.