Looking at the API documentation it is not at all clear to me if and how I could use the API to simply display the screentime of other apps inside my own app and secondly to trigger code in my app (in a background process) whenever a threshold is reached in terms of screentime of other apps. In that case the iOS operating system should open up my app and trigger some code. I am not interested in these generic 'shield' screens, I want to open my app and continue from thereon when a threshold is reached. Can somebody confirm if this is possible with this new API?
Thank you!,
J