Currently the simulator displays this error.
Is a special permission required?
Error: Permission Required Details: Module 'Toybox.Attention' not available to 'Watch Face'
Currently the simulator displays this error.
Is a special permission required?
Error: Permission Required Details: Module 'Toybox.Attention' not available to 'Watch Face'
Gosh, that's a serious limitation.
What can do those things, device apps only?
I posted the list of app types that can use Attention.
No tones/vibrations can be done in watch faces. Been that way since CIQ 1.0. Allowing it has come up a number of times since then and it won't change…
As you may know I've said before Jim, this is also a non argument, if they are (truly) afraid of misuse it's easy to implement restrictions by time / duration / amount of times per day.
But I don…
The Attention Module is not available in watch faces.
Presumably things like button detection or screen touches are also not available to watch faces?
There are some things for this with System 6/Ciq 4.2 with complications
I was looking how to make a vibration on watchfaces, and have read the differents posts. Many of us would do this, but Garmin product manager don't want because of battery.
I could suggest to Garmin do something like seconds in watchfaces with partialUpdatesAllowed and onPowerBudgetExceeded(powerInfo). They could perhaps desactivate vibrations after 50 per day ???? That could be a good thing
Thanks
Presumably things like button detection or screen touches are also not available to watch faces?
There are some things for this with System 6/Ciq 4.2 with complications
To elaborate on this, watch faces for CIQ 4.2 devices (which support complications) can receive the WatchFaceDelegate.onPress() touch event, which is triggered by a long press.
It's intended for launching complications, but I don't see anything that prevents a dev from doing whatever they want with it.
And no, watch faces cannot detect button presses.