Package com.android
Class ProgressManagerAdapter
- java.lang.Object
-
- com.android.ProgressManagerAdapter
-
public abstract class ProgressManagerAdapter extends java.lang.ObjectAn adapter for accessing environment-dependent progress and cancellation functionality. By default all public methods of this class have no effect. See subclasses for descriptions of behavior in specific environments.
-
-
Constructor Summary
Constructors Constructor Description ProgressManagerAdapter()
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description static voidcheckCanceled()Checks if the progress indicator associated with the current thread has been canceled and, if so, throws an unchecked exception.protected abstract voiddoCheckCanceled()protected static voidsetInstance(ProgressManagerAdapter instance)
-
-
-
Method Detail
-
checkCanceled
public static void checkCanceled()
Checks if the progress indicator associated with the current thread has been canceled and, if so, throws an unchecked exception. The exact type of the exception is environment-dependent.
-
doCheckCanceled
protected abstract void doCheckCanceled()
-
setInstance
protected static void setInstance(@NonNull ProgressManagerAdapter instance)
-
-