public interface

SpannedSubject.EmphasizedText

 androidx.media3.test.utils.truth.SpannedSubject.EmphasizedText

Overview

Allows assertions about a span's text emphasis mark and its position.

Summary

Methods
public SpannedSubject.AndSpanFlagswithMarkAndPosition(int markShape, int markFill, int position)

Checks that at least one of the matched spans has the expected mark and position.

Methods

public SpannedSubject.AndSpanFlags withMarkAndPosition(int markShape, int markFill, int position)

Checks that at least one of the matched spans has the expected mark and position.

Parameters:

markShape: The expected mark shape.
markFill: The expected mark fill style.
position: The expected position of the mark.

Returns:

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