public
static
class
TtsSpan.TimeBuilder
extends SemioticClassBuilder<TtsSpan.TimeBuilder>
java.lang.Object | |||
↳ | android.text.style.TtsSpan.Builder<android.text.style.TtsSpan.TimeBuilder> | ||
↳ | android.text.style.TtsSpan.SemioticClassBuilder<android.text.style.TtsSpan.TimeBuilder> | ||
↳ | android.text.style.TtsSpan.TimeBuilder |
A builder for TtsSpans of type TYPE_TIME
.
Public constructors | |
---|---|
TtsSpan.TimeBuilder()
Creates a builder for a TtsSpan of type |
|
TtsSpan.TimeBuilder(int hours, int minutes)
Creates a builder for a TtsSpan of type |
Public methods | |
---|---|
TtsSpan.TimeBuilder
|
setHours(int hours)
Sets the |
TtsSpan.TimeBuilder
|
setMinutes(int minutes)
Sets the |
Inherited methods | |
---|---|
From
class
android.text.style.TtsSpan.SemioticClassBuilder
| |
From
class
android.text.style.TtsSpan.Builder
| |
From
class
java.lang.Object
|
TtsSpan.TimeBuilder ()
Creates a builder for a TtsSpan of type TYPE_TIME
.
TtsSpan.TimeBuilder (int hours, int minutes)
Creates a builder for a TtsSpan of type TYPE_TIME
and
sets the ARG_HOURS
and ARG_MINUTES
arguments.
Parameters | |
---|---|
hours |
int
|
minutes |
int
|
TtsSpan.TimeBuilder setHours (int hours)
Sets the ARG_HOURS
argument.
Parameters | |
---|---|
hours |
int :
The value to be set for hours. See ARG_HOURS . |
Returns | |
---|---|
TtsSpan.TimeBuilder |
This instance. |
See also:
TtsSpan.TimeBuilder setMinutes (int minutes)
Sets the ARG_MINUTES
argument.
Parameters | |
---|---|
minutes |
int :
The value to be set for minutes. See
ARG_MINUTES . |
Returns | |
---|---|
TtsSpan.TimeBuilder |
This instance. |