# Package com.google.android.exoplayer2.text

- Interface Summary
  Interface | Description
  --- | ---
  Subtitle | A subtitle consisting of timed `Cue`s.
  SubtitleDecoder | Decodes `Subtitle`s from `SubtitleInputBuffer`s.
  SubtitleDecoderFactory | A factory for `SubtitleDecoder` instances.
  TextOutput | Receives text output.

- Class Summary
  Class | Description
  --- | ---
  Cue | Contains information about a specific cue, including textual content and formatting data.
  Cue.Builder | A builder for `Cue` objects.
  SimpleSubtitleDecoder | Base class for subtitle parsers that use their own decode thread.
  SubtitleInputBuffer | A `DecoderInputBuffer` for a `SubtitleDecoder`.
  SubtitleOutputBuffer | Base class for `SubtitleDecoder` output buffers.
  TextRenderer | A renderer for text.

- Exception Summary
  Exception | Description
  --- | ---
  SubtitleDecoderException | Thrown when an error occurs decoding subtitle data.

- Annotation Types Summary
  Annotation Type | Description
  --- | ---
  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.