mirror of
https://github.com/bitwarden/android.git
synced 2024-12-28 03:48:31 +03:00
23 lines
627 B
C#
23 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;
|
|
}
|
|
}
|