Added in API level 26

MediaCasException

open class MediaCasException : Exception
kotlin.Any
   ↳ kotlin.Throwable
   ↳ java.lang.Exception
   ↳ android.media.MediaCasException

Base class for MediaCas exceptions

Summary

Nested classes

Exception thrown when the provisioning server or key server denies a license for a device.

Exception thrown when an operation on a MediaCas object is attempted and hardware resources are not sufficient to allocate, due to client's lower priority.

Exception thrown when an operation on a MediaCas object is attempted before it's provisioned successfully.

Exception thrown when an operation on a MediaCas object is attempted and hardware resources are not available, due to being in use.

Exception thrown when an attempt is made to construct a MediaCas object using a CA_system_id that is not supported by the device