Added in API level 21

VerbatimBuilder


open class VerbatimBuilder : TtsSpan.SemioticClassBuilder<TtsSpan.VerbatimBuilder!>

A builder for TtsSpans of type TYPE_VERBATIM.

Summary

Public constructors

Creates a builder for a TtsSpan of type TYPE_VERBATIM.

VerbatimBuilder(verbatim: String!)

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

Public methods
open TtsSpan.VerbatimBuilder!
setVerbatim(verbatim: String!)

Sets the ARG_VERBATIM argument.

Inherited functions
TtsSpan! build()

Returns a TtsSpan built from the parameters set by the setter methods.

C setIntArgument(arg: String!, value: Int)

Sets an argument to an int value.

C setLongArgument(arg: String!, value: Long)

Sets an argument to a long value.

C setStringArgument(arg: String!, value: String!)

Sets an argument to a string value.

C setAnimacy(animacy: String!)

Sets the animacy information for this instance.

C setCase(grammaticalCase: String!)

Sets the grammatical case information for this instance.

C setGender(gender: String!)

Sets the gender information for this instance.

C setMultiplicity(multiplicity: String!)

Sets the multiplicity information for this instance.

Public constructors

VerbatimBuilder

Added in API level 21
VerbatimBuilder()

Creates a builder for a TtsSpan of type TYPE_VERBATIM.

VerbatimBuilder

Added in API level 21
VerbatimBuilder(verbatim: String!)

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

Public methods

setVerbatim

Added in API level 21
open fun setVerbatim(verbatim: String!): TtsSpan.VerbatimBuilder!

Sets the ARG_VERBATIM argument.

Parameters
verbatim String!: A string of characters that will be read verbatim, except whitespace.
Return
TtsSpan.VerbatimBuilder! This instance.