DrmSessionManagerProvider


@UnstableApi
interface DrmSessionManagerProvider


A provider to obtain a DrmSessionManager suitable for playing the content described by a MediaItem.

Summary

Public functions

DrmSessionManager!
get(mediaItem: MediaItem!)

Returns a DrmSessionManager for the given media item.

Public functions

get

fun get(mediaItem: MediaItem!): DrmSessionManager!

Returns a DrmSessionManager for the given media item.

The caller is responsible for preparing the before use, and subsequently releasing it.