mirror of
https://github.com/androidx/media.git
synced 2025-05-21 23:56:32 +08:00
Document that DrmSessionManagerProvider
doesn't call DSM#prepare()
#minor-release PiperOrigin-RevId: 355159635
This commit is contained in:
parent
b1920f3a78
commit
0b34cabca0
@ -23,6 +23,12 @@ import com.google.android.exoplayer2.MediaItem;
|
||||
*/
|
||||
public interface DrmSessionManagerProvider {
|
||||
|
||||
/** Returns a {@link DrmSessionManager} for the given media item. */
|
||||
/**
|
||||
* Returns a {@link DrmSessionManager} for the given media item.
|
||||
*
|
||||
* <p>The caller is responsible for {@link DrmSessionManager#prepare() preparing} the {@link
|
||||
* DrmSessionManager} before use, and subsequently {@link DrmSessionManager#release() releasing}
|
||||
* it.
|
||||
*/
|
||||
DrmSessionManager get(MediaItem mediaItem);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user