docs/doc/reference/com/google/android/exoplayer2/text/span/TextEmphasisSpan.html
Package com.google.android.exoplayer2.text.span
All Implemented Interfaces:LanguageFeatureSpan
[@Deprecated](https://developer.android.com/reference/java/lang/Deprecated.html "class or interface in java.lang")public final classTextEmphasisSpanextends[Object](https://developer.android.com/reference/java/lang/Object.html "class or interface in java.lang")implements[LanguageFeatureSpan](LanguageFeatureSpan.html "interface in com.google.android.exoplayer2.text.span")
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.
A styling span for text emphasis marks.
These are pronunciation aids such as Japanese boutens which can be rendered using the text-emphasis CSS property.
Nested Classes | Modifier and Type | Class | Description |
| --- | --- | --- |
| static interface | TextEmphasisSpan.MarkFill |
Deprecated.
The possible mark fills that can be used.
|
| static interface | TextEmphasisSpan.MarkShape |
Deprecated.
The possible mark shapes that can be used. |
Fields | Modifier and Type | Field | Description |
| --- | --- | --- |
| static int | MARK_FILL_FILLED |
Deprecated.
|
| static int | MARK_FILL_OPEN |
Deprecated.
|
| static int | MARK_FILL_UNKNOWN |
Deprecated.
|
| static int | MARK_SHAPE_CIRCLE |
Deprecated.
|
| static int | MARK_SHAPE_DOT |
Deprecated.
|
| static int | MARK_SHAPE_NONE |
Deprecated.
|
| static int | MARK_SHAPE_SESAME |
Deprecated.
|
| @com.google.android.exoplayer2.text.span.TextEmphasisSpan.MarkShape int | markFill |
Deprecated.
The mark fill for the text emphasis mark.
|
| @com.google.android.exoplayer2.text.span.TextEmphasisSpan.MarkShape int | markShape |
Deprecated.
The mark shape used for text emphasis.
|
| @com.google.android.exoplayer2.text.span.TextAnnotation.Position int | position |
Deprecated.
The position of the text emphasis relative to the base text. |
Constructors | Constructor | Description |
| --- | --- |
| TextEmphasisSpan(@com.google.android.exoplayer2.text.span.TextEmphasisSpan.MarkShape int shape, @com.google.android.exoplayer2.text.span.TextEmphasisSpan.MarkFill int fill, @com.google.android.exoplayer2.text.span.TextAnnotation.Position int position) |
Deprecated.
|
-
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
public static final int MARK_SHAPE_NONE
Deprecated. See Also:Constant Field Values
-
public static final int MARK_SHAPE_CIRCLE
Deprecated. See Also:Constant Field Values
-
public static final int MARK_SHAPE_DOT
Deprecated. See Also:Constant Field Values
-
public static final int MARK_SHAPE_SESAME
Deprecated. See Also:Constant Field Values
-
public static final int MARK_FILL_UNKNOWN
Deprecated. See Also:Constant Field Values
-
public static final int MARK_FILL_FILLED
Deprecated. See Also:Constant Field Values
-
public static final int MARK_FILL_OPEN
Deprecated. See Also:Constant Field Values
-
public @com.google.android.exoplayer2.text.span.TextEmphasisSpan.MarkShape int markShape
Deprecated.
The mark shape used for text emphasis.
-
public @com.google.android.exoplayer2.text.span.TextEmphasisSpan.MarkShape int markFill
Deprecated.
The mark fill for the text emphasis mark.
-
public final @com.google.android.exoplayer2.text.span.TextAnnotation.Position int position
Deprecated.
The position of the text emphasis relative to the base text.
-
public TextEmphasisSpan(@com.google.android.exoplayer2.text.span.TextEmphasisSpan.MarkShape int shape,
@com.google.android.exoplayer2.text.span.TextEmphasisSpan.MarkFill int fill,
@com.google.android.exoplayer2.text.span.TextAnnotation.Position int position)
Deprecated.