ScreenshotDetect constructor
ScreenshotDetect()
Calls the initializer function which adds UIApplication.userDidTakeScreenshotNotification
observer (use addListener(VoidCallback callback)
to run actions when user screenshots)
Implementation
ScreenshotDetect() {
initialize();
}