Hi, about bedtime on wear os, is there an API to switch the watch to bedtime mode? I had a look on the internet but there doesn't seem to have any documentation about it. Thanks!
j
John Nichol
12/21/2022, 8:17 AM
Not that I know of - @Kseniia Shumelchyk
k
Kseniia Shumelchyk
12/21/2022, 11:40 AM
No, I don't think there is an API to switch it programmatically. Possibly there is an intent to prompt the user to the settings where they can turn it on/off. @florent what is your use case?
f
florent
12/21/2022, 12:29 PM
I want to change the bedtime mode automatically based on the user previous night and current status
k
Kseniia Shumelchyk
12/22/2022, 4:26 PM
My guess is that it's not possible unfortunately, but I can take a look when I'm back to work
Kseniia Shumelchyk
01/03/2023, 5:30 PM
@florent 👋 I confirmed that there is no proper external API for bedtime control, but I filed feature request for that