using System; using System.Collections.Generic; using System.Threading.Tasks; namespace UnityEngine.Perception.GroundTruth.Exporters { public interface IDatasetExporter { string GetRgbCaptureFilename(params(string, object)[] additionalSensorValues); void OnSimulationBegin(string directoryName); void OnSimulationEnd(); void OnAnnotationRegistered(Guid annotationId, TSpec[] values); Task ProcessPendingCaptures(List pendingCaptures, SimulationState simState); Task OnCaptureReported(int frame, int width, int height, string filename); } }