2021-07-12 21:31:46 +02:00
|
|
|
|
using System;
|
2021-08-28 10:04:10 +02:00
|
|
|
|
using System.Threading;
|
2021-07-12 21:31:46 +02:00
|
|
|
|
using System.Threading.Tasks;
|
2022-04-10 17:38:34 +02:00
|
|
|
|
using TINK.Services.Geolocation;
|
2021-07-12 21:31:46 +02:00
|
|
|
|
using Xamarin.Essentials;
|
|
|
|
|
|
2021-11-14 23:27:29 +01:00
|
|
|
|
namespace TestFramework.Model.Services.Geolocation
|
2021-07-12 21:31:46 +02:00
|
|
|
|
{
|
|
|
|
|
public class GeolocationMock : IGeolocation
|
|
|
|
|
{
|
|
|
|
|
|
2022-08-30 15:42:25 +02:00
|
|
|
|
public Task<Location> GetAsync(CancellationToken? cancelToken = null, DateTime? timeStamp = null)
|
2021-07-12 21:31:46 +02:00
|
|
|
|
{
|
|
|
|
|
throw new NotImplementedException();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// <summary> If true location data returned is simulated.</summary>
|
|
|
|
|
public bool IsSimulation { get => true; }
|
|
|
|
|
|
|
|
|
|
public bool IsGeolcationEnabled => true;
|
|
|
|
|
}
|
|
|
|
|
}
|