Xamarin.Forms.Device.StartTimer Method
Starts a recurring timer using the device clock capabilities.

Syntax

public static void StartTimer (TimeSpan interval, Func<bool> callback)

Parameters

interval
The interval between invocations of the callback.
callback
The action to run when the timer elapses.

Remarks

While the callback returns true the timer will keep recurring.

Requirements

Namespace: Xamarin.Forms
Assembly: Xamarin.Forms.Core (in Xamarin.Forms.Core.dll)
Assembly Versions: 1.0.0.0, 1.1.0.0, 1.2.0.0, 1.3.0.0