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