Handler.HasMessages Handler.HasMessages Method

Definition

Overloads

HasMessages(Int32, Object) HasMessages(Int32, Object)

Check if there are any pending posts of messages with code 'what' and whose obj is 'object' in the message queue.

HasMessages(Int32) HasMessages(Int32)

Check if there are any pending posts of messages with code 'what' in the message queue.

HasMessages(Int32, Object) HasMessages(Int32, Object)

Check if there are any pending posts of messages with code 'what' and whose obj is 'object' in the message queue.

[Android.Runtime.Register("hasMessages", "(ILjava/lang/Object;)Z", "")]
public bool HasMessages (int what, Java.Lang.Object object);
member this.HasMessages : int * Java.Lang.Object -> bool

Parameters

what
Int32 Int32
object
Object Object

Returns

Remarks

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.

HasMessages(Int32) HasMessages(Int32)

Check if there are any pending posts of messages with code 'what' in the message queue.

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

Parameters

what
Int32 Int32

Returns

Remarks

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