Beispiel #1
0
        public async void SearchUrlDelegate()
        {
            if (isSearchingYoutube)
            {
                return;
            }

            isSearchingYoutube = true;
            YoutubeResults.Clear();
            Aerocations.ShowInfoNotification(string.Format("Searching Youtube results for '{0}'", Url));

            var results = await GetYoutubeQuery(Url);

            if (results != null)
            {
                for (int i = 0; i < results.Count; i++)
                {
                    YoutubeResults.Add(results[i]);
                }
            }

            isSearchingYoutube = false;
        }
Beispiel #2
0
 public static void EmitError(string error)
 {
     Aerocations.ShowErrorNotification(error);
 }