/** shortcut */ public static Notification ios_auto_badge() { return newBuilder() .addPlatformNotification(IosNotification.newBuilder().setAlert("").autoBadge().build()) .build(); }
/** shortcut */ public static Notification ios_incr_badge(int badge) { return newBuilder() .addPlatformNotification(IosNotification.newBuilder().setAlert("").incrBadge(badge).build()) .build(); }
/** shortcut */ public static Notification ios(String alert, Map<String, String> extras) { return newBuilder() .addPlatformNotification( IosNotification.newBuilder().setAlert(alert).addExtras(extras).build()) .build(); }