csharp-sdk-upm/Storage/Source/Internal/AppRouter/IAppRouterController.cs

23 lines
574 B
C#
Raw Normal View History

2019-07-19 15:01:34 +08:00
using System;
using System.Threading;
using System.Threading.Tasks;
namespace LeanCloud.Storage.Internal
{
public interface IAppRouterController
{
AppRouterState Get();
/// <summary>
/// Start refresh the app router.
/// </summary>
/// <returns></returns>
Task RefreshAsync();
void Clear();
/// <summary>
/// Query the app router.
/// </summary>
/// <returns>New AppRouterState</returns>
Task<AppRouterState> QueryAsync(CancellationToken cancellationToken);
}
}