sharee.bike-App/TestFramework/Services/Geolocation/GeolocationMock.cs
2023-04-05 15:02:10 +02:00

23 lines
554 B
C#

using System;
using System.Threading;
using System.Threading.Tasks;
using TINK.Services.Geolocation;
using Xamarin.Essentials;
namespace TestFramework.Model.Services.Geolocation
{
public class GeolocationMock : IGeolocationService
{
public Task<IGeolocation> GetAsync(CancellationToken? cancelToken = null, DateTime? timeStamp = null)
{
throw new NotImplementedException();
}
/// <summary> If true location data returned is simulated.</summary>
public bool IsSimulation { get => true; }
public bool IsGeolcationEnabled => true;
}
}