sharee.bike-App/TINKLib/ViewModel/IPollingUpdateTaskManager.cs
Anja Müller-Meißner 573fe77e12 Version 3.0.337
2022-08-30 15:42:25 +02:00

21 lines
592 B
C#

using System.Threading.Tasks;
using TINK.Settings;
namespace TINK.ViewModel
{
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);
/// <summary>
/// Invoked when pages is closed/ hidden.
/// Stops update process.
/// </summary>
Task StopUpdatePeridically();
}
}