Java.Util.Timer.ScheduleAtFixedRate Method
Schedule a task for repeated fixed-rate execution after a specific delay has passed.

Syntax

[Android.Runtime.Register("scheduleAtFixedRate", "(Ljava/util/TimerTask;JJ)V", "GetScheduleAtFixedRate_Ljava_util_TimerTask_JJHandler")]
public virtual void ScheduleAtFixedRate (TimerTask task, long delay, long period)

Parameters

task
the task to schedule.
delay
amount of time in milliseconds before first execution.
period
amount of time in milliseconds between subsequent executions.

Exceptions

TypeReason
Java.Lang.IllegalArgumentExceptionif delay or period <= 0.
Java.Lang.IllegalStateExceptionif the Timer has been canceled, or if the task has been scheduled or canceled.

Remarks

Schedule a task for repeated fixed-rate execution after a specific delay has passed.

[Android Documentation]

Requirements

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