public override void WillHandleNotification(NotificarePushLib library, UserNotifications.UNNotification notification) { library.HandleNotification(notification, (NSDictionary info) => { Console.WriteLine("Notification handled: {0}", info); }, (NSError error) => { Console.WriteLine("Error handling notification: {0}", error); }); }
public override void WillOpenNotification(NotificarePushLib library, NotificareNotification notification) { Console.WriteLine ("Will open notification"); }
public override void ShouldPerformSelectorWithURL(NotificarePushLib library, NSUrl url) { Console.WriteLine ("Should perform selector with URL {0}", url); }
public override void WillExecuteAction(NotificarePushLib library, NotificareNotification notification) { Console.WriteLine ("Will exexcute action"); }
public override void DidUpdateLocations(NotificarePushLib library, NSArray locations) { Console.WriteLine ("Update locations"); }
public override void OnReady(NotificarePushLib library, NSDictionary info) { // Start notifications Console.WriteLine ("Notificare ready, register for notifications"); library.RegisterForNotifications (); }
public override void DidOpenNotification(NotificarePushLib library, NotificareNotification notification) { Console.WriteLine ("Did open notification: {0}", notification); }
public override void DidReceiveLocationServiceAuthorizationStatus(NotificarePushLib library, NSDictionary status) { Console.WriteLine ("Received location service authorization status: {0}", status ["status"]); }
public override void DidFailToStartLocationServiceWithError(NotificarePushLib library, NSError error) { Console.WriteLine ("Failed to start location service: {0}", error); }
public override void DidNotExecuteAction(NotificarePushLib library, NSDictionary info) { Console.WriteLine ("Did not execute action"); }
public override void DidFailToOpenNotification(NotificarePushLib library, NotificareNotification notification) { Console.WriteLine ("Failed to open notification"); }
public override void DidCloseNotification(NotificarePushLib library, NotificareNotification notification) { Console.WriteLine ("Did close notification"); }
public override void ShouldPerformSelectorWithURL(NotificarePushLib library, NSUrl url) { Console.WriteLine ("Should perform selector: " + url.ToString()); }
public override void OnReady(NotificarePushLib library, NSDictionary info) { library.RegisterForNotifications (); }
public override void DidRangeBeaconsInRegion(NotificarePushLib library, NSArray beacons, CLRegion region) { Console.WriteLine ("Did range {0} beacons", beacons.Count); }