# SpannedSubject.AbsoluteSized

Artifact: [androidx.media3:media3-test-utils](https://developer.android.com/jetpack/androidx/releases/media3) [View Source](https://cs.android.com/search?q=file:androidx/media3/test/utils/truth/SpannedSubject.java+class:androidx.media3.test.utils.truth.SpannedSubject.AbsoluteSized)

*** ** * ** ***


```
public interface SpannedSubject.AbsoluteSized
```

<br />

*** ** * ** ***

Allows assertions about the absolute size of a span.

## Summary

| ### Public methods |
|---|---|
| `abstract https://developer.android.com/reference/androidx/media3/test/utils/truth/SpannedSubject.AndSpanFlags` | `https://developer.android.com/reference/androidx/media3/test/utils/truth/SpannedSubject.AbsoluteSized#withAbsoluteSize(int)(int size)` Checks that at least one of the matched spans has the expected `size`. |

## Public methods

### withAbsoluteSize

```
abstract SpannedSubject.AndSpanFlags withAbsoluteSize(int size)
```

Checks that at least one of the matched spans has the expected `size`.

| Parameters |
|---|---|
| `int size` | The expected size. |

| Returns |
|---|---|
| `https://developer.android.com/reference/androidx/media3/test/utils/truth/SpannedSubject.AndSpanFlags` | A `https://developer.android.com/reference/androidx/media3/test/utils/truth/SpannedSubject.WithSpanFlags` object for optional additional assertions on the flags. |