setHideOverlayWindows static method

Future<void> setHideOverlayWindows(
  1. bool shouldHideOverlayWindows
)

Controls whether overlay windows should be hidden.

Passing true requests that all overlay windows be hidden while the application is in the foreground. This can prevent overlay attacks such as clickjacking.

Implementation

static Future<void> setHideOverlayWindows(
  bool shouldHideOverlayWindows,
) async {
  FraudProtectionPlatform.instance.setHideOverlayWindows(
    shouldHideOverlayWindows,
  );
}