Package 

Interface Language


  • 
    public interface Language
    
                        

    The interface to work with languages

    • Method Summary

      Modifier and Type Method Description
      abstract Unit switchInApp(Locale locale) Switches language only in the current Application (not in OS!).
      • Methods inherited from class com.kaspersky.kaspresso.device.languages.Language

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

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

      • switchInApp

         abstract Unit switchInApp(Locale locale)

        Switches language only in the current Application (not in OS!). Please, keep in mind the following fact: If you have switched languages then you need to refresh current screen to get the screen with new language! Also, don't forget to restore the previous language if you don't clean the state of the Application after each test.