lightbulb_outline Help shape the future of the Google Play Console, Android Studio, and Firebase. Start survey

TtsSpan.DigitsBuilder

public static class TtsSpan.DigitsBuilder
extends SemioticClassBuilder<TtsSpan.DigitsBuilder>

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


A builder for TtsSpans of type TtsSpan.TYPE_DIGITS.

Summary

Public constructors

TtsSpan.DigitsBuilder()

Creates a builder for a TtsSpan of type TtsSpan.TYPE_DIGITS.

TtsSpan.DigitsBuilder(String digits)

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

Public methods

TtsSpan.DigitsBuilder setDigits(String digits)

Sets the TtsSpan.ARG_DIGITS argument.

Inherited methods

Public constructors

TtsSpan.DigitsBuilder

added in API level 21
public TtsSpan.DigitsBuilder ()

Creates a builder for a TtsSpan of type TtsSpan.TYPE_DIGITS.

TtsSpan.DigitsBuilder

added in API level 21
public TtsSpan.DigitsBuilder (String digits)

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

Parameters
digits String

Public methods

setDigits

added in API level 21
public TtsSpan.DigitsBuilder setDigits (String digits)

Sets the TtsSpan.ARG_DIGITS argument.

Parameters
digits String: A string of digits.

Returns
TtsSpan.DigitsBuilder This instance.