docs/doc/reference/com/google/android/exoplayer2/text/span/TextAnnotation.html
Package com.google.android.exoplayer2.text.span
[@Deprecated](https://developer.android.com/reference/java/lang/Deprecated.html "class or interface in java.lang")public final classTextAnnotationextends[Object](https://developer.android.com/reference/java/lang/Object.html "class or interface in java.lang")
Deprecated. com.google.android.exoplayer2 is deprecated. Please migrate to androidx.media3 (which contains the same ExoPlayer code). See the migration guide for more details, including a script to help with the migration.
Properties of a text annotation (i.e. ruby, text emphasis marks).
Nested Classes | Modifier and Type | Class | Description |
| --- | --- | --- |
| static interface | TextAnnotation.Position |
Deprecated.
The possible positions of the annotation text relative to the base text. |
Fields | Modifier and Type | Field | Description |
| --- | --- | --- |
| static int | POSITION_AFTER |
Deprecated.
For horizontal text, the text annotation should be positioned below the base text.
|
| static int | POSITION_BEFORE |
Deprecated.
For horizontal text, the text annotation should be positioned above the base text.
|
| static int | POSITION_UNKNOWN |
Deprecated.
The text annotation position is unknown. |
-
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
public static final int POSITION_UNKNOWN
Deprecated.
The text annotation position is unknown. See Also:Constant Field Values
-
public static final int POSITION_BEFORE
Deprecated.
For horizontal text, the text annotation should be positioned above the base text.
For vertical text it should be positioned to the right, same as CSS's ruby-position.
See Also:Constant Field Values
-
public static final int POSITION_AFTER
Deprecated.
For horizontal text, the text annotation should be positioned below the base text.
For vertical text it should be positioned to the left, same as CSS's ruby-position.
See Also:Constant Field Values