Object LocaleEx
-
- All Implemented Interfaces:
public class LocaleExReturns 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
-
-
Method Summary
Modifier and Type Method Description final static StringgetUnitTypeForLocale(Locale $self)Returns the VoiceUnit type for the specified locale. final static LocalegetLocaleDirectionsRoute(DirectionsRoute directionsRoute, Context context)Provide Locale based on voice language of DirectionsRoute or default device's location if non-specified
-
-
-
Method Detail
-
getUnitTypeForLocale
final static String getUnitTypeForLocale(Locale $self)
Returns the VoiceUnit type for the specified locale. Try to avoid using this unnecessarily because all methods consuming unit type are able to handle the VoiceUnit.UNDEFINED type
-
getLocaleDirectionsRoute
final static Locale getLocaleDirectionsRoute(DirectionsRoute directionsRoute, Context context)
Provide Locale based on voice language of DirectionsRoute or default device's location if non-specified
-
-