MediaDrmResetException | API reference | Android Developers (original) (raw)
open class MediaDrmResetException : IllegalStateException, MediaDrmThrowable
kotlin.Any | ||||
---|---|---|---|---|
↳ | kotlin.Throwable | |||
↳ | java.lang.Exception | |||
↳ | java.lang.RuntimeException | |||
↳ | java.lang.IllegalStateException | |||
↳ |
This exception is thrown when the MediaDrm instance has become unusable due to a restart of the mediaserver process. To continue, the app must release the MediaDrm object, then create and initialize a new one.
Summary
Public constructors |
---|
MediaDrmResetException(detailMessage: String!) |
Inherited functions |
---|
From class MediaDrmThrowable Int getErrorContext() Returns MediaDrm plugin vendor defined error context associated with this MediaDrmThrowable. Please consult the MediaDrm plugin vendor for details on the error context. Int getOemError() Returns OEM or SOC specific error code associated with this MediaDrmThrowable. Please consult the MediaDrm plugin, chip, or device vendor for details on the error code. Int getVendorError() Returns MediaDrm plugin vendor defined error code associated with this MediaDrmThrowable. Please consult the MediaDrm plugin vendor for details on the error code. |
Public constructors
MediaDrmResetException
MediaDrmResetException(detailMessage: String!)
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2025-02-10 UTC.