using ShareeBike.Model.Device; using Xamarin.Forms; namespace ShareeBike.Model.Device { public class SpecialFolder : ISpecialFolder { /// /// Get the folder name of external folder to write to. /// /// public string GetExternalFilesDir() { return DependencyService.Get().GetExternalFilesDir(); } /// Gets the folder name of the personal data folder dir on internal storage. /// Directory name. public string GetInternalPersonalDir() { return DependencyService.Get().GetInternalPersonalDir(); } } }