Language

DrawableWrapper.ScheduleDrawable(Drawable, IRunnable, Int64) Method

Definition

Forwards a scheduling request to the wrapper's callback, if one is attached.

[Android.Runtime.Register("scheduleDrawable", "(Landroid/graphics/drawable/Drawable;Ljava/lang/Runnable;J)V", "GetScheduleDrawable_Landroid_graphics_drawable_Drawable_Ljava_lang_Runnable_JHandler", ApiSince=23)]
public virtual void ScheduleDrawable(Android.Graphics.Drawables.Drawable who, Java.Lang.IRunnable what, long when);
[<Android.Runtime.Register("scheduleDrawable", "(Landroid/graphics/drawable/Drawable;Ljava/lang/Runnable;J)V", "GetScheduleDrawable_Landroid_graphics_drawable_Drawable_Ljava_lang_Runnable_JHandler", ApiSince=23)>]
abstract member ScheduleDrawable : Android.Graphics.Drawables.Drawable * Java.Lang.IRunnable * int64 -> unit
override this.ScheduleDrawable : Android.Graphics.Drawables.Drawable * Java.Lang.IRunnable * int64 -> unit

Parameters

who
Drawable

The drawable passed to this callback; the default implementation forwards the wrapper instead when a callback is attached.

what
IRunnable

The runnable to schedule.

when
Int64

The time (in milliseconds) to run. The timebase is SystemClock.uptimeMillis()

Implements

Attributes

Remarks

The callback receives the wrapper instead of who.

Android reference for android.graphics.drawable.DrawableWrapper.scheduleDrawable.

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