I dealt with this a few years ago. It seems nothing's changed. There's no event to let you know the screen saver status, but it sure would be nice if there was. There's two approaches I've used:
- Periodically send button presses using ECP such that the screen saver never appears.
- Use a private screen saver within the app and have it report its status via tmp:/ (I periodically write a file to tmp:/ within the screen saver and check for the presence of that file within the main app; it's a little more complicated than that, but you get the gist).
-JT
Roku Community Streaming Expert
Help others find this answer and click "Accept as Solution."
If you appreciate my answer, maybe give me a Kudo.
I am not a Roku employee.