ContentProtectionError_Objc
@objc(THEOplayerContentProtectionError)
public protocol ContentProtectionError_Objc : 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. - Supports integer format.
Declaration
Swift
@objc(status) var status_Objc: NSNumber? { 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. - Supports integer format.
Declaration
Swift
@objc(systemCode) var systemCode_Objc: NSNumber? { get } - Only available when
ContentProtectionError_Objc Protocol Reference