java.lang.Object | |||
↳ | android.text.style.TtsSpan.Builder<android.text.style.TtsSpan.MoneyBuilder> | ||
↳ | android.text.style.TtsSpan.SemioticClassBuilder<android.text.style.TtsSpan.MoneyBuilder> | ||
↳ | android.text.style.TtsSpan.MoneyBuilder |
A builder for TtsSpans of type TYPE_MONEY
.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Creates a TtsSpan of type
TYPE_MONEY .
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Sets the
ARG_CURRENCY argument.
| |||||||||||
Sets the
ARG_FRACTIONAL_PART argument.
| |||||||||||
Convenience method that converts the number to a String and set it to
the value for
ARG_INTEGER_PART .
| |||||||||||
Sets the
ARG_INTEGER_PART argument.
| |||||||||||
Sets the
ARG_QUANTITY argument.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
android.text.style.TtsSpan.SemioticClassBuilder
| |||||||||||
From class
android.text.style.TtsSpan.Builder
| |||||||||||
From class
java.lang.Object
|
Sets the ARG_CURRENCY
argument.
currency | Should be a ISO4217 currency code, e.g. "USD". |
---|
Sets the ARG_FRACTIONAL_PART
argument.
fractionalPart | Can be a string of digits of any size. |
---|
Convenience method that converts the number to a String and set it to
the value for ARG_INTEGER_PART
.
integerPart | The integer part of the amount. |
---|
Sets the ARG_INTEGER_PART
argument.
integerPart | A non-empty string of digits with an optional leading + or -. |
---|
Sets the ARG_QUANTITY
argument.