Join us on the livestream at Android Dev Summit on 7-8 November 2018, starting at 10AM PDT!

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