mirror of
https://dev.azure.com/TeilRad/sharee.bike%20App/_git/Code
synced 2024-12-23 07:36:31 +01:00
21 lines
530 B
C#
21 lines
530 B
C#
using System;
|
|
using System.Threading.Tasks;
|
|
using TINK.Model.Services.Geolocation;
|
|
using Xamarin.Essentials;
|
|
|
|
namespace TestTINKLib.Mocks.Services
|
|
{
|
|
public class GeolocationMock : IGeolocation
|
|
{
|
|
|
|
public Task<Location> GetAsync(DateTime? timeStamp = null)
|
|
{
|
|
throw new NotImplementedException();
|
|
}
|
|
|
|
/// <summary> If true location data returned is simulated.</summary>
|
|
public bool IsSimulation { get => true; }
|
|
|
|
public bool IsGeolcationEnabled => true;
|
|
}
|
|
}
|