Condividi tramite


SpatialLocator.PositionalTrackingDeactivating Evento

Definizione

Si verifica quando il sistema di posizione spaziale del dispositivo viene disattivato a causa dell'inattività.

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

Tipo evento

Si applica a