ByteArrayDataSource.UriResolver


public interface ByteArrayDataSource.UriResolver


Functional interface to resolve from Uri to byte[].

Summary

Public methods

abstract byte[]
resolve(Uri uri)

Resolves a Uri to a byte[].

Public methods

resolve

abstract byte[] resolve(Uri uri)

Resolves a Uri to a byte[].

Called during open from a loading thread, so can do blocking work.

Returns
byte[]

The resolved byte array.

Throws
java.io.IOException

if the provided URI is not recognized, or an error occurs during resolution.