public interface

SpannedSubject.WithSpanFlags

 androidx.media3.test.utils.truth.SpannedSubject.WithSpanFlags

Overview

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

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

Summary

Methods
public voidwithFlags(int flags)

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

Methods

public void withFlags(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.