urbanairship-core/src/main/java/com/urbanairship/automation/AutomationEngine.java
@WorkerThread
    private void cancelGroupAlarms(Collection<String> groups) {
        for (ScheduleOperation alarmOperation : new ArrayList<>(pendingAlarmOperations)) {
            if (groups.contains(alarmOperation.group)) {
                alarmOperation.cancel();
                pendingAlarmOperations.remove(alarmOperation);
            }
        }
    }
/**
     * Cancel delay schedule handler by a group.
     *
     * @param groups A schedule identifier.
     */
Cancel delay schedule handler by a group.
@param groups A schedule identifier.
Cancel delay schedule handler by a group . @param groups A schedule identifier .
@WorkerThread
    private void cancelGroupAlarms(Collection<String> groups) {
        for (ScheduleOperation alarmOperation : new ArrayList<>(pendingAlarmOperations)) {
            if (groups.contains(alarmOperation.group)) {
                alarmOperation.cancel();
                pendingAlarmOperations.remove(alarmOperation);
            }
        }
    }
@ WorkerThread private void cancelGroupAlarms ( Collection < String > groups ) { for ( ScheduleOperation alarmOperation : new ArrayList < > ( pendingAlarmOperations ) ) { if ( groups . contains ( alarmOperation . group ) ) { alarmOperation . cancel ( ) ; pendingAlarmOperations . remove ( alarmOperation ) ; } } }
Cancel delay schedule handler by a group.
Cancel delay schedule handler by a group .