Interface DrmSessionManagerProvider
-
- All Known Implementing Classes:
DefaultDrmSessionManagerProvider
@Deprecated public interface DrmSessionManagerProvider
Deprecated.com.google.android.exoplayer2 is deprecated. Please migrate to androidx.media3 (which contains the same ExoPlayer code). See the migration guide for more details, including a script to help with the migration.A provider to obtain aDrmSessionManager
suitable for playing the content described by aMediaItem
.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description DrmSessionManager
get(MediaItem mediaItem)
Deprecated.Returns aDrmSessionManager
for the given media item.
-
-
-
Method Detail
-
get
DrmSessionManager get(MediaItem mediaItem)
Deprecated.Returns aDrmSessionManager
for the given media item.The caller is responsible for
preparing
theDrmSessionManager
before use, and subsequentlyreleasing
it.
-
-