java.lang.Object | |
↳ | android.text.style.TtsSpan.Builder<C extends android.text.style.TtsSpan.Builder<?>> |
Known Direct Subclasses
TtsSpan.SemioticClassBuilder<C extends SemioticClassBuilder<?>>
|
A simple builder for TtsSpans.
This builder can be used directly, but the more specific subclasses of
this builder like TtsSpan.TextBuilder
and
TtsSpan.CardinalBuilder
are likely more useful.
This class uses generics so methods from this class can return instances
of its child classes, resulting in a fluent API (CRTP pattern).
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Returns a TtsSpan built from the parameters set by the setter
methods.
| |||||||||||
Sets an argument to an int value.
| |||||||||||
Sets an argument to a long value.
| |||||||||||
Sets an argument to a string value.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
|
Returns a TtsSpan built from the parameters set by the setter methods.
Sets an argument to an int value.
arg | The argument name. |
---|---|
value | The value the argument should be set to. |
Sets an argument to a long value.
arg | The argument name. |
---|---|
value | The value the argument should be set to. |
Sets an argument to a string value.
arg | The argument name. |
---|---|
value | The value the argument should be set to. |