mirror of
https://dev.azure.com/TeilRad/sharee.bike%20App/_git/Code
synced 2025-06-21 21:46:27 +02:00
Version 3.0.381
This commit is contained in:
parent
f963c0a219
commit
3a363acf3a
1525 changed files with 60589 additions and 125098 deletions
14
SharedBusinessLogic/Model/Device/IAppInfo.cs
Normal file
14
SharedBusinessLogic/Model/Device/IAppInfo.cs
Normal 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; }
|
||||
}
|
||||
}
|
9
SharedBusinessLogic/Model/Device/IDevice.cs
Normal file
9
SharedBusinessLogic/Model/Device/IDevice.cs
Normal 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();
|
||||
}
|
||||
}
|
|
@ -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);
|
||||
}
|
||||
}
|
|
@ -0,0 +1,7 @@
|
|||
namespace ShareeBike.Model.Device
|
||||
{
|
||||
public interface IGeolodationDependent
|
||||
{
|
||||
bool IsGeolcationEnabled { get; }
|
||||
}
|
||||
}
|
23
SharedBusinessLogic/Model/Device/ISmartDevice.cs
Normal file
23
SharedBusinessLogic/Model/Device/ISmartDevice.cs
Normal 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; }
|
||||
}
|
||||
}
|
15
SharedBusinessLogic/Model/Device/ISpecialFolder.cs
Normal file
15
SharedBusinessLogic/Model/Device/ISpecialFolder.cs
Normal 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();
|
||||
}
|
||||
}
|
8
SharedBusinessLogic/Model/Device/IWebView.cs
Normal file
8
SharedBusinessLogic/Model/Device/IWebView.cs
Normal file
|
@ -0,0 +1,8 @@
|
|||
namespace ShareeBike.Model.Device
|
||||
{
|
||||
public interface IWebView
|
||||
{
|
||||
/// <summary> Clears the cookie cache for all web views. </summary>
|
||||
void ClearCookies();
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue