public interface

SpannedSubject.Typefaced

 androidx.media3.test.utils.truth.SpannedSubject.Typefaced

Overview

Allows assertions about the typeface of a span.

Summary

Methods
public SpannedSubject.AndSpanFlagswithFamily(java.lang.String fontFamily)

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

Methods

public SpannedSubject.AndSpanFlags withFamily(java.lang.String fontFamily)

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

Parameters:

fontFamily: The expected font family.

Returns:

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