Class RubySpan
- java.lang.Object
-
- com.google.android.exoplayer2.text.span.RubySpan
-
- All Implemented Interfaces:
LanguageFeatureSpan
@Deprecated public final class RubySpan extends Object implements LanguageFeatureSpan
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 ruby text.The text covered by this span is known as the "base text", and the ruby text is stored in
rubyText
.More information on ruby characters and span styling.
-
-
Field Detail
-
rubyText
public final String rubyText
Deprecated.The ruby text, i.e. the smaller explanatory characters.
-
position
public final @com.google.android.exoplayer2.text.span.TextAnnotation.Position int position
Deprecated.The position of the ruby text relative to the base text.
-
-
Constructor Detail
-
RubySpan
public RubySpan(String rubyText, @com.google.android.exoplayer2.text.span.TextAnnotation.Position int position)
Deprecated.
-
-