Example #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);
        }
Example #2
0
        public static Notification ios_incr_badge(int badge)
        {
            var platformNotification = new IosNotification();

            platformNotification.incrBadge(badge);
            var notificaiton = new Notification();

            notificaiton.IosNotification = platformNotification;
            return(notificaiton);
        }
Example #3
0
        public static Notification ios_auto_badge()
        {
            var platformNotification = new IosNotification();

            platformNotification.autoBadge();
            var notificaiton = new Notification().setAlert("");;

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