Object LocaleEx

  • All Implemented Interfaces:

    
    public class LocaleEx
    
                        

    Returns the unit type for the specified locale. Try to avoid using this unnecessarily because all methods consuming unit type are able to handle the NONE_SPECIFIED type

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
      public final static LocaleEx INSTANCE
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      final static String getUnitTypeForLocale(Locale $self) Returns the VoiceUnit type for the specified locale.
      final static Locale getLocaleDirectionsRoute(DirectionsRoute directionsRoute, Context context) Provide Locale based on voice language of DirectionsRoute or default device's location if non-specified
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait