Stay organized with collections
Save and categorize content based on your preferences.
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.
[null,null,["Last updated 2025-05-15 UTC."],[],[],null,["# androidx.media3.test.utils.truth\n================================\n\n*** ** * ** ***\n\n[Kotlin](/reference/kotlin/androidx/media3/test/utils/truth/package-summary \"View this page in Kotlin\") \\|Java\n\nInterfaces\n----------\n\n|------------------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------|\n| [SpannedSubject.AbsoluteSized](/reference/androidx/media3/test/utils/truth/SpannedSubject.AbsoluteSized) | Allows assertions about the absolute size of a span. |\n| [SpannedSubject.Aligned](/reference/androidx/media3/test/utils/truth/SpannedSubject.Aligned) | Allows assertions about the alignment of a span. |\n| [SpannedSubject.AndSpanFlags](/reference/androidx/media3/test/utils/truth/SpannedSubject.AndSpanFlags) | Allows additional assertions to be made on the flags of matching spans. |\n| [SpannedSubject.Colored](/reference/androidx/media3/test/utils/truth/SpannedSubject.Colored) | Allows assertions about the color of a span. |\n| [SpannedSubject.EmphasizedText](/reference/androidx/media3/test/utils/truth/SpannedSubject.EmphasizedText) | Allows assertions about a span's text emphasis mark and its position. |\n| [SpannedSubject.RelativeSized](/reference/androidx/media3/test/utils/truth/SpannedSubject.RelativeSized) | Allows assertions about the relative size of a span. |\n| [SpannedSubject.RubyText](/reference/androidx/media3/test/utils/truth/SpannedSubject.RubyText) | Allows assertions about a span's ruby text and its position. |\n| [SpannedSubject.Typefaced](/reference/androidx/media3/test/utils/truth/SpannedSubject.Typefaced) | Allows assertions about the typeface of a span. |\n| [SpannedSubject.VoiceText](/reference/androidx/media3/test/utils/truth/SpannedSubject.VoiceText) | Allows assertions about a span's voice its position. |\n| [SpannedSubject.WithSpanFlags](/reference/androidx/media3/test/utils/truth/SpannedSubject.WithSpanFlags) | Allows additional assertions to be made on the flags of matching spans. |\n\nClasses\n-------\n\n|------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [SpannedSubject](/reference/androidx/media3/test/utils/truth/SpannedSubject) | A Truth [Subject](https://truth.dev/api/0.41/com/google/common/truth/Subject.html) for assertions on [Spanned](https://developer.android.com/reference/android/text/Spanned.html) instances containing text styling. |"]]