Change monitored apps without losing the current remaining threshold time.

Say the user sets a schedule with 15 minutes of time allowed in an app set. At the 10-minute mark the user decides to change the apps which are monitored.

I need to know the remaining time from the original 15 minutes to reset the schedule with this new value. I saw there was a view called DeviceAcivityReport, but I don’t want to show a report to the user, just programmatically grab the remaining time.

Is there a code example of this flow somewhere? I’ve either completely missed the supplied apple example code or there is just none to be had.

Unfortunately, there is no programmatic way to request the remaining time for a set of monitored apps. Please use Feedback Assistant to request an enhancement to the API.

Change monitored apps without losing the current remaining threshold time.
 
 
Q