Modifier and Type | Field | Description |
---|---|---|
MediaItem.AdsConfiguration |
adsConfiguration |
Optional ads configuration.
|
String |
customCacheKey |
Optional custom cache key (only used for progressive streams).
|
MediaItem.DrmConfiguration |
drmConfiguration |
Optional
MediaItem.DrmConfiguration for the media. |
String |
mimeType |
The optional MIME type of the item, or
null if unspecified. |
List<StreamKey> |
streamKeys |
Optional stream keys by which the manifest is filtered.
|
List<MediaItem.Subtitle> |
subtitles |
Optional subtitles to be sideloaded.
|
Object |
tag |
Optional tag for custom attributes.
|
Uri |
uri |
The
Uri . |
@Nullable public final String mimeType
null
if unspecified.
The MIME type can be used to disambiguate media items that have a URI which does not allow to infer the actual media type.
@Nullable public final MediaItem.DrmConfiguration drmConfiguration
MediaItem.DrmConfiguration
for the media.@Nullable public final MediaItem.AdsConfiguration adsConfiguration
public final List<StreamKey> streamKeys
@Nullable public final String customCacheKey
public final List<MediaItem.Subtitle> subtitles
@Nullable public final Object tag
com.google.android.exoplayer2.Timeline
of the source as
com.google.android.exoplayer2.Timeline.Window#tag
.