Added in API level 21

DigitsBuilder


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

A builder for TtsSpans of type TYPE_DIGITS.

Summary

Public constructors

Creates a builder for a TtsSpan of type TYPE_DIGITS.

Creates a builder for a TtsSpan of type TYPE_DIGITS and sets the ARG_DIGITS argument.

Public methods
open TtsSpan.DigitsBuilder!
setDigits(digits: String!)

Sets the ARG_DIGITS 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

DigitsBuilder

Added in API level 21
DigitsBuilder()

Creates a builder for a TtsSpan of type TYPE_DIGITS.

DigitsBuilder

Added in API level 21
DigitsBuilder(digits: String!)

Creates a builder for a TtsSpan of type TYPE_DIGITS and sets the ARG_DIGITS argument.

Public methods

setDigits

Added in API level 21
open fun setDigits(digits: String!): TtsSpan.DigitsBuilder!

Sets the ARG_DIGITS argument.

Parameters
digits String!: A string of digits.
Return
TtsSpan.DigitsBuilder! This instance.