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