lightbulb_outline Please take our October 2018 developer survey. Start survey
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

MediaPlayer.NoDrmSchemeException(String detailMessage)

Inherited methods

Public constructors

MediaPlayer.NoDrmSchemeException

added in API level 26
public MediaPlayer.NoDrmSchemeException (String detailMessage)

Parameters
detailMessage String