TtsSpan.TimeBuilder
  public
  static
  
  
  class
  TtsSpan.TimeBuilder
  
  
  
  
  
  
  
    extends SemioticClassBuilder<TtsSpan.TimeBuilder>
  
  
  
  
  
  
| java.lang.Object | |||
| ↳ | android.text.style.TtsSpan.Builder<C extends android.text.style.TtsSpan.SemioticClassBuilder<?>> | ||
| ↳ | android.text.style.TtsSpan.SemioticClassBuilder<android.text.style.TtsSpan.TimeBuilder> | ||
| ↳ | android.text.style.TtsSpan.TimeBuilder | ||
A builder for TtsSpans of type TtsSpan.TYPE_TIME.
Summary
| Public constructors | |
|---|---|
| 
      TimeBuilder()
      Creates a builder for a TtsSpan of type  | |
| 
      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  | 
| 
        
        
        
        
        
        TtsSpan.TimeBuilder | 
      setSeconds(int seconds)
      Sets the  | 
| Inherited methods | |
|---|---|
Public constructors
TimeBuilder
public TimeBuilder ()
Creates a builder for a TtsSpan of type TtsSpan.TYPE_TIME.
TimeBuilder
public TimeBuilder (int hours, 
                int minutes)Creates a builder for a TtsSpan of type TtsSpan.TYPE_TIME and
 sets the TtsSpan.ARG_HOURS and TtsSpan.ARG_MINUTES arguments.
| Parameters | |
|---|---|
| hours | int | 
| minutes | int | 
Public methods
setHours
public TtsSpan.TimeBuilder setHours (int hours)
Sets the TtsSpan.ARG_HOURS argument.
| Parameters | |
|---|---|
| hours | int: The value to be set for hours. SeeTtsSpan.ARG_HOURS.
 Value is between 0 and 24 inclusive | 
| Returns | |
|---|---|
| TtsSpan.TimeBuilder | This instance. | 
See also:
setMinutes
public TtsSpan.TimeBuilder setMinutes (int minutes)
Sets the TtsSpan.ARG_MINUTES argument.
| Parameters | |
|---|---|
| minutes | int: The value to be set for minutes. SeeTtsSpan.ARG_MINUTES.
 Value is between 0 and 59 inclusive | 
| Returns | |
|---|---|
| TtsSpan.TimeBuilder | This instance. | 
See also:
setSeconds
public TtsSpan.TimeBuilder setSeconds (int seconds)
Sets the TtsSpan.ARG_SECONDS argument.
| Parameters | |
|---|---|
| seconds | int: The value to be set for seconds.
 Value is between 0 and 59 inclusive | 
| Returns | |
|---|---|
| TtsSpan.TimeBuilder | This instance.
 This value cannot be null. | 
