mirror of
https://dev.azure.com/TeilRad/sharee.bike%20App/_git/Code
synced 2024-11-16 07:06:33 +01:00
24 lines
No EOL
735 B
C#
24 lines
No EOL
735 B
C#
using TINK.Model.Device;
|
|
using Xamarin.Forms;
|
|
|
|
namespace TINK.Model.Device
|
|
{
|
|
public class SpecialFolder : ISpecialFolder
|
|
{
|
|
/// <summary>
|
|
/// Get the folder name of external folder to write to.
|
|
/// </summary>
|
|
/// <returns></returns>
|
|
public string GetExternalFilesDir()
|
|
{
|
|
return DependencyService.Get<ISpecialFolder>().GetExternalFilesDir();
|
|
}
|
|
|
|
/// <summary> Gets the folder name of the personal data folder dir on internal storage. </summary>
|
|
/// <returns>Directory name.</returns>
|
|
public string GetInternalPersonalDir()
|
|
{
|
|
return DependencyService.Get<ISpecialFolder>().GetInternalPersonalDir();
|
|
}
|
|
}
|
|
} |