Interface Job


  • public interface Job
    This interface defines a job that can be run on a separate thread and that can be cancelled. It can be posted to a SerialJobRunner.
    • Method Detail

      • run

        void run()
        Runs the job.
      • cancel

        void cancel()
        Called when the job is cancelled. This can also be called if run() hasn't been called. This method is called on the same thread as SerialJobRunner.cancelJobs().