using System;
using ShareeBike.Model.Device;
using Xamarin.Forms;
[assembly: Dependency(typeof(ShareeBike.iOS.Device.SpecialFolder))]
namespace ShareeBike.iOS.Device
{
public class SpecialFolder : ISpecialFolder
{
///
/// Get the folder name of external folder to write to.
///
///
public string GetExternalFilesDir()
{
return Environment.GetFolderPath(Environment.SpecialFolder.Personal);
}
/// Gets the folder name of the personal data folder dir on internal storage.
/// Directory name.
public string GetInternalPersonalDir()
{
return Environment.GetFolderPath(Environment.SpecialFolder.Personal);
}
}
}