@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<@NonNull ?>

Loads the external media.

Public methods

load

abstract ListenableFuture<@NonNull ?> load(ExternalLoader.LoadRequest loadRequest)

Loads the external media.

Parameters
ExternalLoader.LoadRequest loadRequest

The load request.

Returns
ListenableFuture<@NonNull ?>

The ListenableFuture tracking the completion of the loading work.