Screensaver detection

Hello,

We are looking to determine whether it is possible to detect when the screensaver is initiated and when it is dismissed. Specifically, we would like to know if any kind of event is available for this purpose.

We have explored visibility change events and similar approaches, but have been unable to reliably detect when the screensaver has started.

Thanks in advance,
Albert

There is no API for the screensaver, but you can use the visibilityChange event. For more information, please refer to Manage app visibility. Thank you.