preventScreenshotsGlobally method

Future<void> preventScreenshotsGlobally()

Prevents screenshots globally for the entire app.

This method relies on the platform's native code to block screenshots and screen recording across all screens. Throws UnimplementedError if not implemented on a platform.

Implementation

Future<void> preventScreenshotsGlobally() {
  throw UnimplementedError(
      'preventScreenshotsGlobally() has not been implemented.');
}