private void ids(JSONArray args, CallbackContext callbackContext) {
        int type    = args.optInt(0);
        Manager mgr = getManager();
        List<Integer> ids;

        switch (type) {
            case 0:
                ids = mgr.getNotificationIds();
                break;
            case 1:
                ids = mgr.getNotificationIdsByType(SCHEDULED);
                break;
            case 2:
                ids = mgr.getNotificationIdsByType(TRIGGERED);
                break;
            default:
                ids = new ArrayList<Integer>(0);
                break;
        }

        callbackContext.success(new JSONArray(ids));
    }
Set of IDs from all existent notifications.
@param args Type of notifications to get IDs from.
src/android/LocalNotification.java