Class YotiLocaleListCompat


  • public class YotiLocaleListCompat
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      YotiLocaleListCompat​(androidx.core.os.LocaleListCompat localeListCompat)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.Locale getFirstMatch​(java.lang.String[] supportedLocales)
      This is just a proxy to LocaleListCompat.getFirstMatch(String[])
      • Methods inherited from class java.lang.Object

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

      • YotiLocaleListCompat

        public YotiLocaleListCompat​(@NonNull
                                    androidx.core.os.LocaleListCompat localeListCompat)
    • Method Detail

      • getFirstMatch

        @Nullable
        public java.util.Locale getFirstMatch​(@NonNull
                                              java.lang.String[] supportedLocales)
        This is just a proxy to LocaleListCompat.getFirstMatch(String[])
        Parameters:
        supportedLocales - - the list of string representation of Locale as returned by Locale.toString()
        Returns:
        a Locale if a match is found null otherwise.