IScheduledFuture IScheduledFuture Interface

Definition

A delayed result-bearing action that can be cancelled.

[Android.Runtime.Register("java/util/concurrent/ScheduledFuture", "", "Java.Util.Concurrent.IScheduledFutureInvoker", ApiSince=1)]
[Java.Interop.JavaTypeParameters(new System.String[] { "V" })]
public interface IScheduledFuture : IDisposable, Java.Util.Concurrent.IDelayed, Java.Util.Concurrent.IFuture
type IScheduledFuture = interface
    interface IDelayed
    interface IComparable
    interface IJavaObject
    interface IDisposable
    interface IFuture
Derived
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)

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)

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