enableScreenSecurity method

  1. @override
Future<void> enableScreenSecurity()
override

Enables screen security to prevent screenshots and screen recording.

Implementation

@override
Future<void> enableScreenSecurity() async {
  await methodChannel.invokeMethod<void>('enableScreenSecurity');
}