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 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.

Inherited methods

Public constructors

TtsSpan.DigitsBuilder

added in API level 21
TtsSpan.DigitsBuilder ()

Creates a builder for a TtsSpan of type TYPE_DIGITS.

TtsSpan.DigitsBuilder

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

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

Parameters
digits String

Public methods

setDigits

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

Sets the ARG_DIGITS argument.

Parameters
digits String: A string of digits.

Returns
TtsSpan.DigitsBuilder This instance.