Package 

Class LanguageImpl

  • All Implemented Interfaces:
    com.kaspersky.kaspresso.device.languages.Language

    
    public final class LanguageImpl
     implements Language
                        

    The implementation of Language

    • Method Summary

      Modifier and Type Method Description
      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

         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.