Class CastlabsMediaDrm.CastlabsMediaDrmException

java.lang.Object
java.lang.Throwable
java.lang.Exception
com.castlabs.android.drm.CastlabsMediaDrm.CastlabsMediaDrmException
All Implemented Interfaces:
Serializable
Enclosing class:
CastlabsMediaDrm

public static class CastlabsMediaDrm.CastlabsMediaDrmException extends Exception
Exception thrown when operations on the MediaDrm instance fail.
See Also:
  • Field Details

    • OPEN_SESSION_FAILED

      public static final int OPEN_SESSION_FAILED
      Indicates that opening a DRM session failed.
      See Also:
    • type

      public final int type
      The type of the exception, indicating the specific error that occurred.
  • Constructor Details

    • CastlabsMediaDrmException

      public CastlabsMediaDrmException(int type, @Nullable Throwable cause)
      Constructs a new CastlabsMediaDrmException with the specified type and cause.
      Parameters:
      type - The type of the exception
      cause - The cause of the exception, or null if none