urbanairship-core/src/main/java/com/urbanairship/automation/AutomationDataManager.java
void deleteSchedules(@NonNull Collection<String> schedulesToDelete) {
        if (schedulesToDelete.isEmpty()) {
            return;
        }

        performSubSetOperations(schedulesToDelete, MAX_ARG_COUNT, new SetOperation<String>() {
            @Override
            public void perform(List<String> subset) {
                String inStatement = repeat("?", subset.size(), ", ");
                delete(ScheduleEntry.TABLE_NAME, ScheduleEntry.COLUMN_NAME_SCHEDULE_ID + " IN ( " + inStatement + " )", subset.toArray(new String[subset.size()]));
            }
        });
    }
/**
     * Deletes schedules given a list of IDs.
     *
     * @param schedulesToDelete The list of schedule IDs.
     */
Deletes schedules given a list of IDs.
@param schedulesToDelete The list of schedule IDs.
Deletes schedules given a list of IDs . @param schedulesToDelete The list of schedule IDs .
void deleteSchedules(@NonNull Collection<String> schedulesToDelete) {
        if (schedulesToDelete.isEmpty()) {
            return;
        }
        performSubSetOperations(schedulesToDelete, MAX_ARG_COUNT, new SetOperation<String>() {
            @Override
            public void perform(List<String> subset) {
                String inStatement = repeat("?", subset.size(), ", ");
                delete(ScheduleEntry.TABLE_NAME, ScheduleEntry.COLUMN_NAME_SCHEDULE_ID + " IN ( " + inStatement + " )", subset.toArray(new String[subset.size()]));
            }
        });
    }
void deleteSchedules ( @ NonNull Collection < String > schedulesToDelete ) { if ( schedulesToDelete . isEmpty ( ) ) { return ; } performSubSetOperations ( schedulesToDelete , MAX_ARG_COUNT , new SetOperation < String > ( ) { @ Override public void perform ( List < String > subset ) { String inStatement = repeat ( "?" , subset . size ( ) , ", " ) ; delete ( ScheduleEntry . TABLE_NAME , ScheduleEntry . COLUMN_NAME_SCHEDULE_ID + " IN ( " + inStatement + " )" , subset . toArray ( new String [ subset . size ( ) ] ) ) ; } } ) ; }
Deletes schedules given a list of IDs.
Deletes schedules given a list of IDs .