Added in API level 23

MediaDrmResetException


open class MediaDrmResetException : IllegalStateException, MediaDrmThrowable

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
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

Added in API level 23
MediaDrmResetException(detailMessage: String!)