SpatialLocator.PositionalTrackingDeactivating SpatialLocator.PositionalTrackingDeactivating SpatialLocator.PositionalTrackingDeactivating SpatialLocator.PositionalTrackingDeactivating SpatialLocator.PositionalTrackingDeactivating Event

Definition

Occurs when the device's spatial location system is deactivating due to inactivity.

public : event TypedEventHandler<SpatialLocator, SpatialLocatorPositionalTrackingDeactivatingEventArgs> PositionalTrackingDeactivating
// Register
event_token PositionalTrackingDeactivating(TypedEventHandler<SpatialLocator, SpatialLocatorPositionalTrackingDeactivatingEventArgs> const& handler) const;

// Revoke with event_token
void PositionalTrackingDeactivating(event_token const& cookie) const;

// Revoke with event_revoker
PositionalTrackingDeactivating_revoker PositionalTrackingDeactivating(auto_revoke_t, TypedEventHandler<SpatialLocator, SpatialLocatorPositionalTrackingDeactivatingEventArgs> const& handler) const;
public event TypedEventHandler<SpatialLocator, SpatialLocatorPositionalTrackingDeactivatingEventArgs> PositionalTrackingDeactivating
Public Event PositionalTrackingDeactivating As TypedEventHandler (Of SpatialLocator, SpatialLocatorPositionalTrackingDeactivatingEventArgs)
function onPositionalTrackingDeactivating(eventArgs){/* Your code */}


spatialLocator.addEventListener("positionaltrackingdeactivating", onPositionalTrackingDeactivating);
spatialLocator.removeEventListener("positionaltrackingdeactivating", onPositionalTrackingDeactivating);