androidx.media3.common.text


Interfaces

LanguageFeatureSpan

Marker interface for span classes that carry language features rather than style information.

Classes

Cue

Contains information about a specific cue, including textual content and formatting data.

Cue.Builder

A builder for Cue objects.

CueGroup

Class to represent the state of active Cues at a particular time.

HorizontalTextInVerticalContextSpan

A styling span for horizontal text in a vertical context.

RubySpan

A styling span for ruby text.

SpanUtil

Utility methods for Android span styling.

TextAnnotation

Properties of a text annotation (i.e. ruby, text emphasis marks).

TextEmphasisSpan

A styling span for text emphasis marks.

VoiceSpan

A span representing the speaker of the spanned text.

Annotations

Cue.AnchorType

The type of anchor, which may be unset.

Cue.LineType

The type of line, which may be unset.

Cue.TextSizeType

The type of default text size for this cue, which may be unset.

Cue.VerticalType

The type of vertical layout for this cue, which may be unset (i.e. horizontal).

TextAnnotation.Position

The possible positions of the annotation text relative to the base text.

TextEmphasisSpan.MarkFill

The possible mark fills that can be used.

TextEmphasisSpan.MarkShape

The possible mark shapes that can be used.