// Copyright (c) Microsoft Corporation. // Licensed under the MIT License. using UnityEngine.EventSystems; namespace Microsoft.MixedReality.Toolkit.SpatialAwareness { public interface IMixedRealitySpatialAwarenessObservationHandler : IEventSystemHandler { /// /// Called when a spatial observer adds a new observation. /// /// Data describing the event. void OnObservationAdded(MixedRealitySpatialAwarenessEventData eventData); /// /// Called when a spatial observer updates a previous observation. /// /// Data describing the event. void OnObservationUpdated(MixedRealitySpatialAwarenessEventData eventData); /// /// Called when a spatial observer removes a previous observation. /// /// Data describing the event. void OnObservationRemoved(MixedRealitySpatialAwarenessEventData eventData); } }