public interface TaskMonitorSupport
AsyncTasks Note that
you may attach many TaskMonitors to the same AsyncTask. They all will be
notified about task state changes in the sequence they were added.| Modifier and Type | Method and Description |
|---|---|
void |
addMonitor(TaskMonitor monitor)
Adds a
TaskMonitor which is notified about RunStateFlag changes |
void |
clearMonitors()
Removes all
TaskMonitors |
int |
getMonitorCount()
Tells how many
TaskMonitors are registered |
TaskMonitor[] |
getMonitors()
Return the current
TaskMonitors if any |
boolean |
hasMonitor()
Tells whether there are
TaskMonitors registered |
void |
removeMonitor(TaskMonitor monitor)
Removes the given
TaskMonitor from the registration |
void addMonitor(TaskMonitor monitor)
TaskMonitor which is notified about RunStateFlag changesvoid removeMonitor(TaskMonitor monitor)
TaskMonitor from the registrationTaskMonitor[] getMonitors()
TaskMonitors if anyboolean hasMonitor()
TaskMonitors registeredint getMonitorCount()
TaskMonitors are registeredvoid clearMonitors()
TaskMonitorsCopyright © 2014 EsprIT-Systems. All Rights Reserved.