I'm trying to change the tick rate using SetTimeTickFrequency(60, TimeTickResolution.TimeTicksPerSecond), but when I test on my Galaxy Watch 3, I see Tick event called only once per second. My code within the Tick event :
if (_ViewModel != null)
{
_ViewModel.Time = time.Time.UtcTimestamp;
if (_LastTickTime == null || _LastTickTime == time)
{
_LastTickTime = time;
_ViewModel.DeltaTime = 0.0;
}
else if (_LastTickTime != time)
{
_ViewModel.DeltaTime = (time.Time.UtcTimestamp - _LastTickTime.Time.UtcTimestamp).TotalSeconds;
}
}
I then take _ViewModel.DeltaTime and use it to move an image around the watchface. The image does move as I expect, but it jumps in time with the clock element I have on the screen as well.
Edit: As a test, I switched my watchface to be my test application, and found that when run that way, my image didn't move at all. I then added that code above to the AmbientTick event just to see what would happen, and saw no change in behavior.
Are we not able to change the ticks-per-second for watches?