IRunnableScheduledFuture IRunnableScheduledFuture Interface

Definition

[Android.Runtime.Register("java/util/concurrent/RunnableScheduledFuture", "", "Java.Util.Concurrent.IRunnableScheduledFutureInvoker", ApiSince=9)]
[Java.Interop.JavaTypeParameters(new System.String[] { "V" })]
public interface IRunnableScheduledFuture : IDisposable, Java.Util.Concurrent.IRunnableFuture, Java.Util.Concurrent.IScheduledFuture
type IRunnableScheduledFuture = interface
    interface IRunnableFuture
    interface IRunnable
    interface IJavaObject
    interface IDisposable
    interface IFuture
    interface IScheduledFuture
    interface IDelayed
    interface IComparable
Attributes
Implements

Remarks

Android platform documentation

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Properties

Handle Handle

Gets the JNI value of the underlying Android object.

(Inherited from IJavaObject)
IsCancelled IsCancelled

Returns true if this task was cancelled before it completed normally.

(Inherited from IFuture)
IsDone IsDone

Returns true if this task completed.

(Inherited from IFuture)
IsPeriodic IsPeriodic

Returns true if this is a periodic task.

Methods

Cancel(Boolean) Cancel(Boolean)

Attempts to cancel execution of this task.

(Inherited from IFuture)
CompareTo(Object) CompareTo(Object) Inherited from IComparable
Get() Get()

Waits if necessary for the computation to complete, and then retrieves its result.

(Inherited from IFuture)
Get(Int64, TimeUnit) Get(Int64, TimeUnit)

Waits if necessary for at most the given time for the computation to complete, and then retrieves its result, if available.

(Inherited from IFuture)
GetDelay(TimeUnit) GetDelay(TimeUnit)

Returns the remaining delay associated with this object, in the given time unit.

(Inherited from IDelayed)
Run() Run()

Sets this Future to the result of its computation unless it has been cancelled.

(Inherited from IRunnableFuture)

Extension Methods

JavaCast<TResult>(IJavaObject) JavaCast<TResult>(IJavaObject)

Performs an Android runtime-checked type conversion.

JavaCast<TResult>(IJavaObject) JavaCast<TResult>(IJavaObject)
GetAsync(IFuture) GetAsync(IFuture)
GetAsync(IFuture, Int64, TimeUnit) GetAsync(IFuture, Int64, TimeUnit)

Applies to