belongs to Maven artifact androidx.media:media:1.0.0-alpha1

MediaPlayer2.NoDrmSchemeException

public static class MediaPlayer2.NoDrmSchemeException
extends MediaDrmException

java.lang.Object
   ↳ java.lang.Throwable
     ↳ java.lang.Exception
       ↳ android.media.MediaDrmException
         ↳ androidx.media.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

MediaPlayer2.NoDrmSchemeException (String detailMessage)

Parameters
detailMessage String