Language

AdaptiveIconDrawable.UnscheduleDrawable(Drawable, IRunnable) Method

Definition

Forwards an unscheduling request to this drawable's callback, if one is attached.

[Android.Runtime.Register("unscheduleDrawable", "(Landroid/graphics/drawable/Drawable;Ljava/lang/Runnable;)V", "GetUnscheduleDrawable_Landroid_graphics_drawable_Drawable_Ljava_lang_Runnable_Handler", ApiSince=26)]
public virtual void UnscheduleDrawable(Android.Graphics.Drawables.Drawable who, Java.Lang.IRunnable what);
[<Android.Runtime.Register("unscheduleDrawable", "(Landroid/graphics/drawable/Drawable;Ljava/lang/Runnable;)V", "GetUnscheduleDrawable_Landroid_graphics_drawable_Drawable_Ljava_lang_Runnable_Handler", ApiSince=26)>]
abstract member UnscheduleDrawable : Android.Graphics.Drawables.Drawable * Java.Lang.IRunnable -> unit
override this.UnscheduleDrawable : Android.Graphics.Drawables.Drawable * Java.Lang.IRunnable -> unit

Parameters

who
Drawable

The drawable passed to this callback; the default implementation does not use this argument.

what
IRunnable

The runnable to unschedule.

Implements

Attributes

Remarks

The callback receives this drawable instead of who.

Android reference for android.graphics.drawable.AdaptiveIconDrawable.unscheduleDrawable.

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