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

DigitsBuilder()

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

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

DigitsBuilder

Added in API level 21
public DigitsBuilder ()

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

DigitsBuilder

Added in API level 21
public 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.