Partager via


Handler.SendEmptyMessage(Int32) Method

Definition

Sends a Message containing only the what value.

[Android.Runtime.Register("sendEmptyMessage", "(I)Z", "")]
public bool SendEmptyMessage (int what);
[<Android.Runtime.Register("sendEmptyMessage", "(I)Z", "")>]
member this.SendEmptyMessage : int -> bool

Parameters

what
Int32

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.

Java documentation for android.os.Handler.sendEmptyMessage(int).

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