Share via


TtsSpan.TypeDuration Field

Definition

The text associated with this span is a duration, consisting of a number of hours, minutes, and seconds specified with #ARG_HOURS, #ARG_MINUTES, and #ARG_SECONDS.

[Android.Runtime.Register("TYPE_DURATION", ApiSince=36)]
public const string TypeDuration;
[<Android.Runtime.Register("TYPE_DURATION", ApiSince=36)>]
val mutable TypeDuration : string

Field Value

Implements

Attributes

Remarks

The text associated with this span is a duration, consisting of a number of hours, minutes, and seconds specified with #ARG_HOURS, #ARG_MINUTES, and #ARG_SECONDS. This is different from #TYPE_TIME. This should be used to convey an interval of time, while #TYPE_TIME should be used to convey a particular moment in time, such as a clock time.

Java documentation for android.text.style.TtsSpan.TYPE_DURATION.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to