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

VerbatimBuilder()

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

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

VerbatimBuilder

Added in API level 21
public VerbatimBuilder ()

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

VerbatimBuilder

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