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 |
Public constructors |
|
---|---|
TtsSpan.TimeBuilder() |
|
TtsSpan.TimeBuilder(int hours, int minutes) 为TYPE_TIME类型的 |
Public methods |
|
---|---|
TtsSpan.TimeBuilder |
setHours(int hours) 设置 |
TtsSpan.TimeBuilder |
setMinutes(int minutes) 设置 |
Inherited methods |
|
---|---|
From class android.text.style.TtsSpan.SemioticClassBuilder
|
|
From class android.text.style.TtsSpan.Builder
|
|
From class java.lang.Object
|
TtsSpan.TimeBuilder (int hours, int minutes)
创建一个类型为TYPE_TIME的 TYPE_TIME
的构建器,并设置参数 ARG_HOURS
和 ARG_MINUTES
。
Parameters | |
---|---|
hours |
int
|
minutes |
int
|
TtsSpan.TimeBuilder setHours (int hours)
设置 ARG_HOURS
参数。
Parameters | |
---|---|
hours |
int : The value to be set for hours. See ARG_HOURS . |
Returns | |
---|---|
TtsSpan.TimeBuilder |
This instance. |
TtsSpan.TimeBuilder setMinutes (int minutes)
设置 ARG_MINUTES
参数。
Parameters | |
---|---|
minutes |
int : The value to be set for minutes. See ARG_MINUTES . |
Returns | |
---|---|
TtsSpan.TimeBuilder |
This instance. |