public class

LocalePreferences.TemperatureUnit

extends java.lang.Object

 java.lang.Object

↳androidx.core.text.util.LocalePreferences.TemperatureUnit

Overview

APIs to get the user's preference of temperature unit.

Summary

Fields
public static final java.lang.StringCELSIUS

Celsius

public static final java.lang.StringDEFAULT

Default Temperature for the locale

public static final java.lang.StringFAHRENHEIT

Fahrenheit

public static final java.lang.StringKELVIN

Kelvin

Methods
from java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Fields

public static final java.lang.String CELSIUS

Celsius

public static final java.lang.String FAHRENHEIT

Fahrenheit

public static final java.lang.String KELVIN

Kelvin

public static final java.lang.String DEFAULT

Default Temperature for the locale