Android Guides | Samples

Android.Graphics.Drawables.Drawable.ScheduleSelf Method

Use the current ICallback implementation to have this Drawable scheduled.

Syntax

[Android.Runtime.Register("scheduleSelf", "(Ljava/lang/Runnable;J)V", "GetScheduleSelf_Ljava_lang_Runnable_JHandler")]
public virtual Void ScheduleSelf (IRunnable what, Int64 when)

Parameters

what
The action being scheduled.
when
The time (in milliseconds) to run.

Remarks

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

[Android Documentation]

Requirements

Namespace: Android.Graphics.Drawables
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1