mirror of
https://github.com/bitwarden/android.git
synced 2024-12-28 20:08:43 +03:00
24 lines
627 B
C#
24 lines
627 B
C#
|
using System;
|
|||
|
|
|||
|
namespace Bit.Droid.Accessibility
|
|||
|
{
|
|||
|
public class Browser
|
|||
|
{
|
|||
|
public Browser(string packageName, string uriViewId)
|
|||
|
{
|
|||
|
PackageName = packageName;
|
|||
|
UriViewId = uriViewId;
|
|||
|
}
|
|||
|
|
|||
|
public Browser(string packageName, string uriViewId, Func<string, string> getUriFunction)
|
|||
|
: this(packageName, uriViewId)
|
|||
|
{
|
|||
|
GetUriFunction = getUriFunction;
|
|||
|
}
|
|||
|
|
|||
|
public string PackageName { get; set; }
|
|||
|
public string UriViewId { get; set; }
|
|||
|
public Func<string, string> GetUriFunction { get; set; } = (s) => s;
|
|||
|
}
|
|||
|
}
|