FailOnCloseDataSink.Factory
Artifact: androidx.media3:media3-test-utils
public final class FailOnCloseDataSink.Factory implements DataSink.Factory
Factory to create a FailOnCloseDataSink.
Summary
Public constructors |
|---|
Factory(Cache cache, AtomicBoolean failOnClose)Creates an instance. |
Public constructors
Factory
public Factory(Cache cache, AtomicBoolean failOnClose)
Creates an instance.
| Parameters | |
|---|---|
Cache cache |
The cache to write to when not in fail-on-close mode. |
AtomicBoolean failOnClose |
An |