lightbulb_outline Help shape the future of the Google Play Console, Android Studio, and Firebase. Start survey
added in API level 9

RunnableScheduledFuture

public interface RunnableScheduledFuture
implements RunnableFuture<V>, ScheduledFuture<V>

java.util.concurrent.RunnableScheduledFuture<V>


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

See also:

Summary

Public methods

abstract boolean isPeriodic()

Returns true if this task is periodic.

Inherited methods

Public methods

isPeriodic

added in API level 9
public abstract boolean isPeriodic ()

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

Returns
boolean true if this task is periodic