Skip to main content
Use this API to stop listening for screenshot events that were registered with my.onUserCaptureScreen().

Parameters

Code Example

Remove All Listeners

Remove Specific Listener

Conditional Screenshot Handling

Always clean up screenshot listeners in onUnload to prevent memory leaks and unexpected behavior.

my.onUserCaptureScreen

Listen for screenshots