OrdinalBuilder
open class OrdinalBuilder : TtsSpan.SemioticClassBuilder<TtsSpan.OrdinalBuilder!>
kotlin.Any | |||
↳ | android.text.style.TtsSpan.Builder<C> | ||
↳ | android.text.style.TtsSpan.SemioticClassBuilder<android.text.style.TtsSpan.OrdinalBuilder> | ||
↳ | android.text.style.TtsSpan.OrdinalBuilder |
A builder for TtsSpans of type TYPE_ORDINAL
.
Summary
Public constructors | |
---|---|
Creates a builder for a TtsSpan of type |
|
OrdinalBuilder(number: String!) Creates a TtsSpan of type |
|
OrdinalBuilder(number: Long) Creates a TtsSpan of type |
Public methods | |
---|---|
open TtsSpan.OrdinalBuilder! |
Sets the |
open TtsSpan.OrdinalBuilder! |
Convenience method that converts the number to a String and sets it to the value for |
Inherited functions | |
---|---|
Public constructors
OrdinalBuilder
OrdinalBuilder()
Creates a builder for a TtsSpan of type TYPE_ORDINAL
.
OrdinalBuilder
OrdinalBuilder(number: String!)
Creates a TtsSpan of type TYPE_ORDINAL
and sets the ARG_NUMBER
argument.
Parameters | |
---|---|
number |
String!: The number to synthesize. |
See Also
OrdinalBuilder
OrdinalBuilder(number: Long)
Creates a TtsSpan of type TYPE_ORDINAL
and sets the ARG_NUMBER
argument.
Parameters | |
---|---|
number |
Long: The ordinal number to synthesize. |
See Also
Public methods
setNumber
open fun setNumber(number: String!): TtsSpan.OrdinalBuilder!
Sets the ARG_NUMBER
argument.
Parameters | |
---|---|
number |
String!: A non-empty string of digits with an optional leading + or -. |
Return | |
---|---|
TtsSpan.OrdinalBuilder! |
This instance. |
setNumber
open fun setNumber(number: Long): TtsSpan.OrdinalBuilder!
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. |
Return | |
---|---|
TtsSpan.OrdinalBuilder! |
This instance. |