SpatialLocator.PositionalTrackingDeactivating Ereignis
Definition
Wichtig
Einige Informationen beziehen sich auf Vorabversionen, die vor dem Release ggf. grundlegend überarbeitet werden. Microsoft übernimmt hinsichtlich der hier bereitgestellten Informationen keine Gewährleistungen, seien sie ausdrücklich oder konkludent.
Tritt auf, wenn das räumliche Standortsystem des Geräts aufgrund von Inaktivität deaktiviert wird.
// Register
event_token PositionalTrackingDeactivating(TypedEventHandler<SpatialLocator, SpatialLocatorPositionalTrackingDeactivatingEventArgs const&> const& handler) const;
// Revoke with event_token
void PositionalTrackingDeactivating(event_token const* cookie) const;
// Revoke with event_revoker
SpatialLocator::PositionalTrackingDeactivating_revoker PositionalTrackingDeactivating(auto_revoke_t, TypedEventHandler<SpatialLocator, SpatialLocatorPositionalTrackingDeactivatingEventArgs const&> const& handler) const;
public event TypedEventHandler<SpatialLocator,SpatialLocatorPositionalTrackingDeactivatingEventArgs> PositionalTrackingDeactivating;
function onPositionalTrackingDeactivating(eventArgs) { /* Your code */ }
spatialLocator.addEventListener("positionaltrackingdeactivating", onPositionalTrackingDeactivating);
spatialLocator.removeEventListener("positionaltrackingdeactivating", onPositionalTrackingDeactivating);
- or -
spatialLocator.onpositionaltrackingdeactivating = onPositionalTrackingDeactivating;
Public Custom Event PositionalTrackingDeactivating As TypedEventHandler(Of SpatialLocator, SpatialLocatorPositionalTrackingDeactivatingEventArgs)