API Screen Time

📣 Hi Folks, Do you know whether or not the following data are available via the screen time API (Family Control)for a 1/3 Party App:

  1. of screen un/lock/day

  2. of hours & minutes/day of smartphone usage

Thank you for your help 😊

For clarification...

Nbr of screen un/locks per dayNbr of hours/minutes spent on Smartphone by the user

You can use a DeviceActivityReport and build an extension that gets access to the totalActivityDuration for a daily activity segment. This time interval represents the total amount of time the device's screen was on.

API Screen Time
 
 
Q