26 if (Link.Scheme ==
"http" || Link.Scheme ==
"https")
29 return Grade.NotAtAll;
33 public async Task<bool>
TryOpenLink(Uri Link,
bool ShowErrorIfUnable)
37 await MainThread.InvokeOnMainThreadAsync(async () =>
39 CanOpen = await Browser.Default.OpenAsync(Link);
46 if (ShowErrorIfUnable)
51 Environment.NewLine + Environment.NewLine + Link.OriginalString);
async Task< bool > TryOpenLink(Uri Link, bool ShowErrorIfUnable)
Tries to open a link If the link was opened.
Grade Supports(Uri Link)
How well the link opener supports a given link
BrowserLink()
Browser link opener.
A strongly-typed resource class, for looking up localized strings, etc.
static string QrCodeNotUnderstood
Looks up a localized string similar to Code not understood.
static string ErrorTitle
Looks up a localized string similar to An error has occurred.
Base class that references services in the app.
static IUiService UiService
Service serializing and managing UI-related tasks.
static IReportingStringLocalizer Localizer
Localization service
Interface for classes that can open links.