Added in API level 24
Field
open class Field : Format.Field
kotlin.Any | |||
↳ | java.text.AttributedCharacterIterator.Attribute | ||
↳ | java.text.Format.Field | ||
↳ | android.icu.text.NumberFormat.Field |
The instances of this inner class are used as attribute keys and values in AttributedCharacterIterator that NumberFormat.formatToCharacterIterator() method returns.
There is no public constructor to this class, the only instances are the constants defined here.
Summary
Protected constructors | |
---|---|
Constructs a new instance of NumberFormat. |
Protected methods | |
---|---|
open Any! |
serizalization method resolve instances to the constant NumberFormat. |
Properties | |
---|---|
static NumberFormat.Field! | |
static NumberFormat.Field! | |
static NumberFormat.Field! | |
static NumberFormat.Field! | |
static NumberFormat.Field! | |
static NumberFormat.Field! | |
static NumberFormat.Field! | |
static NumberFormat.Field! | |
static NumberFormat.Field! | |
static NumberFormat.Field! | |
static NumberFormat.Field! | |
static NumberFormat.Field! | |
static NumberFormat.Field! |
Protected constructors
Field
Added in API level 24
protected Field(fieldName: String!)
Constructs a new instance of NumberFormat.Field with the given field name.
Protected methods
readResolve
Added in API level 24
protected open fun readResolve(): Any!
serizalization method resolve instances to the constant NumberFormat.Field values
Return | |
---|---|
Any! |
the resolved Attribute object |
Exceptions | |
---|---|
java.io.InvalidObjectException |
if the object to resolve is not an instance of Attribute |