IDispatcherTimer
Namespace: XPlat.UI
Provides a timer that is integrated into the Dispatcher queue, which is processed at a specified interval of time and at a specified priority.
public interface IDispatcherTimer
Supported platforms
Platform
Version
.NET Standard
2.0
Xamarin.Android
9.0
Xamarin.iOS
1.0
UWP
10.0.16299
Events
Tick
Occurs when the timer interval has elapsed.
event EventHandler<object> Tick;
Properties
Interval
Gets or sets the amount of time between timer ticks.
TimeSpan Interval { get; set; }
IsEnabled
Gets a value indicating whether the timer is running.
bool IsEnabled { get; }
Methods
Start()
Starts the DispatcherTimer.
void Start();
Stop()
Stops the DispatcherTimer.
void Stop();
Related information
References
Last updated