sharee.bike-App/SharedBusinessLogic.Tests.Framework/Services/Geolocation/GeolocationMock.cs
2024-04-09 12:53:23 +02:00

22 lines
582 B
C#

using System;
using System.Threading;
using System.Threading.Tasks;
using ShareeBike.Services.Geolocation;
using Xamarin.Essentials;
namespace SharedBusinessLogic.Tests.Framework.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;
}
}