PlayerError
@objc
public enum PlayerError : Int, Error
Enum to manage the errors on the player.
- UnknownAssetFormat: For assets with a incorrect format.
- DownloadFailed: When the asset can’t download.
- UnknownError: For unknown errors.
-
UnknownAssetFormat: For assets with a incorrect format.
Declaration
Swift
case unknownAssetFormat = 0
-
DownloadFailed: When the asset can’t download.
Declaration
Swift
case downloadFailed
-
UnknownError: For unknown errors.
Declaration
Swift
case unknownError
-
PlayerItemFailedToPlayToEnd: Asset failed to finish playback
Declaration
Swift
case playerItemFailedToPlayToEnd
-
PlayerItemErrorLog: New AVPlayerItemErrorLog
Declaration
Swift
case playerItemErrorLog
-
InvalidLicense: Invalid or Expired License
Declaration
Swift
case invalidLicense
-
No Network Connection
Declaration
Swift
case networkConnectionError
-
Invalid CKC
Declaration
Swift
case drmCKCFailed
-
Invalid Certificate
Declaration
Swift
case drmInvalidCertificate
-
Invalid Asset Id
Declaration
Swift
case drmInvalidAssetId
-
Invalid CKC from KSM
Declaration
Swift
case drmNotValidCKCFromKSM
-
No data from loading request
Declaration
Swift
case drmNoData
-
No data from loading request
Declaration
Swift
case dvrNoDuration
-
The error’s description.
Declaration
Swift
public var description: String { get }