belongs to Maven artifact androidx.media2:media2:1.0.0-alpha01

MediaPlayer2.NoDrmSchemeException

public static class MediaPlayer2.NoDrmSchemeException
extends MediaDrmException

java.lang.Object
   ↳ java.lang.Throwable
     ↳ java.lang.Exception
       ↳ android.media.MediaDrmException
         ↳ androidx.media2.MediaPlayer2.NoDrmSchemeException


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

Summary

Public constructors

MediaPlayer2.NoDrmSchemeException(String detailMessage)

Inherited methods

Public constructors

MediaPlayer2.NoDrmSchemeException

public MediaPlayer2.NoDrmSchemeException (String detailMessage)

Parameters
detailMessage String