DownloadHelper.Callback


public interface DownloadHelper.Callback


A callback to be notified when the DownloadHelper is prepared.

Summary

Public methods

abstract void

Called when preparation fails.

abstract void

Called when preparation completes.

Public methods

onPrepareError

abstract void onPrepareError(DownloadHelper helper, IOException e)

Called when preparation fails.

Parameters
DownloadHelper helper

The reporting DownloadHelper.

IOException e

The error.

onPrepared

abstract void onPrepared(DownloadHelper helper)

Called when preparation completes.

Parameters
DownloadHelper helper

The reporting DownloadHelper.