Added in API level 21

SemioticClassBuilder


open class SemioticClassBuilder<C : TtsSpan.SemioticClassBuilder<*>!> : TtsSpan.Builder<C>
TtsSpan.CardinalBuilder

A builder for TtsSpans of type TYPE_CARDINAL.

TtsSpan.DateBuilder

A builder for TtsSpans of type TYPE_DATE.

TtsSpan.DecimalBuilder

A builder for TtsSpans of type TYPE_DECIMAL.

TtsSpan.DigitsBuilder

A builder for TtsSpans of type TYPE_DIGITS.

TtsSpan.DurationBuilder

A builder for TtsSpans of type TYPE_DURATION.

TtsSpan.ElectronicBuilder

A builder for TtsSpans of type TYPE_ELECTRONIC.

TtsSpan.FractionBuilder

A builder for TtsSpans of type TYPE_FRACTION.

TtsSpan.MeasureBuilder

A builder for TtsSpans of type TYPE_MEASURE.

TtsSpan.MoneyBuilder

A builder for TtsSpans of type TYPE_MONEY.

TtsSpan.OrdinalBuilder

A builder for TtsSpans of type TYPE_ORDINAL.

TtsSpan.TelephoneBuilder

A builder for TtsSpans of type TYPE_TELEPHONE.

TtsSpan.TextBuilder

A builder for TtsSpans of type TYPE_TEXT.

TtsSpan.TimeBuilder

A builder for TtsSpans of type TYPE_TIME.

TtsSpan.VerbatimBuilder

A builder for TtsSpans of type TYPE_VERBATIM.

A builder for TtsSpans, has setters for morphosyntactic features. This builder can be used directly, but the more specific subclasses of this builder like TtsSpan.TextBuilder and TtsSpan.CardinalBuilder are likely more useful.

Summary

Public constructors

Public methods
open C
setAnimacy(animacy: String!)

Sets the animacy information for this instance.

open C
setCase(grammaticalCase: String!)

Sets the grammatical case information for this instance.

open C
setGender(gender: String!)

Sets the gender information for this instance.

open C
setMultiplicity(multiplicity: String!)

Sets the multiplicity information for this instance.

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.

Public constructors

SemioticClassBuilder

Added in API level 21
SemioticClassBuilder(type: String!)

Public methods

setAnimacy

Added in API level 21
open fun setAnimacy(animacy: String!): C

Sets the animacy information for this instance.

Parameters
animacy String!: Can be any of ANIMACY_ANIMATE and ANIMACY_INANIMATE.
Return
C This instance.

setCase

Added in API level 21
open fun setCase(grammaticalCase: String!): C

Sets the grammatical case information for this instance.

Return
C This instance.

setGender

Added in API level 21
open fun setGender(gender: String!): C

Sets the gender information for this instance.

Parameters
gender String!: Can any of GENDER_NEUTRAL, GENDER_MALE and GENDER_FEMALE.
Return
C This instance.

setMultiplicity

Added in API level 21
open fun setMultiplicity(multiplicity: String!): C

Sets the multiplicity information for this instance.

Parameters
multiplicity String!: Can be any of MULTIPLICITY_SINGLE, MULTIPLICITY_DUAL and MULTIPLICITY_PLURAL.
Return
C This instance.