public final class

DataSourceContractTest.TestResource

extends java.lang.Object

 java.lang.Object

↳androidx.media3.test.utils.DataSourceContractTest.TestResource

Overview

Information about a resource that can be used to test the DataSource instance.

Summary

Methods
public byte[]getExpectedBytes()

Returns the expected contents of this resource.

public java.lang.StringgetName()

Returns a human-readable name for the resource, for use in test failure messages.

public UrigetUri()

Returns the URI where the resource is available.

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

Methods

public java.lang.String getName()

Returns a human-readable name for the resource, for use in test failure messages.

public Uri getUri()

Returns the URI where the resource is available.

public byte[] getExpectedBytes()

Returns the expected contents of this resource.