mirror of
https://dev.azure.com/TeilRad/sharee.bike%20App/_git/Code
synced 2024-11-05 10:36:30 +01:00
22 lines
546 B
C#
22 lines
546 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;
|
|
}
|
|
}
|