public interface

SpannedSubject.AndSpanFlags

 androidx.media3.test.utils.truth.SpannedSubject.AndSpanFlags

Overview

Allows additional assertions to be made on the flags of matching spans.

Identical to SpannedSubject.WithSpanFlags, but this should be returned from with...() methods while SpannedSubject.WithSpanFlags should be returned from has...() methods.

See Flag constants on for possible values.

Summary

Methods
public voidandFlags(int flags)

Checks that one of the matched spans has the expected flags.

Methods

public void andFlags(int flags)

Checks that one of the matched spans has the expected flags.

Parameters:

flags: The expected flags. See SPAN_* constants on for possible values.