getPreferredUnits
If Units is set to Units.AUTO, this method returns the units based on the device's locale settings. If Units is set to a non-auto value, the method returns the preferred units.
Important: This is a Public Preview API. It may be changed or removed at any time.