DownloadErrorCodes
public enum DownloadErrorCodes : Int, Error, LocalizedError
Download Error Codes
-
Indicates download has failed.
Declaration
Swift
case DOWNLOAD_FAILURE = 0x0301 -
Indicates that there is no task found for the given task id.
Declaration
Swift
case DOWNLOAD_TASK_NOT_FOUND = 0x0302 -
Indicates the creating download task retry has failed.
Declaration
Swift
case RETRY_FAILURE = 0x0303 -
Indicates successive key fetch within same session not possible due to limitations with ContentKeySession.
Declaration
Swift
case DRM_PERSISTENCE_FETCH_NOT_POSSIBLE = 0x0304 -
Indicates that the task doesn’t contain the necessary metadata to retry the download. Purge the download task if this error received.
Declaration
Swift
case DOWNLOAD_TASK_METADATA_NOT_FOUND = 0x0305