public interface

DownloadHelper.Callback

 androidx.media3.exoplayer.offline.DownloadHelper.Callback

Overview

A callback to be notified when the DownloadHelper is prepared.

Summary

Methods
public voidonPrepared(DownloadHelper helper)

Called when preparation completes.

public voidonPrepareError(DownloadHelper helper, java.io.IOException e)

Called when preparation fails.

Methods

public void onPrepared(DownloadHelper helper)

Called when preparation completes.

Parameters:

helper: The reporting DownloadHelper.

public void onPrepareError(DownloadHelper helper, java.io.IOException e)

Called when preparation fails.

Parameters:

helper: The reporting DownloadHelper.
e: The error.