Added in API level 26

MediaPlayer.NoDrmSchemeException


public static final class MediaPlayer.NoDrmSchemeException
extends MediaDrmException

java.lang.Object
   ↳ java.lang.Throwable
     ↳ java.lang.Exception
       ↳ android.media.MediaDrmException
         ↳ android.media.MediaPlayer.NoDrmSchemeException


Thrown when a DRM method is called before preparing a DRM scheme through prepareDrm(). Extends MediaDrm.MediaDrmException

Summary

Public constructors

NoDrmSchemeException(String detailMessage)

Inherited methods

Public constructors

NoDrmSchemeException

Added in API level 26
public NoDrmSchemeException (String detailMessage)

Parameters
detailMessage String