sharee.bike-App/TINKLib/ViewModel/IPollingUpdateTaskManager.cs

21 lines
523 B
C#
Raw Normal View History

2022-08-30 15:42:25 +02:00
using System.Threading.Tasks;
using TINK.Settings;
2021-05-13 20:03:07 +02:00
namespace TINK.ViewModel
{
2022-09-06 16:08:19 +02:00
public interface IPollingUpdateTaskManager
{
/// <summary>
/// Invoked when page is shown.
/// Actuates and awaits the first update process and starts a task wich actuate the subseqent update tasks.
/// </summary>
Task StartUpdateAyncPeridically(PollingParameters p_oPolling = null);
2021-05-13 20:03:07 +02:00
2022-09-06 16:08:19 +02:00
/// <summary>
/// Invoked when pages is closed/ hidden.
/// Stops update process.
/// </summary>
Task StopUpdatePeridically();
}
2021-05-13 20:03:07 +02:00
}