urbanairship-core/src/main/java/com/urbanairship/automation/AutomationEngine.java
public PendingResult<Void> cancelGroups(@NonNull final Collection<String> groups) {
        final PendingResult<Void> pendingResult = new PendingResult<>();

        backgroundHandler.post(new Runnable() {
            @Override
            public void run() {
                cancelGroupAlarms(groups);
                dataManager.deleteGroups(groups);
                Logger.verbose("AutomationEngine - Canceled schedule groups: " + groups);
                pendingResult.setResult(null);
            }
        });

        return pendingResult;
    }
/**
     * Cancels schedule groups.
     *
     * @param groups A collection of groups.
     * @return A pending result.
     */
Cancels schedule groups.
@param groups A collection of groups.
@return A pending result.
Cancels schedule groups . @param groups A collection of groups . @return A pending result .
public PendingResult<Void> cancelGroups(@NonNull final Collection<String> groups) {
        final PendingResult<Void> pendingResult = new PendingResult<>();
        backgroundHandler.post(new Runnable() {
            @Override
            public void run() {
                cancelGroupAlarms(groups);
                dataManager.deleteGroups(groups);
                Logger.verbose("AutomationEngine - Canceled schedule groups: " + groups);
                pendingResult.setResult(null);
            }
        });
        return pendingResult;
    }
public PendingResult < Void > cancelGroups ( @ NonNull final Collection < String > groups ) { final PendingResult < Void > pendingResult = new PendingResult < > ( ) ; backgroundHandler . post ( new Runnable ( ) { @ Override public void run ( ) { cancelGroupAlarms ( groups ) ; dataManager . deleteGroups ( groups ) ; Logger . verbose ( "AutomationEngine - Canceled schedule groups: " + groups ) ; pendingResult . setResult ( null ) ; } } ) ; return pendingResult ; }
Cancels schedule groups.
Cancels schedule groups .