Handler.SendEmptyMessageDelayed(Int32, Int64) Method

Definition

Sends a Message containing only the what value, to be delivered after the specified amount of time elapses.

[Android.Runtime.Register("sendEmptyMessageDelayed", "(IJ)Z", "")]
public bool SendEmptyMessageDelayed (int what, long delayMillis);
[<Android.Runtime.Register("sendEmptyMessageDelayed", "(IJ)Z", "")>]
member this.SendEmptyMessageDelayed : int * int64 -> bool

Parameters

what
Int32
delayMillis
Int64

Returns

Returns true if the message was successfully placed in to the message queue. Returns false on failure, usually because the looper processing the message queue is exiting.

Attributes

Remarks

Sends a Message containing only the what value, to be delivered after the specified amount of time elapses.

Java documentation for android.os.Handler.sendEmptyMessageDelayed(int, long).

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.

Applies to

See also

  • <xref:Android.OS.Handler.SendMessageDelayed(Android.OS.Message%2c+System.Int64)>