Stay organized with collections
Save and categorize content based on your preferences.
Annotations
Interfaces
LanguageFeatureSpan |
Marker interface for span classes that carry language features rather than style information.
|
Classes
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2025-05-15 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-05-15 UTC."],[],[],null,["# androidx.media3.common.text\n===========================\n\n*** ** * ** ***\n\n[Kotlin](/reference/kotlin/androidx/media3/common/text/package-summary \"View this page in Kotlin\") \\|Java\n\nAnnotations\n-----------\n\n|-------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------|\n| [Cue.AnchorType](/reference/androidx/media3/common/text/Cue.AnchorType) | The type of anchor, which may be unset. |\n| [Cue.LineType](/reference/androidx/media3/common/text/Cue.LineType) | The type of line, which may be unset. |\n| [Cue.TextSizeType](/reference/androidx/media3/common/text/Cue.TextSizeType) | The type of default text size for this cue, which may be unset. |\n| [Cue.VerticalType](/reference/androidx/media3/common/text/Cue.VerticalType) | The type of vertical layout for this cue, which may be unset (i.e. horizontal). |\n| [TextAnnotation.Position](/reference/androidx/media3/common/text/TextAnnotation.Position) | The possible positions of the annotation text relative to the base text. |\n| [TextEmphasisSpan.MarkFill](/reference/androidx/media3/common/text/TextEmphasisSpan.MarkFill) | The possible mark fills that can be used. |\n| [TextEmphasisSpan.MarkShape](/reference/androidx/media3/common/text/TextEmphasisSpan.MarkShape) | The possible mark shapes that can be used. |\n\nInterfaces\n----------\n\n|-----------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------|\n| [LanguageFeatureSpan](/reference/androidx/media3/common/text/LanguageFeatureSpan) | Marker interface for span classes that carry language features rather than style information. |\n\nClasses\n-------\n\n|-------------------------------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------|\n| [Cue](/reference/androidx/media3/common/text/Cue) | Contains information about a specific cue, including textual content and formatting data. |\n| [Cue.Builder](/reference/androidx/media3/common/text/Cue.Builder) | A builder for [Cue](/reference/androidx/media3/common/text/Cue) objects. |\n| [CueGroup](/reference/androidx/media3/common/text/CueGroup) | Class to represent the state of active [Cues](/reference/androidx/media3/common/text/Cue) at a particular time. |\n| [HorizontalTextInVerticalContextSpan](/reference/androidx/media3/common/text/HorizontalTextInVerticalContextSpan) | A styling span for horizontal text in a vertical context. |\n| [RubySpan](/reference/androidx/media3/common/text/RubySpan) | A styling span for ruby text. |\n| [SpanUtil](/reference/androidx/media3/common/text/SpanUtil) | Utility methods for Android [span styling](https://developer.android.com/guide/topics/text/spans). |\n| [TextAnnotation](/reference/androidx/media3/common/text/TextAnnotation) | Properties of a text annotation (i.e. ruby, text emphasis marks). |\n| [TextEmphasisSpan](/reference/androidx/media3/common/text/TextEmphasisSpan) | A styling span for text emphasis marks. |\n| [VoiceSpan](/reference/androidx/media3/common/text/VoiceSpan) | A span representing the speaker of the spanned text. |"]]