enableScreenCaptureProtection method

Future<void> enableScreenCaptureProtection()

Enable screen capture protection

Implementation

Future<void> enableScreenCaptureProtection() async {
  try {
    await _runInBackground(() async {
      return await UltraSecureFlutterKitPlatform.instance
          .enableScreenCaptureProtection();
    });
  } catch (e) {
    print('Screen capture protection failed: $e');
    // Don't rethrow - this is not critical
  }
}