Added in API level 26

OnDrmPreparedListener


interface OnDrmPreparedListener

Interface definition of a callback to notify the app when the DRM is ready for key request/response

Summary

Public methods
abstract Unit
onDrmPrepared(mp: MediaPlayer!, status: Int)

Called to notify the app that prepareDrm is finished and ready for key request/response

Public methods

onDrmPrepared

Added in API level 26
abstract fun onDrmPrepared(
    mp: MediaPlayer!,
    status: Int
): Unit

Called to notify the app that prepareDrm is finished and ready for key request/response