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:Java.Util.Concurrent.IScheduledExecutorServiceInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public
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
Remarks
Requirements
Namespace: Java.Util.Concurrent
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1