using System;
using System.Threading.Tasks;
using TINK.Model.Device;
using Xamarin.Essentials;
namespace TINK.Model.Services.Geolocation
{
/// Query geolocation.
public interface IGeolocation : IGeolodationDependent
{
/// Gets the current location.
/// Time when geolocation is of interest. Is used to determine for some implementations whether cached geoloation can be used or not.
///
Task GetAsync(DateTime? timeStamp = null);
/// If true location data returned is simulated.
bool IsSimulation { get; }
}
}