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

TtsSpan.VerbatimBuilder

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

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


A builder for TtsSpans of type TtsSpan.TYPE_VERBATIM.

Summary

Public constructors

TtsSpan.VerbatimBuilder()

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

TtsSpan.VerbatimBuilder(String verbatim)

Creates a builder for a TtsSpan of type TtsSpan.TYPE_VERBATIM and sets the TtsSpan.ARG_VERBATIM argument.

Public methods

TtsSpan.VerbatimBuilder setVerbatim(String verbatim)

Sets the TtsSpan.ARG_VERBATIM argument.

Inherited methods

Public constructors

TtsSpan.VerbatimBuilder

added in API level 21
public TtsSpan.VerbatimBuilder ()

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

TtsSpan.VerbatimBuilder

added in API level 21
public TtsSpan.VerbatimBuilder (String verbatim)

Creates a builder for a TtsSpan of type TtsSpan.TYPE_VERBATIM and sets the TtsSpan.ARG_VERBATIM argument.

Parameters
verbatim String

Public methods

setVerbatim

added in API level 21
public TtsSpan.VerbatimBuilder setVerbatim (String verbatim)

Sets the TtsSpan.ARG_VERBATIM argument.

Parameters
verbatim String: A string of characters that will be read verbatim, except whitespace.

Returns
TtsSpan.VerbatimBuilder This instance.