downloadOnly

open fun <Y : Target<File>?> downloadOnly(target: Y): Y

Loads the original unmodified data into the cache and calls the given Target with the cache File.

Return

The given Target.

Deprecated

Use downloadOnly and into.

Parameters

target

The Target that will receive the cache File when the load completes

<Y>

The type of Target.


open fun downloadOnly(width: Int, height: Int): FutureTarget<File>

Loads the original unmodified data into the cache and returns a that can be used to retrieve the cache File containing the data.

Return

A java.util.concurrent.Future that can be used to retrieve the cache File containing the data.

Deprecated

Use downloadOnly and submit.

Parameters

width

The width in pixels to use to fetch the data.

height

The height in pixels to use to fetch the data.