docs/doc/reference/com/google/android/exoplayer2/testutil/truth/SpannedSubject.RubyText.html
Package com.google.android.exoplayer2.testutil.truth
public static interfaceSpannedSubject.RubyText
Allows assertions about a span's ruby text and its position.
All Methods Instance Methods Abstract Methods | Modifier and Type | Method | Description |
| --- | --- | --- |
| SpannedSubject.AndSpanFlags | withTextAndPosition(String text, @com.google.android.exoplayer2.text.span.TextAnnotation.Position int position) |
Checks that at least one of the matched spans has the expected text.
|
-
[SpannedSubject.AndSpanFlags](SpannedSubject.AndSpanFlags.html "interface in com.google.android.exoplayer2.testutil.truth")withTextAndPosition([String](https://developer.android.com/reference/java/lang/String.html "class or interface in java.lang")text,
@com.google.android.exoplayer2.text.span.TextAnnotation.Position int position)
Checks that at least one of the matched spans has the expected text.
Parameters:text - The expected text.position - The expected position of the text.Returns:A SpannedSubject.WithSpanFlags object for optional additional assertions on the flags.