Handler.RemoveCallbacks Handler.RemoveCallbacks Method

Definition

Overloads

RemoveCallbacks(IRunnable) RemoveCallbacks(IRunnable)

Remove any pending posts of Runnable r that are in the message queue.

RemoveCallbacks(Action) RemoveCallbacks(Action)
RemoveCallbacks(IRunnable, Object) RemoveCallbacks(IRunnable, Object)

Remove any pending posts of Runnable r with Object token that are in the message queue.

RemoveCallbacks(Action, Object) RemoveCallbacks(Action, Object)

RemoveCallbacks(IRunnable) RemoveCallbacks(IRunnable)

Remove any pending posts of Runnable r that are in the message queue.

[Android.Runtime.Register("removeCallbacks", "(Ljava/lang/Runnable;)V", "")]
public void RemoveCallbacks (Java.Lang.IRunnable r);
member this.RemoveCallbacks : Java.Lang.IRunnable -> unit

Parameters

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.

RemoveCallbacks(Action) RemoveCallbacks(Action)

public void RemoveCallbacks (Action action);
member this.RemoveCallbacks : Action -> unit

Parameters

action
Action Action

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.

RemoveCallbacks(IRunnable, Object) RemoveCallbacks(IRunnable, Object)

Remove any pending posts of Runnable r with Object token that are in the message queue.

[Android.Runtime.Register("removeCallbacks", "(Ljava/lang/Runnable;Ljava/lang/Object;)V", "")]
public void RemoveCallbacks (Java.Lang.IRunnable r, Java.Lang.Object token);
member this.RemoveCallbacks : Java.Lang.IRunnable * Java.Lang.Object -> unit

Parameters

token
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.

RemoveCallbacks(Action, Object) RemoveCallbacks(Action, Object)

public void RemoveCallbacks (Action action, Java.Lang.Object token);
member this.RemoveCallbacks : Action * Java.Lang.Object -> unit

Parameters

action
Action Action
token
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