DurationBuilder


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

A builder for TtsSpans of type TYPE_DURATION.

Summary

Public constructors

Creates a builder for a TtsSpan of type TYPE_DURATION.

Public methods
open TtsSpan.DurationBuilder
setHours(hours: Int)

Sets the ARG_HOURS argument.

open TtsSpan.DurationBuilder
setMinutes(minutes: Int)

Sets the ARG_MINUTES argument.

open TtsSpan.DurationBuilder
setSeconds(seconds: Int)

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

DurationBuilder

DurationBuilder()

Creates a builder for a TtsSpan of type TYPE_DURATION.

Public methods

setHours

open fun setHours(hours: Int): TtsSpan.DurationBuilder

Sets the ARG_HOURS argument.

Parameters
hours Int: The value to be set for hours.
Return
TtsSpan.DurationBuilder This instance. This value cannot be null.

setMinutes

open fun setMinutes(minutes: Int): TtsSpan.DurationBuilder

Sets the ARG_MINUTES argument.

Parameters
minutes Int: The value to be set for minutes.
Return
TtsSpan.DurationBuilder This instance. This value cannot be null.

setSeconds

open fun setSeconds(seconds: Int): TtsSpan.DurationBuilder

Sets the ARG_SECONDS argument.

Parameters
seconds Int: The value to be set for seconds.
Return
TtsSpan.DurationBuilder This instance. This value cannot be null.