Added in API level 26
OnDrmInfoListener
interface OnDrmInfoListener
android.media.MediaPlayer.OnDrmInfoListener |
Interface definition of a callback to be invoked when the DRM info becomes available
Summary
Public methods | |
---|---|
abstract Unit |
onDrmInfo(mp: MediaPlayer!, drmInfo: MediaPlayer.DrmInfo!) Called to indicate DRM info is available |
Public methods
onDrmInfo
Added in API level 26
abstract fun onDrmInfo(
mp: MediaPlayer!,
drmInfo: MediaPlayer.DrmInfo!
): Unit
Called to indicate DRM info is available
Parameters | |
---|---|
mp |
MediaPlayer!: the MediaPlayer associated with this callback |
drmInfo |
MediaPlayer.DrmInfo!: DRM info of the source including PSSH, and subset of crypto schemes supported by this device |