Navigator.TaskRemovedBehavior

public static abstract @interface Navigator.TaskRemovedBehavior implements Annotation

TaskRemovedBehavior is a set of constants that may be passed to Navigator.setTaskRemovedBehavior(int) to configure how the background service responds when the user removes away the application's task from Android's recents screen.

Constant Summary

int CONTINUE_SERVICE The default state, indicating that navigation guidance, location updates, and notification should persist after the user removes the task.
int QUIT_SERVICE Indicates that navigation guidance, location updates, and notification should shut down immediately when the user removes the task.

Inherited Method Summary

Constants

public static final int CONTINUE_SERVICE

The default state, indicating that navigation guidance, location updates, and notification should persist after the user removes the task.

Constant Value: 0

public static final int QUIT_SERVICE

Indicates that navigation guidance, location updates, and notification should shut down immediately when the user removes the task.

Constant Value: 1