Version 3.0.381

This commit is contained in:
Anja 2024-04-09 12:53:23 +02:00
parent f963c0a219
commit 3a363acf3a
1525 changed files with 60589 additions and 125098 deletions

View file

@ -0,0 +1,14 @@
using System;
namespace ShareeBike.Model.Device
{
/// <summary> Interface to get version info. </summary>
public interface IAppInfo
{
/// <summary> Gets the app version to display to user.</summary>
Version Version { get; }
/// <summary> Gets the URL to the app store. </summary>
/// <value>The store URL.</value>
string StoreUrl { get; }
}
}

View file

@ -0,0 +1,9 @@
namespace ShareeBike.Model.Device
{
public interface IDevice
{
/// <summary> Gets unitque device identifier. </summary>
/// <returns>Gets the identifies specifying device.</returns>
string GetIdentifier();
}
}

View file

@ -0,0 +1,9 @@
namespace ShareeBike.Model.Device
{
public interface IExternalBrowserService
{
/// <summary> Opens an external browser. </summary>
/// <param name="url">Url to open.</param>
void OpenUrl(string url);
}
}

View file

@ -0,0 +1,7 @@
namespace ShareeBike.Model.Device
{
public interface IGeolodationDependent
{
bool IsGeolcationEnabled { get; }
}
}

View file

@ -0,0 +1,23 @@
using Xamarin.Essentials;
namespace ShareeBike.Model.Device
{
public interface ISmartDevice
{
/// <summary> Gets unitque device identifier. </summary>
/// <returns>Gets the identifies specifying device.</returns>
string Identifier { get; }
/// <summary> Manufacturer (Samsung). </summary>
string Manufacturer { get; }
/// <summary> Device Model (SMG-950U, iPhone10,6). </summary>
string Model { get; }
/// <summary> Operation system. </summary>
DevicePlatform Platform { get; }
/// <summary> Operating System Version Number (7.0) as text</summary>
string VersionText { get; }
}
}

View file

@ -0,0 +1,15 @@
namespace ShareeBike.Model.Device
{
public interface ISpecialFolder
{
/// <summary>
/// Get the folder name of external folder to write to.
/// </summary>
/// <returns>External directory.</returns>
string GetExternalFilesDir();
/// <summary> Gets the folder name of the personal data folder dir on internal storage. </summary>
/// <returns>Directory name.</returns>
string GetInternalPersonalDir();
}
}

View file

@ -0,0 +1,8 @@
namespace ShareeBike.Model.Device
{
public interface IWebView
{
/// <summary> Clears the cookie cache for all web views. </summary>
void ClearCookies();
}
}