Added in API level 24
FormatWidth
class FormatWidth
kotlin.Any | ||
↳ | kotlin.Enum<android.icu.text.MeasureFormat.FormatWidth> | |
↳ | android.icu.text.MeasureFormat.FormatWidth |
Formatting width enum.
Summary
Enum values | |
---|---|
Brief. |
|
Identical to NARROW except when formatMeasures is called with an hour and minute; minute and second; or hour, minute, and second Measures. |
|
Abbreviate when possible. |
|
Spell out everything. |
Enum values
NARROW
Added in API level 24
enum val NARROW : MeasureFormat.FormatWidth
Brief. Use only a symbol for the unit when possible.
NUMERIC
Added in API level 24
enum val NUMERIC : MeasureFormat.FormatWidth
Identical to NARROW except when formatMeasures is called with an hour and minute; minute and second; or hour, minute, and second Measures. In these cases formatMeasures formats as 5:37:23 instead of 5h, 37m, 23s.