Package 

Class SystemDialogSafetyProviderImpl

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      public class Companion
    • Method Summary

      Modifier and Type Method Description
      <T extends Any> T passSystemDialogs(Function0<T> action) Invokes the given action and hides the system dialog if the invocation is failed and the system dialog is actually shown via suppressSystemDialogs call.
      • Methods inherited from class com.kaspersky.kaspresso.systemsafety.SystemDialogSafetyProvider

        equals, hashCode, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • SystemDialogSafetyProviderImpl

        SystemDialogSafetyProviderImpl(UiTestLogger logger, UiDevice uiDevice, AdbServer adbServer)
    • Method Detail

      • passSystemDialogs

         <T extends Any> T passSystemDialogs(Function0<T> action)

        Invokes the given action and hides the system dialog if the invocation is failed and the system dialog is actually shown via suppressSystemDialogs call.

        Parameters:
        action - the action to invoke.