Package com.google.android.exoplayer2
Class MediaItem.PlaybackProperties
- java.lang.Object
-
- com.google.android.exoplayer2.MediaItem.PlaybackProperties
-
-
Field Summary
Fields 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
OptionalMediaItem.DrmConfiguration
for the media.String
mimeType
The optional MIME type of the item, ornull
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
TheUri
.
-
-
-
Field Detail
-
mimeType
@Nullable public final String mimeType
The optional MIME type of the item, ornull
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.
-
drmConfiguration
@Nullable public final MediaItem.DrmConfiguration drmConfiguration
OptionalMediaItem.DrmConfiguration
for the media.
-
adsConfiguration
@Nullable public final MediaItem.AdsConfiguration adsConfiguration
Optional ads configuration.
-
streamKeys
public final List<StreamKey> streamKeys
Optional stream keys by which the manifest is filtered.
-
customCacheKey
@Nullable public final String customCacheKey
Optional custom cache key (only used for progressive streams).
-
subtitles
public final List<MediaItem.Subtitle> subtitles
Optional subtitles to be sideloaded.
-
tag
@Nullable public final Object tag
Optional tag for custom attributes. The tag for the media source which will be published in thecom.google.android.exoplayer2.Timeline
of the source ascom.google.android.exoplayer2.Timeline.Window#tag
.
-
-