DrawableWrapper.ScheduleDrawable(Drawable, IRunnable, Int64) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
A Drawable can call this to schedule the next frame of its animation.
[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
- what
- IRunnable
- when
- Int64
The time (in milliseconds) to run. The timebase is SystemClock.uptimeMillis()
Implements
- Attributes
Remarks
A Drawable can call this to schedule the next frame of its animation. An implementation can generally simply call android.os.Handler.postAtTime(Runnable,Object,long) with the parameters (what, who, when) to perform the scheduling.
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.