This browser is no longer supported.

Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.

Download Microsoft Edge More info about Internet Explorer and Microsoft Edge
[Android.Runtime.Register("postDelayed", "(Ljava/lang/Runnable;J)Z", "")]
public bool PostDelayed (Java.Lang.IRunnable r, long delayMillis);
[<Android.Runtime.Register("postDelayed", "(Ljava/lang/Runnable;J)Z", "")>]
member this.PostDelayed : Java.Lang.IRunnable * int64 -> bool

Parameters

Returns true if the Runnable was successfully placed in to the message queue. Returns false on failure, usually because the looper processing the message queue is exiting. Note that a result of true does not mean the Runnable will be processed -- if the looper is quit before the delivery time of the message occurs then the message will be dropped.

Attributes
RegisterAttribute
public bool PostDelayed (Action action, long delayMillis);
member this.PostDelayed : Action * int64 -> bool

Parameters

[Android.Runtime.Register("postDelayed", "(Ljava/lang/Runnable;Ljava/lang/Object;J)Z", "", ApiSince=28)]
public bool PostDelayed (Java.Lang.IRunnable r, Java.Lang.Object? token, long delayMillis);
[<Android.Runtime.Register("postDelayed", "(Ljava/lang/Runnable;Ljava/lang/Object;J)Z", "", ApiSince=28)>]
member this.PostDelayed : Java.Lang.IRunnable * Java.Lang.Object * int64 -> bool

Parameters

Returns true if the Runnable was successfully placed in to the message queue. Returns false on failure, usually because the looper processing the message queue is exiting. Note that a result of true does not mean the Runnable will be processed -- if the looper is quit before the delivery time of the message occurs then the message will be dropped.

Attributes
RegisterAttribute