Udostępnij za pośrednictwem


Handler.RemoveCallbacks Method

Definition

Overloads

RemoveCallbacks(IRunnable, Object)

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

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

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

RemoveCallbacks(IRunnable, Object)

Remove any pending posts of Runnable <var>r</var> with Object <var>token</var> 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);
[<Android.Runtime.Register("removeCallbacks", "(Ljava/lang/Runnable;Ljava/lang/Object;)V", "")>]
member this.RemoveCallbacks : Java.Lang.IRunnable * Java.Lang.Object -> unit

Parameters

token
Object
Attributes

Remarks

Remove any pending posts of Runnable <var>r</var> with Object <var>token</var> that are in the message queue. If <var>token</var> is null, all callbacks will be removed.

Java documentation for android.os.Handler.removeCallbacks(java.lang.Runnable, java.lang.Object).

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

RemoveCallbacks(Action, Object)

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

Parameters

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

RemoveCallbacks(Action)

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

Parameters

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.

Applies to

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);
[<Android.Runtime.Register("removeCallbacks", "(Ljava/lang/Runnable;)V", "")>]
member this.RemoveCallbacks : Java.Lang.IRunnable -> unit

Parameters

Attributes

Remarks

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

Java documentation for android.os.Handler.removeCallbacks(java.lang.Runnable).

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