Taal

AdaptiveIconDrawable.ScheduleDrawable(Drawable, IRunnable, Int64) Method

Definition

Forwards a scheduling request to this drawable'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=26)]
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=26)>]
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 does not use this argument.

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 this drawable instead of who.

Android reference for android.graphics.drawable.AdaptiveIconDrawable.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