DrmSessionManagerProvider


@UnstableApi
public interface DrmSessionManagerProvider


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

Summary

Public methods

abstract DrmSessionManager
get(MediaItem mediaItem)

Returns a DrmSessionManager for the given media item.

Public methods

get

abstract DrmSessionManager get(MediaItem mediaItem)

Returns a DrmSessionManager for the given media item.

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