@UnstableApi
public interface ExternalLoader


An object for loading media outside of ExoPlayer's loading mechanism.

Summary

Nested types

public final class ExternalLoader.LoadRequest

A data class providing information associated with the load event.

Public methods

abstract ListenableFuture<Object>

Loads the external media.

Public methods

load

abstract ListenableFuture<Objectload(ExternalLoader.LoadRequest loadRequest)

Loads the external media.

Parameters
ExternalLoader.LoadRequest loadRequest

The load request.

Returns
ListenableFuture<Object>

The ListenableFuture tracking the completion of the loading work.