[quote='797162021, Roshan_Owaves, /thread/797162, /profile/Roshan_Owaves']
If not, is it expected that this data is only available in the Settings app and not exposed to developers?
[/quote]
Unfortunately, the only way to access this data is within a sandboxed DeviceActivityReport Extension, as you have correctly stated.
So there’s no way for you to extract the data and use it for something else.
Seems like Apple is keeping that functionality for themselves.
You could try filing a feedback request via https://feedbackassistant.apple.com to make sure they’ll consider adding this.
Topic:
App & System Services
SubTopic:
General
Tags: