public
static
class
TtsSpan.CardinalBuilder
extends SemioticClassBuilder<TtsSpan.CardinalBuilder>
java.lang.Object | |||
↳ | android.text.style.TtsSpan.Builder<android.text.style.TtsSpan.CardinalBuilder> | ||
↳ | android.text.style.TtsSpan.SemioticClassBuilder<android.text.style.TtsSpan.CardinalBuilder> | ||
↳ | android.text.style.TtsSpan.CardinalBuilder |
A builder for TtsSpans of type TYPE_CARDINAL
.
Public constructors | |
---|---|
TtsSpan.CardinalBuilder()
Creates a builder for a TtsSpan of type |
|
TtsSpan.CardinalBuilder(long number)
Creates a TtsSpan of type |
|
TtsSpan.CardinalBuilder(String number)
Creates a TtsSpan of type |
Public methods | |
---|---|
TtsSpan.CardinalBuilder
|
setNumber(long number)
Convenience method that converts the number to a String and set it to
the value for |
TtsSpan.CardinalBuilder
|
setNumber(String number)
Sets the |
Inherited methods | |
---|---|
From
class
android.text.style.TtsSpan.SemioticClassBuilder
| |
From
class
android.text.style.TtsSpan.Builder
| |
From
class
java.lang.Object
|
TtsSpan.CardinalBuilder ()
Creates a builder for a TtsSpan of type TYPE_CARDINAL
.
TtsSpan.CardinalBuilder (long number)
Creates a TtsSpan of type TYPE_CARDINAL
and sets the
ARG_NUMBER
argument.
Parameters | |
---|---|
number |
long :
The number to synthesize. |
See also:
TtsSpan.CardinalBuilder (String number)
Creates a TtsSpan of type TYPE_CARDINAL
and sets the
ARG_NUMBER
argument.
Parameters | |
---|---|
number |
String :
The number to synthesize. |
See also:
TtsSpan.CardinalBuilder setNumber (long number)
Convenience method that converts the number to a String and set it to
the value for ARG_NUMBER
.
Parameters | |
---|---|
number |
long :
The number that will be synthesized. |
Returns | |
---|---|
TtsSpan.CardinalBuilder |
This instance. |
TtsSpan.CardinalBuilder setNumber (String number)
Sets the ARG_NUMBER
argument.
Parameters | |
---|---|
number |
String :
A non-empty string of digits with an optional
leading + or -. |
Returns | |
---|---|
TtsSpan.CardinalBuilder |
This instance. |