urbanairship-core/src/main/java/com/urbanairship/automation/AutomationEngine.java
@WorkerThread
    private void cancelScheduleAlarms(Collection<String> scheduleIds) {
        for (ScheduleOperation alarmOperation : new ArrayList<>(pendingAlarmOperations)) {
            if (scheduleIds.contains(alarmOperation.scheduleId)) {
                alarmOperation.cancel();
                pendingAlarmOperations.remove(alarmOperation);
            }
        }
    }
/**
     * Cancel delayed schedule runnables.
     *
     * @param scheduleIds A set of identifiers to cancel.
     */
Cancel delayed schedule runnables.
@param scheduleIds A set of identifiers to cancel.
Cancel delayed schedule runnables . @param scheduleIds A set of identifiers to cancel .
@WorkerThread
    private void cancelScheduleAlarms(Collection<String> scheduleIds) {
        for (ScheduleOperation alarmOperation : new ArrayList<>(pendingAlarmOperations)) {
            if (scheduleIds.contains(alarmOperation.scheduleId)) {
                alarmOperation.cancel();
                pendingAlarmOperations.remove(alarmOperation);
            }
        }
    }
@ WorkerThread private void cancelScheduleAlarms ( Collection < String > scheduleIds ) { for ( ScheduleOperation alarmOperation : new ArrayList < > ( pendingAlarmOperations ) ) { if ( scheduleIds . contains ( alarmOperation . scheduleId ) ) { alarmOperation . cancel ( ) ; pendingAlarmOperations . remove ( alarmOperation ) ; } } }
Cancel delayed schedule runnables.
Cancel delayed schedule runnables .