Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to wake an app when screensaver is displayed

I have an application that gets hidden (but is still running in the background) when the screen saver starts on the 4th Generation Apple TV.

How can I bring the app to the foreground (hide screen saver) when an event (update to an endpoint which I am long polling) happens in my app which is running in the background?

like image 511
damien murphy. Avatar asked Nov 09 '22 04:11

damien murphy.


1 Answers

I don't think there's any way to do this. When the screen saver is running, your app can still be the foreground app, but it will be in an inactive state. This is similar to what happens on iOS when the user locks the screen while using an app. Like the iOS lock screen, the user might be actively using the system when it's in this state. For example, you can use Siri without dismissing the screen saver.

like image 142
lemnar Avatar answered Dec 21 '22 18:12

lemnar