mirror of
https://dev.azure.com/TeilRad/sharee.bike%20App/_git/Code
synced 2024-11-15 22:56:37 +01:00
20 lines
506 B
C#
20 lines
506 B
C#
using System.Threading.Tasks;
|
|
using ShareeBike.Settings;
|
|
|
|
namespace ShareeBike.ViewModel
|
|
{
|
|
public interface IPollingUpdateTaskManager
|
|
{
|
|
/// <summary>
|
|
/// Invoked when page is shown.
|
|
/// Actuates and awaits the first update process and starts a task which actuate the subsequent update tasks.
|
|
/// </summary>
|
|
Task StartAsync(PollingParameters p_oPolling = null);
|
|
|
|
/// <summary>
|
|
/// Invoked when pages is closed/ hidden.
|
|
/// Stops update process.
|
|
/// </summary>
|
|
Task StopAsync();
|
|
}
|
|
}
|