DrmResult

class DrmResult

A Microsoft DRM_RESULT status code, as a PlayReady SOAP fault reports it.

A rejected license request comes back with nothing but a hexadecimal status code, so this maps it to the identifier Microsoft publishes for it. message is derived mechanically from that identifier rather than being a curated description — it says what the code is called, which is the part a caller can act on or search for.

The table is held as a compact string and parsed once, rather than as 884 enum constants that would sit in the published ABI for the sake of a lookup keyed on a wire value.

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val code: Int
Link copied to clipboard

The identifier rendered as prose: DRM_E_INVALID_LICENSE becomes "invalid license".

Link copied to clipboard

Microsoft's identifier, such as DRM_E_INVALID_LICENSE.

Functions

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String