Android APIs
public static class

TtsSpan.DigitsBuilder

extends SemioticClassBuilder<TtsSpan.DigitsBuilder>
java.lang.Object
   ↳ android.text.style.TtsSpan.Builder<android.text.style.TtsSpan.DigitsBuilder>
     ↳ android.text.style.TtsSpan.SemioticClassBuilder<android.text.style.TtsSpan.DigitsBuilder>
       ↳ android.text.style.TtsSpan.DigitsBuilder

Class Overview

A builder for TtsSpans of type TYPE_DIGITS.

Summary

Public Constructors
TtsSpan.DigitsBuilder()
Creates a builder for a TtsSpan of type TYPE_DIGITS.
TtsSpan.DigitsBuilder(String digits)
Creates a builder for a TtsSpan of type TYPE_DIGITS and sets the ARG_DIGITS argument.
Public Methods
TtsSpan.DigitsBuilder setDigits(String digits)
Sets the ARG_DIGITS argument.
[Expand]
Inherited Methods
From class android.text.style.TtsSpan.SemioticClassBuilder
From class android.text.style.TtsSpan.Builder
From class java.lang.Object

Public Constructors

public TtsSpan.DigitsBuilder ()

Added in API level 21

Creates a builder for a TtsSpan of type TYPE_DIGITS.

public TtsSpan.DigitsBuilder (String digits)

Added in API level 21

Creates a builder for a TtsSpan of type TYPE_DIGITS and sets the ARG_DIGITS argument.

Public Methods

public TtsSpan.DigitsBuilder setDigits (String digits)

Added in API level 21

Sets the ARG_DIGITS argument.

Parameters
digits A string of digits.
Returns
  • This instance.