Package com.android

Class ProgressManagerAdapter


  • public abstract class ProgressManagerAdapter
    extends java.lang.Object
    An 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 Detail

      • ProgressManagerAdapter

        public ProgressManagerAdapter()
    • 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()