public interface

SpannedSubject.VoiceText

 androidx.media3.test.utils.truth.SpannedSubject.VoiceText

Overview

Allows assertions about a span's voice its position.

Summary

Methods
public SpannedSubject.AndSpanFlagswithName(java.lang.String name)

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

Methods

public SpannedSubject.AndSpanFlags withName(java.lang.String name)

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

Parameters:

name: The expected name of the voice.

Returns:

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