public List<Notification> getByType(Notification.Type type) {
        return type == Notification.Type.ALL ? getNotificationsFromSharedPreferences() : getNotificationsFromSharedPreferences(getNotificationIdsByType(type));
    }
List of local notifications from given type.

@param type The notification life cycle type
src/android/Manager.java