다음을 통해 공유


SpatialLocator.PositionalTrackingDeactivating 이벤트

정의

비활성으로 인해 디바이스의 공간 위치 시스템이 비활성화되는 경우에 발생합니다.

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

이벤트 유형

적용 대상