public final class

FakeDataSet.FakeData.Segment

extends java.lang.Object

 java.lang.Object

↳androidx.media3.test.utils.FakeDataSet.FakeData.Segment

Overview

A segment of FakeDataSet.FakeData. May consist of an action or exception instead of actual data.

Summary

Fields
public final java.lang.Runnableaction

public final longbyteOffset

public intbytesRead

public final byte[]data

public final java.io.IOExceptionexception

public booleanexceptionCleared

public booleanexceptionThrown

public final intlength

Methods
public booleanisActionSegment()

public booleanisErrorSegment()

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

Fields

public final java.io.IOException exception

public final byte[] data

public final int length

public final long byteOffset

public final java.lang.Runnable action

public boolean exceptionThrown

public boolean exceptionCleared

public int bytesRead

Methods

public boolean isErrorSegment()

public boolean isActionSegment()