Java.Util.Concurrent.ScheduledThreadPoolExecutor.Schedule Method
Creates and executes a one-shot action that becomes enabled after the given delay.

Syntax

[Android.Runtime.Register("schedule", "(Ljava/lang/Runnable;JLjava/util/concurrent/TimeUnit;)Ljava/util/concurrent/ScheduledFuture;", "GetSchedule_Ljava_lang_Runnable_JLjava_util_concurrent_TimeUnit_Handler")]
public virtual IScheduledFuture Schedule (Java.Lang.IRunnable command, long delay, TimeUnit unit)

Parameters

command
the task to execute
delay
the time from now to delay execution
unit
the time unit of the delay parameter

Returns

Documentation for this section has not yet been entered.

Exceptions

TypeReason
Java.Util.Concurrent.RejectedExecutionException
Java.Lang.NullPointerException

Remarks

Creates and executes a one-shot action that becomes enabled after the given delay.

[Android Documentation]

Requirements

Namespace: Java.Util.Concurrent
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1