Exemple #1
0
 public static Notification ios(String alert)
 {
     var iosNotification = new IosNotification().setAlert(alert);
     var notification = new Notification().setAlert(alert);
     notification.IosNotification = iosNotification;
     return notification;
 }
Exemple #2
0
 public static Notification ios_auto_badge()
 {
     var platformNotification = new IosNotification();
     platformNotification.autoBadge();
     var notificaiton = new Notification().setAlert("");;
     notificaiton.IosNotification = platformNotification;
     return notificaiton;
 }
Exemple #3
0
        public static Notification ios_set_badge(int badge)
        {
            var platformNotification = new IosNotification();
            platformNotification.setBadge(badge);

            var notificaiton = new Notification();
            notificaiton.IosNotification = platformNotification;
            return notificaiton;
        }
Exemple #4
0
 public Notification setIos(IosNotification ios)
 {
     this.IosNotification = ios;
     return this;
 }