sud.onUserCaptureScreen
JS
sud.onUserCaptureScreen(function callback)Listen for the user-initiated screenshot event
Triggered when the user takes a screenshot using the system screenshot button; only one listener can be registered
Parameters
- function callback: Callback function for the user-initiated screenshot event
Parameters of the callback function
- String imgPath: Returns the location of the image generated by the screenshot
