sharee.bike-App/SharedBusinessLogic/ViewModel/IdlePollingUpdateTaskManager.cs

21 lines
629 B
C#
Raw Normal View History

2022-08-30 15:42:25 +02:00
using System.Threading.Tasks;
2024-04-09 12:53:23 +02:00
using ShareeBike.Settings;
2021-05-13 20:03:07 +02:00
2024-04-09 12:53:23 +02:00
namespace ShareeBike.ViewModel
2021-05-13 20:03:07 +02:00
{
2022-09-06 16:08:19 +02:00
/// <summary>Polling update task manager to handle calls if no update has to be performed.</summary>
/// <remarks> Object MapPage calls OnDisappearing for some reasons after first start after installation before OnAppearing. This requires a IdlePollingUpdateManager to exist.</remarks>
public class IdlePollingUpdateTaskManager : IPollingUpdateTaskManager
{
2023-08-31 12:20:06 +02:00
public async Task StartAsync(PollingParameters p_oPeriode)
2022-09-06 16:08:19 +02:00
{
await Task.CompletedTask;
}
2021-05-13 20:03:07 +02:00
2023-08-31 12:20:06 +02:00
public async Task StopAsync()
2022-09-06 16:08:19 +02:00
{
await Task.CompletedTask;
}
}
2021-05-13 20:03:07 +02:00
}