setContentProtection method

  1. @override
Future<void> setContentProtection(
  1. DwmDisplayAffinity value
)
override

setContentProtection Specifies where the content of the window can be displayed.

Implementation

@override
Future<void> setContentProtection(DwmDisplayAffinity value) async {
  await methodChannel.invokeMethod(setContentProtectionMethod, <String, dynamic>{
    'value': value.dword,
  });
}