preventScreenshotOn static method

Future<void> preventScreenshotOn()

Supported for Android and iOS.

Implementation

static Future<void> preventScreenshotOn() async {
  return await _channel.invokeMethod('preventScreenshotOn');
}