-
- All Implemented Interfaces:
-
com.google.android.exoplayer2.upstream.Loader.Loadable
public class MediaPresentationDescriptionLoadable implements Loader.Loadable
A Loader.Loadable responsible to request the Media Presentation Description manifest and store it in a specified directory.
-
-
Field Summary
Fields Modifier and Type Field Description public final static String
DEFAULT_MPD_NAME
private File
manifestFile
-
Constructor Summary
Constructors Constructor Description MediaPresentationDescriptionLoadable(DashManifestParser mpdParser, String manifestUrl, File downloadDirectory)
-
Method Summary
Modifier and Type Method Description File
getManifestFile()
Gets the manifest file with its absolute path. DashManifest
getResult()
Gets the Media Presentation Description manifest object resulted from the request. void
cancelLoad()
void
load()
-
-
Method Detail
-
getManifestFile
File getManifestFile()
Gets the manifest file with its absolute path.
-
getResult
@Nullable() DashManifest getResult()
Gets the Media Presentation Description manifest object resulted from the request.
-
cancelLoad
void cancelLoad()
-
load
void load()
-
-
-
-