namespace UnityEditor.Build.Pipeline.Interfaces
{
///
/// Base interface for the build progress tracker
///
public interface IProgressTracker : IContextObject
{
///
/// Number of build tasks to run
///
int TaskCount { get; set; }
///
/// Current 0.0f to 1.0f progress though the TaskCount
///
float Progress { get; }
///
/// Increments and updated the title of the progress bar.
///
/// The title to display on the progress bar.
/// false if the build should not continue due to user interaction with the progress bar; otherwise, true.
bool UpdateTask(string taskTitle);
///
/// Updates the secondary information display of the progress bar.
///
/// The secondary information to display on the progress bar.
/// false if the build should not continue due to user interaction with the progress bar; otherwise, true.
bool UpdateInfo(string taskInfo);
}
}