Home › Forums › Software Development › ActivationFocusChanged › Reply To: ActivationFocusChanged
18/06/2020 at 13:44 #18208
Grant [Tobii]
Keymaster
Hi @yukio-okuno, could you kindly clarify your request. I understand you wish to create a delay timer before reacting to a gaze aware presence? In this case, you can setup a simple timer loop from .Net such as the stopwatch class
using System.Diagnostics;
//...
Stopwatch timer = new Stopwatch();
timer.Start();
while(timer.Elapsed.TotalSeconds < Xseconds)
{
// do something
}
timer.Stop();
It would also help if you could clarify which platform and SDK you are using. Thanks.