/// </summary>
public class ScreenActivityService : IDisposable
{
+ private const uint ActivityInterval = 3000;
private readonly Window win = NUIApplication.GetDefaultWindow();
- private Timer activityTimer;
- private uint activatyInterval = 3000;
+ private readonly Timer activityTimer;
/// <summary>
/// Initializes a new instance of the <see cref="ScreenActivityService"/> class.
/// </summary>
public ScreenActivityService()
{
- activityTimer = new Timer(activatyInterval);
+ activityTimer = new Timer(ActivityInterval);
activityTimer.Tick += ActivatyTimer_Tick;
win.TouchEvent += Win_TouchEvent;
}