"Time in Daylight" HealthKit data type

I'm trying to find out if the new "Time in Daylight" feature in the Health app has a corresponding HealthKit data type that our app will be able to query in the release versions of iOS 17 / watchOS 10. So far, I cannot find any reference such a type in beta documentation. Can someone confirm if this will be available?

Please note that this is not an inquiry about data collection for "Time in Daylight." We are successfully seeing samples collected on our Watch/iPhone pair running the latest betas.

Replies

Does this help?

  • timeInDaylight

<https://developer.apple.com/documentation/healthkit/hkquantitytypeidentifier/4168154-timeindaylight>

It sure does! Xcode beta team take note: your built-in documentation needs to be updated!