public interface

SpannedSubject.Aligned

 androidx.media3.test.utils.truth.SpannedSubject.Aligned

Overview

Allows assertions about the alignment of a span.

Summary

Methods
public SpannedSubject.AndSpanFlagswithAlignment(Alignment alignment)

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

Methods

public SpannedSubject.AndSpanFlags withAlignment(Alignment alignment)

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

Parameters:

alignment: The expected alignment.

Returns:

A SpannedSubject.WithSpanFlags object for optional additional assertions on the flags.