DownloadHelper.Callback


interface DownloadHelper.Callback


A callback to be notified when the DownloadHelper is prepared.

Summary

Public functions

Unit

Called when preparation fails.

Unit

Called when preparation completes.

Public functions

onPrepareError

fun onPrepareError(helper: DownloadHelper!, e: IOException!): Unit

Called when preparation fails.

Parameters
helper: DownloadHelper!

The reporting DownloadHelper.

e: IOException!

The error.

onPrepared

fun onPrepared(helper: DownloadHelper!): Unit

Called when preparation completes.

Parameters
helper: DownloadHelper!

The reporting DownloadHelper.