sharee.bike-App/TestFramework/Services/Geolocation/GeolocationMock.cs
Anja Müller-Meißner 573fe77e12 Version 3.0.337
2022-08-30 15:42:25 +02:00

22 lines
600 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 : IGeolocation
{
public Task<Location> 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;
}
}