Ejemplo n.º 1
0
        public static async void TestRun()
        {
            var file = await Package.Current.InstalledLocation.GetFileAsync(@"Assets\Netherlands.png");

            var testNotification = new Notification("Test 1", "Test 1");
            var poiNotification  = new PoiNotification("Test2", file.Path, "Test2");

            Debug.WriteLine("Started the test");
            Test1(testNotification);
            Test2(testNotification);
            Test3(poiNotification);
            Test4();
            Debug.WriteLine("Finished the test");
        }
Ejemplo n.º 2
0
 public static void Test3(PoiNotification n)
 {
     Debug.WriteLine("Third test");
     NotificationSystem.SenToastificationAsync(n);
 }