Screen Time API / Device Activity

Hello

I am wondering how and if it even is possible to grab the amount of times a user has opened a specific app. Of course these apps will be selected for tracking by the user through the FamilyControls API, but is it possible to then list those selected apps and their amount of openings?

I know Screen Time API is very strict with giving developers control of this information outside of just displaying a view so I don't know if this is possible.

I saw that DeviceActivityData.ApplicationActivity has a value called "numberOfPickups" but I'm not sure how to access that value and display it in my app.

Thank you

For privacy reasons, that information is not available.

Screen Time API / Device Activity
 
 
Q