Android Wear OS Health Services - Sleep Detection

88 views Asked by At

Is there any way to programmatically subscribe to sleep / awake events from within an app that uses Android Wear OS' Health Services?

The docs reference creating synthetic data for these events (see for example here), but I don't see docs for consuming these events.

I would like to develop a Wear OS App that can run code when the user falls "asleep".

0

There are 0 answers