public interface

ByteArrayDataSource.UriResolver

 androidx.media3.datasource.ByteArrayDataSource.UriResolver

Overview

Functional interface to resolve from to byte[].

Summary

Methods
public byte[]resolve(Uri uri)

Resolves a to a byte[].

Methods

public byte[] resolve(Uri uri)

Resolves a to a byte[].

Called during DataSource.open(DataSpec) from a loading thread, so can do blocking work.

Returns:

The resolved byte array.