Neuron®
The Neuron® is the basis for the creation of open and secure federated networks for smart societies.
Loading...
Searching...
No Matches
XmppLink.cs
3
5{
9 public class XmppLink : ILinkOpener
10 {
14 public XmppLink()
15 {
16 }
17
23 public Grade Supports(Uri Link)
24 {
25 return Link.Scheme.Equals(Constants.UriSchemes.Xmpp, StringComparison.OrdinalIgnoreCase) ? Grade.Ok : Grade.NotAtAll;
26 }
27
34 public async Task<bool> TryOpenLink(Uri Link, bool ShowErrorIfUnable)
35 {
36 return await ChatViewModel.ProcessXmppUri(Link.OriginalString);
37 }
38 }
39}
const string Xmpp
XMPP URI Scheme (xmpp)
Definition: Constants.cs:134
A set of never changing property constants and helpful values.
Definition: Constants.cs:7
The view model to bind to when displaying the list of contacts.
static async Task< bool > ProcessXmppUri(string Uri)
Processes an XMPP URI
Grade
Grade enumeration
Definition: Grade.cs:7