35 public async Task<bool>
TryOpenLink(Uri Link,
bool ShowErrorIfUnable)
37 string Url = Link.OriginalString.Replace(
"%40",
"@");
47 if (ShowErrorIfUnable)
56 ServiceRef.TagProfile.HasThing =
true;
const string IotDisco
The IoT Discovery URI Scheme (iotdisco)
A set of never changing property constants and helpful values.
Opens Things Discovery links.
async Task< bool > TryOpenLink(Uri Link, bool ShowErrorIfUnable)
Tries to open a link
ThingsDiscoveryLink()
Opens Things Discovery links.
Grade Supports(Uri Link)
How well the link opener supports a given link
A strongly-typed resource class, for looking up localized strings, etc.
static string InvalidIoTDiscoveryCode
Looks up a localized string similar to Invalid IoT Discovery Code.
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
static IThingRegistryOrchestratorService ThingRegistryOrchestratorService
Thing Registry orchestrator service.
static IXmppService XmppService
The XMPP service for XMPP communication.
Interface for classes that can open links.