Most visited

Recently visited

Added in API level 21

TtsSpan.TextBuilder

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

java.lang.Object
   ↳ android.text.style.TtsSpan.Builder<android.text.style.TtsSpan.TextBuilder>
     ↳ android.text.style.TtsSpan.SemioticClassBuilder<android.text.style.TtsSpan.TextBuilder>
       ↳ android.text.style.TtsSpan.TextBuilder


A builder for TtsSpans of type TYPE_TEXT.

Summary

Public constructors

TtsSpan.TextBuilder()

Creates a builder for a TtsSpan of type TYPE_TEXT.

TtsSpan.TextBuilder(String text)

Creates a TtsSpan of type TYPE_TEXT and sets the ARG_TEXT argument.

Public methods

TtsSpan.TextBuilder setText(String text)

Sets the ARG_TEXT argument, the text to be synthesized.

Inherited methods

From class android.text.style.TtsSpan.SemioticClassBuilder
From class android.text.style.TtsSpan.Builder
From class java.lang.Object

Public constructors

TtsSpan.TextBuilder

Added in API level 21
TtsSpan.TextBuilder ()

Creates a builder for a TtsSpan of type TYPE_TEXT.

TtsSpan.TextBuilder

Added in API level 21
TtsSpan.TextBuilder (String text)

Creates a TtsSpan of type TYPE_TEXT and sets the ARG_TEXT argument.

Parameters
text String: The text to be synthesized.

See also:

Public methods

setText

Added in API level 21
TtsSpan.TextBuilder setText (String text)

Sets the ARG_TEXT argument, the text to be synthesized.

Parameters
text String: The string that will be synthesized.
Returns
TtsSpan.TextBuilder This instance.

Hooray!