Language

Drawable.ScheduleSelf Method

Definition

Overloads

Name Description
ScheduleSelf(IRunnable, Int64)

Use the current Callback implementation to have this Drawable scheduled.

ScheduleSelf(Action, Int64)

Requests scheduling of an action through the drawable's callback, if one is attached.

ScheduleSelf(IRunnable, Int64)

Use the current Callback implementation to have this Drawable scheduled.

[Android.Runtime.Register("scheduleSelf", "(Ljava/lang/Runnable;J)V", "GetScheduleSelf_Ljava_lang_Runnable_JHandler")]
public virtual void ScheduleSelf(Java.Lang.IRunnable what, long when);
[<Android.Runtime.Register("scheduleSelf", "(Ljava/lang/Runnable;J)V", "GetScheduleSelf_Ljava_lang_Runnable_JHandler")>]
abstract member ScheduleSelf : Java.Lang.IRunnable * int64 -> unit
override this.ScheduleSelf : Java.Lang.IRunnable * int64 -> unit

Parameters

what
IRunnable

The action being scheduled.

when
Int64

The time (in milliseconds) to run.

Attributes

Remarks

Use the current Callback implementation to have this Drawable scheduled. Does nothing if there is no Callback attached to the Drawable.

Java documentation for android.graphics.drawable.Drawable.scheduleSelf(java.lang.Runnable, long).

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

ScheduleSelf(Action, Int64)

Requests scheduling of an action through the drawable's callback, if one is attached.

public void ScheduleSelf(Action what, long when);
member this.ScheduleSelf : Action * int64 -> unit

Parameters

what
Action

The action to schedule.

when
Int64

The time to run the action, in milliseconds measured by system uptime.

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