ContentProtectionError
public protocol ContentProtectionError : THEOError
An error related to content protection.
-
The URL that was used in the request.
Remark
- Only available when
THEOError.codeisTHEOErrorCode.CONTENT_PROTECTION_CERTIFICATE_ERRORorTHEOErrorCode.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.codeisTHEOErrorCode.CONTENT_PROTECTION_CERTIFICATE_ERRORorTHEOErrorCode.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.codeisTHEOErrorCode.CONTENT_PROTECTION_CERTIFICATE_ERRORorTHEOErrorCode.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.codeisTHEOErrorCode.CONTENT_PROTECTION_CERTIFICATE_ERRORorTHEOErrorCode.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.codeisTHEOErrorCode.CONTENT_PROTECTION_INTERNAL_ERROR.
Declaration
Swift
var systemCode: Int? { get } - Only available when
-
keySystemDefault implementationThe key system that was in use when the error occurred.
Remark
nilif the key system is unknown.
Default Implementation
The key system that was in use when the error occurred, or
nilif it is unknown.Declaration
Swift
var keySystem: KeySystemId? { get }