| java.lang.Object | |||
| ↳ | android.text.style.TtsSpan.Builder<android.text.style.TtsSpan.MeasureBuilder> | ||
| ↳ | android.text.style.TtsSpan.SemioticClassBuilder<android.text.style.TtsSpan.MeasureBuilder> | ||
| ↳ | android.text.style.TtsSpan.MeasureBuilder | ||
A builder for TtsSpans of type TYPE_MEASURE.
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Creates a builder for a TtsSpan of type
TYPE_MEASURE.
| |||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Convenience method that converts the denominator to a String and set
it to the value for
ARG_DENOMINATOR.
| |||||||||||
Sets the
ARG_DENOMINATOR argument.
| |||||||||||
Sets the
ARG_FRACTIONAL_PART argument.
| |||||||||||
Convenience method that converts the integer part to a String and set
it to the value for
ARG_INTEGER_PART.
| |||||||||||
Sets the
ARG_INTEGER_PART argument.
| |||||||||||
Sets the
ARG_NUMBER argument.
| |||||||||||
Convenience method that converts the number to a String and set it to
the value for
ARG_NUMBER.
| |||||||||||
Sets the
ARG_NUMERATOR argument.
| |||||||||||
Convenience method that converts the numerator to a String and set it
to the value for
ARG_NUMERATOR.
| |||||||||||
Sets the
ARG_UNIT argument.
| |||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
android.text.style.TtsSpan.SemioticClassBuilder
| |||||||||||
From class
android.text.style.TtsSpan.Builder
| |||||||||||
From class
java.lang.Object
| |||||||||||
Creates a builder for a TtsSpan of type TYPE_MEASURE.
Convenience method that converts the denominator to a String and set
it to the value for ARG_DENOMINATOR.
| denominator | The denominator of a fraction. |
|---|
Sets the ARG_DENOMINATOR argument.
| denominator | The denominator of a fraction; a non-empty string of digits with an optional leading + or -. |
|---|
Sets the ARG_FRACTIONAL_PART argument.
| fractionalPart | The fractional part of a decimal; a non-empty string of digits with an optional leading + or -. |
|---|
Convenience method that converts the integer part to a String and set
it to the value for ARG_INTEGER_PART.
| integerPart | The integer part of a decimal or fraction. |
|---|
Sets the ARG_INTEGER_PART argument.
| integerPart | The integer part of a decimal or fraction; a non-empty string of digits with an optional leading + or -. |
|---|
Sets the ARG_NUMBER argument.
| number | A non-empty string of digits with an optional leading + or -. |
|---|
Convenience method that converts the number to a String and set it to
the value for ARG_NUMBER.
| number | The amount of the measure. |
|---|
Sets the ARG_NUMERATOR argument.
| numerator | The numerator of a fraction; a non-empty string of digits with an optional leading + or -. |
|---|
Convenience method that converts the numerator to a String and set it
to the value for ARG_NUMERATOR.
| numerator | The numerator of a fraction. |
|---|