Handler.RemoveMessages Handler.RemoveMessages Method

Definition

Overloads

RemoveMessages(Int32) RemoveMessages(Int32)

Remove any pending posts of messages with code 'what' that are in the message queue.

RemoveMessages(Int32, Object) RemoveMessages(Int32, Object)

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

RemoveMessages(Int32) RemoveMessages(Int32)

Remove any pending posts of messages with code 'what' that are in the message queue.

[Android.Runtime.Register("removeMessages", "(I)V", "")]
public void RemoveMessages (int what);
member this.RemoveMessages : int -> unit

Parameters

what
Int32 Int32

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.

RemoveMessages(Int32, Object) RemoveMessages(Int32, Object)

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

[Android.Runtime.Register("removeMessages", "(ILjava/lang/Object;)V", "")]
public void RemoveMessages (int what, Java.Lang.Object object);
member this.RemoveMessages : int * Java.Lang.Object -> unit

Parameters

what
Int32 Int32
object
Object Object

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