public final class

FakeSuitableOutputChecker.Builder

extends java.lang.Object

 java.lang.Object

↳androidx.media3.test.utils.FakeSuitableOutputChecker.Builder

Overview

Builder for FakeSuitableOutputChecker instance.

Summary

Constructors
publicBuilder()

Methods
public FakeSuitableOutputCheckerbuild()

Builds a FakeSuitableOutputChecker with the builder's current values.

public FakeSuitableOutputChecker.BuildersetIsSuitableExternalOutputAvailable(boolean isSuitableOutputAvailable)

Sets the initial value to be returned from SuitableOutputChecker.isSelectedOutputSuitableForPlayback().

from java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructors

public Builder()

Methods

public FakeSuitableOutputChecker.Builder setIsSuitableExternalOutputAvailable(boolean isSuitableOutputAvailable)

Sets the initial value to be returned from SuitableOutputChecker.isSelectedOutputSuitableForPlayback(). The default value is false.

Builds a FakeSuitableOutputChecker with the builder's current values.

Returns:

The built FakeSuitableOutputChecker.