@Deprecated
public class MediaPresentationDescriptionLoadable
extends java.lang.Object
implements com.google.android.exoplayer.upstream.Loader.Loadable
Loader.Loadable responsible to request the
Media Presentation Description manifest and store it in a specified directory.| Constructor and Description |
|---|
MediaPresentationDescriptionLoadable(com.google.android.exoplayer.dash.mpd.MediaPresentationDescriptionParser mpdParser,
java.lang.String manifestUrl,
java.io.File downloadDirectory)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
void |
cancelLoad()
Deprecated.
|
java.io.File |
getManifestFile()
Deprecated.
Gets the manifest file with its absolute path.
|
com.google.android.exoplayer.dash.mpd.MediaPresentationDescription |
getResult()
Deprecated.
Gets the Media Presentation Description manifest object resulted from the request.
|
boolean |
isLoadCanceled()
Deprecated.
|
void |
load()
Deprecated.
|
public MediaPresentationDescriptionLoadable(@NonNull
com.google.android.exoplayer.dash.mpd.MediaPresentationDescriptionParser mpdParser,
@NonNull
java.lang.String manifestUrl,
@NonNull
java.io.File downloadDirectory)
@Nullable public com.google.android.exoplayer.dash.mpd.MediaPresentationDescription getResult()
public void cancelLoad()
cancelLoad in interface com.google.android.exoplayer.upstream.Loader.Loadablepublic boolean isLoadCanceled()
isLoadCanceled in interface com.google.android.exoplayer.upstream.Loader.Loadablepublic void load()
throws java.io.IOException,
java.lang.InterruptedException
load in interface com.google.android.exoplayer.upstream.Loader.Loadablejava.io.IOExceptionjava.lang.InterruptedExceptionpublic java.io.File getManifestFile()