Added in API level 21

SemioticClassBuilder

open class SemioticClassBuilder<C : TtsSpan.SemioticClassBuilder<*>!> : TtsSpan.Builder<C>
kotlin.Any
   ↳ android.text.style.TtsSpan.Builder<C>
   ↳ android.text.style.TtsSpan.SemioticClassBuilder

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

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.

Parameters
grammaticalCase String!: Can be any of CASE_NOMINATIVE, CASE_ACCUSATIVE, CASE_DATIVE, CASE_ABLATIVE, CASE_GENITIVE, CASE_VOCATIVE, CASE_LOCATIVE and CASE_INSTRUMENTAL.
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.