30 public async Task<bool>
TryOpenLink(Uri Link,
bool ShowErrorIfUnable)
34 await MainThread.InvokeOnMainThreadAsync(async () =>
36 canOpen = await Launcher.TryOpenAsync(Link);
43 if (ShowErrorIfUnable)
48 Environment.NewLine + Environment.NewLine + Link.OriginalString);
DefaultLink()
Default link opener.
Grade Supports(Uri Link)
How well the link opener supports a given link
async Task< bool > TryOpenLink(Uri Link, bool ShowErrorIfUnable)
Tries to open a link If the link was opened.
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.