using System.Threading.Tasks;
using ShareeBike.Settings;
namespace ShareeBike.ViewModel
{
public interface IPollingUpdateTaskManager
{
///
/// Invoked when page is shown.
/// Actuates and awaits the first update process and starts a task which actuate the subsequent update tasks.
///
Task StartAsync(PollingParameters p_oPolling = null);
///
/// Invoked when pages is closed/ hidden.
/// Stops update process.
///
Task StopAsync();
}
}