sharee.bike-App/TestTINKLib/Mocks/Device/SpecialFolderMock.cs
2021-07-12 21:31:46 +02:00

24 lines
641 B
C#

using TINK.Model.Device;
namespace TestTINKLib.Mocks.Device
{
public class SpecialFolderMock : ISpecialFolder
{
/// <summary>
/// Get the folder name of external folder to write to.
/// </summary>
/// <returns></returns>
public string GetExternalFilesDir()
{
return string.Empty;
}
/// <summary> Gets the folder name of the personal data folder dir on internal storage. </summary>
/// <returns>Directory name.</returns>
public string GetInternalPersonalDir()
{
return System.IO.Path.GetTempPath();
}
}
}