Please note that the contents of this offline web site may be out of date. To access the most recent documentation visit the online version .
Note that links that point to online resources are green in color and will open in a new window.
We would love it if you could give us feedback about this material by filling this form (You have to be online to fill it)
Android APIs
public interface

RunnableScheduledFuture

implements RunnableFuture <V> ScheduledFuture <V>
java.util.concurrent.RunnableScheduledFuture<V>

Class Overview

A ScheduledFuture that is Runnable . Successful execution of the run method causes completion of the Future and allows access to its results.

Summary

Public Methods
abstract boolean isPeriodic ()
Returns true if this is a periodic task.
[Expand]
Inherited Methods
From interface java.lang.Comparable
From interface java.lang.Runnable
From interface java.util.concurrent.Delayed
From interface java.util.concurrent.Future
From interface java.util.concurrent.RunnableFuture

Public Methods

public abstract boolean isPeriodic ()

Added in API level 9

Returns true if this is a periodic task. A periodic task may re-run according to some schedule. A non-periodic task can be run only once.

Returns
  • true if this task is periodic