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