ContentProtectionError
public protocol ContentProtectionError : THEOError
An error related to content protection.
-
The URL that was used in the request.
Remark
- Only available when
THEOError.code
isTHEOErrorCode.CONTENT_PROTECTION_CERTIFICATE_ERROR
orTHEOErrorCode.CONTENT_PROTECTION_LICENSE_ERROR
.
Declaration
Swift
var url: String? { get }
- Only available when
-
The status code from the HTTP response.
Remark
- Only available when
THEOError.code
isTHEOErrorCode.CONTENT_PROTECTION_CERTIFICATE_ERROR
orTHEOErrorCode.CONTENT_PROTECTION_LICENSE_ERROR
.
Declaration
Swift
var status: Int? { get }
- Only available when
-
The status text from the HTTP response.
Remark
- Only available when
THEOError.code
isTHEOErrorCode.CONTENT_PROTECTION_CERTIFICATE_ERROR
orTHEOErrorCode.CONTENT_PROTECTION_LICENSE_ERROR
.
Declaration
Swift
var statusText: String? { get }
- Only available when
-
The body contained in the HTTP response.
Remark
- Only available when
THEOError.code
isTHEOErrorCode.CONTENT_PROTECTION_CERTIFICATE_ERROR
orTHEOErrorCode.CONTENT_PROTECTION_LICENSE_ERROR
.
Declaration
Swift
var response: String? { get }
- Only available when
-
The internal error code from the CDM.
Remark
- Only available when
THEOError.code
isTHEOErrorCode.CONTENT_PROTECTION_INTERNAL_ERROR
.
Declaration
Swift
var systemCode: Int? { get }
- Only available when