示例#1
0
 public override void OnNotificationReceived(IAptkAmaNotification notification)
 {
     Debug.WriteLine($"OnNotificationReceived fired for: {JsonConvert.SerializeObject(notification)}");
     if (notification.IsTypeOf(TestNotificationTemplate))
     {
         UserDialogs.Instance.Alert(notification["alert"].ToString());
     }
 }
 /// <summary>
 /// Called after any notification reception
 /// </summary>
 /// <param name="notification">The templated notification</param>
 public abstract void OnNotificationReceived(IAptkAmaNotification notification);