Esempio n. 1
0
        public WebViewPage()
        {
            InitializeComponent();
            var service = new HueService("", "", "");
            var url     = service.GetHueURL("", "");

            webView.Source     = new Uri(url);
            webView.Navigated += WebView_Navigated;
        }
Esempio n. 2
0
 /// <summary>
 /// Opens the browser to Hue Auth
 /// </summary>
 /// <param name="obj"></param>
 private async void ExecuteAuthBrowserCommandAsync(object obj)
 {
     var service = new HueService("", "", "");
     await Browser.OpenAsync(service.GetHueURL("", ""), BrowserLaunchMode.SystemPreferred);
 }