# androidx.media3.test.utils.truth

# androidx.media3.test.utils.truth

*** ** * ** ***

Kotlin\|[Java](https://developer.android.com/reference/androidx/media3/test/utils/truth/package-summary "View this page in Java")

## Interfaces

|------------------------------------------------------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------|
| [SpannedSubject.AbsoluteSized](https://developer.android.com/reference/kotlin/androidx/media3/test/utils/truth/SpannedSubject.AbsoluteSized)   | Allows assertions about the absolute size of a span.                    |
| [SpannedSubject.Aligned](https://developer.android.com/reference/kotlin/androidx/media3/test/utils/truth/SpannedSubject.Aligned)               | Allows assertions about the alignment of a span.                        |
| [SpannedSubject.AndSpanFlags](https://developer.android.com/reference/kotlin/androidx/media3/test/utils/truth/SpannedSubject.AndSpanFlags)     | Allows additional assertions to be made on the flags of matching spans. |
| [SpannedSubject.Colored](https://developer.android.com/reference/kotlin/androidx/media3/test/utils/truth/SpannedSubject.Colored)               | Allows assertions about the color of a span.                            |
| [SpannedSubject.EmphasizedText](https://developer.android.com/reference/kotlin/androidx/media3/test/utils/truth/SpannedSubject.EmphasizedText) | Allows assertions about a span's text emphasis mark and its position.   |
| [SpannedSubject.RelativeSized](https://developer.android.com/reference/kotlin/androidx/media3/test/utils/truth/SpannedSubject.RelativeSized)   | Allows assertions about the relative size of a span.                    |
| [SpannedSubject.RubyText](https://developer.android.com/reference/kotlin/androidx/media3/test/utils/truth/SpannedSubject.RubyText)             | Allows assertions about a span's ruby text and its position.            |
| [SpannedSubject.Typefaced](https://developer.android.com/reference/kotlin/androidx/media3/test/utils/truth/SpannedSubject.Typefaced)           | Allows assertions about the typeface of a span.                         |
| [SpannedSubject.VoiceText](https://developer.android.com/reference/kotlin/androidx/media3/test/utils/truth/SpannedSubject.VoiceText)           | Allows assertions about a span's voice its position.                    |
| [SpannedSubject.WithSpanFlags](https://developer.android.com/reference/kotlin/androidx/media3/test/utils/truth/SpannedSubject.WithSpanFlags)   | Allows additional assertions to be made on the flags of matching spans. |

## Classes

|------------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| [SpannedSubject](https://developer.android.com/reference/kotlin/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. |