urbanairship-core/src/main/java/com/urbanairship/automation/AutomationEngine.java
public PendingResult<Void> cancelAll() {
        final PendingResult<Void> pendingResult = new PendingResult<>();

        backgroundHandler.post(new Runnable() {
            @Override
            public void run() {
                dataManager.deleteAllSchedules();
                cancelAlarms();
                Logger.verbose("AutomationEngine - Canceled all schedules.");
                pendingResult.setResult(null);
            }
        });

        return pendingResult;
    }
/**
     * Cancels all schedules.
     *
     * @return A pending result.
     */
Cancels all schedules.
@return A pending result.
Cancels all schedules . @return A pending result .
public PendingResult<Void> cancelAll() {
        final PendingResult<Void> pendingResult = new PendingResult<>();
        backgroundHandler.post(new Runnable() {
            @Override
            public void run() {
                dataManager.deleteAllSchedules();
                cancelAlarms();
                Logger.verbose("AutomationEngine - Canceled all schedules.");
                pendingResult.setResult(null);
            }
        });
        return pendingResult;
    }
public PendingResult < Void > cancelAll ( ) { final PendingResult < Void > pendingResult = new PendingResult < > ( ) ; backgroundHandler . post ( new Runnable ( ) { @ Override public void run ( ) { dataManager . deleteAllSchedules ( ) ; cancelAlarms ( ) ; Logger . verbose ( "AutomationEngine - Canceled all schedules." ) ; pendingResult . setResult ( null ) ; } } ) ; return pendingResult ; }
Cancels all schedules.
Cancels all schedules .