08-12-2019 16:11 - edited 08-14-2019 04:26
08-12-2019 16:11 - edited 08-14-2019 04:26
hi.
is there any solution how to check, if are watches connected to the phone bluetooth? then show icon on watch face (connected/not connected). second thing.
ok. checking bluetooth is done 😉 i was searching badly. it must be through messaging.
is there something for get and check alams which are actually active in watches? i found only alarms which are synchronised on user web profile and this is unnecessarily complicated. i need only check if alarm is set and active in watches, then show icon on watch face.
also is there any way to check if wifi is enabled? then show icon on watch face.
is it possible triggering display event listener? for example..
display.addEventListener("change", () => { ... }); display.trigger("change");
i try something like
display.dispatchEvent(new Event("change"));
but this not work.
thank you.