Initial version.

This commit is contained in:
Oliver Hauff 2021-05-13 20:03:07 +02:00
parent 193aaa1a56
commit b72c67a53e
228 changed files with 25924 additions and 0 deletions

View file

@ -0,0 +1,14 @@
using System;
namespace TINK.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 TINK.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 TINK.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 TINK.Model.Device
{
public interface IGeolodationDependent
{
bool IsGeolcationEnabled { get; }
}
}

View file

@ -0,0 +1,15 @@
namespace TINK.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 TINK.Model.Device
{
public interface IWebView
{
/// <summary> Clears the cookie cache for all web views. </summary>
void ClearCookies();
}
}