mirror of
https://dev.azure.com/TeilRad/sharee.bike%20App/_git/Code
synced 2024-11-13 22:06:29 +01:00
21 lines
592 B
C#
21 lines
592 B
C#
|
using TINK.Settings;
|
|||
|
using System.Threading.Tasks;
|
|||
|
|
|||
|
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();
|
|||
|
}
|
|||
|
}
|